Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.15.0-160 /
scripts /
dtc /
[ HOME SHELL ]
Name
Size
Permission
Action
include-prefixes
[ DIR ]
drwxr-xr-x
libfdt
[ DIR ]
drwxr-xr-x
.gitignore
57
B
-rw-r--r--
Makefile
1.64
KB
-rw-r--r--
checks.c
50.31
KB
-rw-r--r--
data.c
4.51
KB
-rw-r--r--
dt_to_config
40.81
KB
-rwxr-xr-x
dtc-lexer.l
6.14
KB
-rw-r--r--
dtc-parser.y
10.56
KB
-rw-r--r--
dtc.c
9.31
KB
-rw-r--r--
dtc.h
8.91
KB
-rw-r--r--
dtx_diff
8.86
KB
-rwxr-xr-x
fdtget.c
7.92
KB
-rw-r--r--
fdtoverlay.c
4.24
KB
-rw-r--r--
fdtput.c
7.69
KB
-rw-r--r--
flattree.c
21.46
KB
-rw-r--r--
fstree.c
1.52
KB
-rw-r--r--
livetree.c
20.31
KB
-rw-r--r--
srcpos.c
8.57
KB
-rw-r--r--
srcpos.h
2.88
KB
-rw-r--r--
treesource.c
6.83
KB
-rw-r--r--
update-dtc-source.sh
2.52
KB
-rwxr-xr-x
util.c
8.5
KB
-rw-r--r--
util.h
6.96
KB
-rw-r--r--
version_gen.h
42
B
-rw-r--r--
yamltree.c
6.21
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fstree.c
// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) Copyright David Gibson <dwg@au1.ibm.com>, IBM Corporation. 2005. */ #include "dtc.h" #include <dirent.h> #include <sys/stat.h> static struct node *read_fstree(const char *dirname) { DIR *d; struct dirent *de; struct stat st; struct node *tree; d = opendir(dirname); if (!d) die("Couldn't opendir() \"%s\": %s\n", dirname, strerror(errno)); tree = build_node(NULL, NULL, NULL); while ((de = readdir(d)) != NULL) { char *tmpname; if (streq(de->d_name, ".") || streq(de->d_name, "..")) continue; tmpname = join_path(dirname, de->d_name); if (stat(tmpname, &st) < 0) die("stat(%s): %s\n", tmpname, strerror(errno)); if (S_ISREG(st.st_mode)) { struct property *prop; FILE *pfile; pfile = fopen(tmpname, "rb"); if (! pfile) { fprintf(stderr, "WARNING: Cannot open %s: %s\n", tmpname, strerror(errno)); } else { prop = build_property(xstrdup(de->d_name), data_copy_file(pfile, st.st_size), NULL); add_property(tree, prop); fclose(pfile); } } else if (S_ISDIR(st.st_mode)) { struct node *newchild; newchild = read_fstree(tmpname); newchild = name_node(newchild, xstrdup(de->d_name)); add_child(tree, newchild); } free(tmpname); } closedir(d); return tree; } struct dt_info *dt_from_fs(const char *dirname) { struct node *tree; tree = read_fstree(dirname); tree = name_node(tree, ""); return build_dt_info(DTSF_V1, NULL, tree, guess_boot_cpuid(tree)); }
Close