Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.117.10.207
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.4.0-1101-aws /
scripts /
mod /
[ HOME SHELL ]
Name
Size
Permission
Action
.devicetable-offsets.s.cmd
7.26
KB
-rw-r--r--
.elfconfig.h.cmd
104
B
-rw-r--r--
.empty.o.cmd
3.38
KB
-rw-r--r--
.file2alias.o.cmd
4.74
KB
-rw-r--r--
.mk_elfconfig.cmd
3.65
KB
-rw-r--r--
.modpost.cmd
131
B
-rw-r--r--
.modpost.o.cmd
5.7
KB
-rw-r--r--
.sumversion.o.cmd
5.7
KB
-rw-r--r--
Makefile
826
B
-rw-r--r--
devicetable-offsets.c
6.49
KB
-rw-r--r--
devicetable-offsets.h
14.11
KB
-rw-r--r--
devicetable-offsets.s
59.57
KB
-rw-r--r--
elfconfig.h
136
B
-rw-r--r--
empty.c
54
B
-rw-r--r--
empty.o
936
B
-rw-r--r--
file2alias.c
42.2
KB
-rw-r--r--
file2alias.o
40.81
KB
-rw-r--r--
mk_elfconfig
8.38
KB
-rwxr-xr-x
mk_elfconfig.c
1.24
KB
-rw-r--r--
modpost
86.84
KB
-rwxr-xr-x
modpost.c
69.82
KB
-rw-r--r--
modpost.h
5.11
KB
-rw-r--r--
modpost.o
64.36
KB
-rw-r--r--
sumversion.c
11.42
KB
-rw-r--r--
sumversion.o
10.3
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : mk_elfconfig.c
// SPDX-License-Identifier: GPL-2.0 #include <stdio.h> #include <stdlib.h> #include <string.h> #include <elf.h> int main(int argc, char **argv) { unsigned char ei[EI_NIDENT]; union { short s; char c[2]; } endian_test; if (fread(ei, 1, EI_NIDENT, stdin) != EI_NIDENT) { fprintf(stderr, "Error: input truncated\n"); return 1; } if (memcmp(ei, ELFMAG, SELFMAG) != 0) { fprintf(stderr, "Error: not ELF\n"); return 1; } switch (ei[EI_CLASS]) { case ELFCLASS32: printf("#define KERNEL_ELFCLASS ELFCLASS32\n"); break; case ELFCLASS64: printf("#define KERNEL_ELFCLASS ELFCLASS64\n"); break; default: exit(1); } switch (ei[EI_DATA]) { case ELFDATA2LSB: printf("#define KERNEL_ELFDATA ELFDATA2LSB\n"); break; case ELFDATA2MSB: printf("#define KERNEL_ELFDATA ELFDATA2MSB\n"); break; default: exit(1); } if (sizeof(unsigned long) == 4) { printf("#define HOST_ELFCLASS ELFCLASS32\n"); } else if (sizeof(unsigned long) == 8) { printf("#define HOST_ELFCLASS ELFCLASS64\n"); } endian_test.s = 0x0102; if (memcmp(endian_test.c, "\x01\x02", 2) == 0) printf("#define HOST_ELFDATA ELFDATA2MSB\n"); else if (memcmp(endian_test.c, "\x02\x01", 2) == 0) printf("#define HOST_ELFDATA ELFDATA2LSB\n"); else exit(1); return 0; }
Close