Skip to content

Instantly share code, notes, and snippets.

View radwany2020's full-sized avatar

Radwan Kather radwany2020

View GitHub Profile
@radwany2020
radwany2020 / N-02E_diag.c
Created August 12, 2022 01:24 — forked from tewilove/N-02E_diag.c
Enables or disables N-02E diag interface without root.
#include <dlfcn.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
typedef int (*nv_cmd_remote_t)(int, int, void *);
int main(int argc, char *argv[])
{