Linux anchor 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
Apache/2.4.18 (Ubuntu)
Server IP : 10.10.100.4 & Your IP : 216.73.217.150
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
linux-headers-4.4.0-210-generic /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
basic
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
coccinelle
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
dtc
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
gdb
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
genksyms
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
kconfig
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
ksymoops
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
mod
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
package
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
selinux
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
tracing
[ DIR ]
drwxr-xr-x
2021-04-21 07:33
.asn1_compiler.cmd
3.18
KB
-rw-r--r--
2021-04-16 13:37
.conmakehash.cmd
2.33
KB
-rw-r--r--
2021-04-16 13:37
.extract-cert.cmd
4.39
KB
-rw-r--r--
2021-04-16 13:37
.insert-sys-cert.cmd
3.88
KB
-rw-r--r--
2021-04-16 13:37
.kallsyms.cmd
2.32
KB
-rw-r--r--
2021-04-16 13:37
.recordmcount.cmd
3.31
KB
-rw-r--r--
2021-04-16 13:37
.sign-file.cmd
5.01
KB
-rw-r--r--
2021-04-16 13:37
.sortextable.cmd
3.48
KB
-rw-r--r--
2021-04-16 13:37
Kbuild.include
13.37
KB
-rw-r--r--
2021-04-16 11:57
Lindent
496
B
-rwxr-xr-x
2016-01-11 00:01
Makefile
2.03
KB
-rw-r--r--
2021-04-16 11:57
Makefile.asm-generic
683
B
-rw-r--r--
2016-01-11 00:01
Makefile.build
17.16
KB
-rw-r--r--
2021-04-16 11:57
Makefile.clean
2.83
KB
-rw-r--r--
2016-01-11 00:01
Makefile.dtbinst
1.41
KB
-rw-r--r--
2016-01-11 00:01
Makefile.extrawarn
2.54
KB
-rw-r--r--
2021-04-16 11:57
Makefile.fwinst
2.01
KB
-rw-r--r--
2016-01-11 00:01
Makefile.headersinst
4.65
KB
-rw-r--r--
2016-01-11 00:01
Makefile.help
68
B
-rw-r--r--
2016-01-11 00:01
Makefile.host
4.51
KB
-rw-r--r--
2016-01-11 00:01
Makefile.kasan
976
B
-rw-r--r--
2021-04-16 11:57
Makefile.lib
14.9
KB
-rw-r--r--
2021-04-16 11:57
Makefile.modbuiltin
1.78
KB
-rw-r--r--
2016-01-11 00:01
Makefile.modinst
1.43
KB
-rw-r--r--
2021-04-16 11:57
Makefile.modpost
5.25
KB
-rw-r--r--
2021-04-16 11:57
Makefile.modsign
1005
B
-rw-r--r--
2016-01-11 00:01
analyze_suspend.py
117.57
KB
-rwxr-xr-x
2016-01-11 00:01
asn1_compiler
27.3
KB
-rwxr-xr-x
2021-04-16 13:37
asn1_compiler.c
35.54
KB
-rw-r--r--
2016-01-11 00:01
bloat-o-meter
1.9
KB
-rwxr-xr-x
2021-04-16 11:57
bootgraph.pl
6.28
KB
-rwxr-xr-x
2016-01-11 00:01
check-lc_ctype.c
201
B
-rw-r--r--
2016-01-11 00:01
check_extable.sh
4.9
KB
-rwxr-xr-x
2016-01-11 00:01
checkincludes.pl
1.77
KB
-rwxr-xr-x
2016-01-11 00:01
checkkconfigsymbols.py
11.44
KB
-rwxr-xr-x
2016-01-11 00:01
checkpatch.pl
169.77
KB
-rwxr-xr-x
2021-04-16 11:57
checkstack.pl
5.39
KB
-rwxr-xr-x
2021-04-16 11:57
checksyscalls.sh
5.62
KB
-rwxr-xr-x
2016-01-11 00:01
checkversion.pl
1.86
KB
-rwxr-xr-x
2016-01-11 00:01
cleanfile
3.41
KB
-rwxr-xr-x
2016-01-11 00:01
cleanpatch
5.01
KB
-rwxr-xr-x
2016-01-11 00:01
coccicheck
4.66
KB
-rwxr-xr-x
2016-01-11 00:01
config
4.6
KB
-rwxr-xr-x
2021-04-16 11:57
conmakehash
13.2
KB
-rwxr-xr-x
2021-04-16 13:37
conmakehash.c
5.98
KB
-rw-r--r--
2016-01-11 00:01
decode_stacktrace.sh
3.15
KB
-rwxr-xr-x
2021-04-16 11:57
decodecode
2.15
KB
-rwxr-xr-x
2021-04-16 11:57
depmod.sh
1.9
KB
-rwxr-xr-x
2021-04-16 11:57
diffconfig
3.68
KB
-rwxr-xr-x
2016-01-11 00:01
docproc.c
13.8
KB
-rw-r--r--
2016-01-11 00:01
export_report.pl
4.53
KB
-rwxr-xr-x
2016-01-11 00:01
extract-cert
14.27
KB
-rwxr-xr-x
2021-04-16 13:37
extract-cert.c
3.46
KB
-rw-r--r--
2016-01-11 00:01
extract-ikconfig
1.69
KB
-rwxr-xr-x
2016-01-11 00:01
extract-module-sig.pl
3.61
KB
-rwxr-xr-x
2016-01-11 00:01
extract-sys-certs.pl
3.7
KB
-rwxr-xr-x
2021-04-16 11:57
extract-vmlinux
1.6
KB
-rwxr-xr-x
2016-01-11 00:01
gcc-goto.sh
495
B
-rwxr-xr-x
2016-01-11 00:01
gcc-ld
676
B
-rwxr-xr-x
2016-01-11 00:01
gcc-version.sh
822
B
-rwxr-xr-x
2016-01-11 00:01
gcc-x86_32-has-stack-protector.sh
184
B
-rwxr-xr-x
2016-01-11 00:01
gcc-x86_64-has-stack-protector.sh
209
B
-rwxr-xr-x
2021-04-16 11:57
gen_initramfs_list.sh
7.87
KB
-rwxr-xr-x
2016-01-11 00:01
get_maintainer.pl
58.29
KB
-rwxr-xr-x
2016-01-11 00:01
gfp-translate
1.71
KB
-rwxr-xr-x
2016-01-11 00:01
headerdep.pl
3.46
KB
-rwxr-xr-x
2016-01-11 00:01
headers.sh
477
B
-rwxr-xr-x
2016-01-11 00:01
headers_check.pl
3.6
KB
-rwxr-xr-x
2016-01-11 00:01
headers_install.sh
1.28
KB
-rwxr-xr-x
2016-01-11 00:01
insert-sys-cert
18.59
KB
-rwxr-xr-x
2021-04-16 13:37
insert-sys-cert.c
13.08
KB
-rw-r--r--
2021-04-16 11:57
kallsyms
18.62
KB
-rwxr-xr-x
2021-04-16 13:37
kallsyms.c
16.8
KB
-rw-r--r--
2021-04-16 11:57
kernel-doc
76.08
KB
-rwxr-xr-x
2021-04-16 11:57
kernel-doc-xml-ref
4.22
KB
-rwxr-xr-x
2016-01-11 00:01
ld-version.sh
207
B
-rwxr-xr-x
2021-04-16 11:57
link-vmlinux.sh
5.84
KB
-rwxr-xr-x
2021-04-16 11:57
makelst
773
B
-rwxr-xr-x
2016-01-11 00:01
markup_oops.pl
8.08
KB
-rwxr-xr-x
2016-01-11 00:01
mkcompile_h
2.46
KB
-rwxr-xr-x
2016-01-11 00:01
mkmakefile
1.16
KB
-rwxr-xr-x
2016-01-11 00:01
mksysmap
1.33
KB
-rwxr-xr-x
2021-04-16 11:57
mkuboot.sh
379
B
-rwxr-xr-x
2016-01-11 00:01
mkversion
74
B
-rw-r--r--
2016-01-11 00:01
module-common.lds
888
B
-rw-r--r--
2021-04-16 11:57
namespace.pl
13.13
KB
-rwxr-xr-x
2021-04-16 11:57
objdiff
2.69
KB
-rwxr-xr-x
2016-01-11 00:01
patch-kernel
9.91
KB
-rwxr-xr-x
2016-01-11 00:01
pnmtologo.c
11.91
KB
-rw-r--r--
2016-01-11 00:01
profile2linkerlist.pl
375
B
-rwxr-xr-x
2016-01-11 00:01
recordmcount
24
KB
-rwxr-xr-x
2021-04-16 13:37
recordmcount.c
15.31
KB
-rw-r--r--
2021-04-16 11:57
recordmcount.h
16.4
KB
-rw-r--r--
2021-04-16 11:57
recordmcount.pl
18.3
KB
-rwxr-xr-x
2021-04-16 11:57
setlocalversion
4.69
KB
-rwxr-xr-x
2021-04-16 11:57
show_delta
2.99
KB
-rwxr-xr-x
2016-01-11 00:01
sign-file
18.95
KB
-rwxr-xr-x
2021-04-16 13:37
sign-file.c
8.14
KB
-rwxr-xr-x
2016-01-11 00:01
sortextable
18.04
KB
-rwxr-xr-x
2021-04-16 13:37
sortextable.c
7.65
KB
-rw-r--r--
2016-01-11 00:01
sortextable.h
5.48
KB
-rw-r--r--
2016-01-11 00:01
spelling.txt
21.33
KB
-rw-r--r--
2016-01-11 00:01
stackdelta
1.8
KB
-rwxr-xr-x
2016-01-11 00:01
stackusage
759
B
-rwxr-xr-x
2016-01-11 00:01
tags.sh
10.58
KB
-rwxr-xr-x
2021-04-16 11:57
ubuntu-retpoline-extract-one
7.26
KB
-rw-r--r--
2021-04-16 13:37
unifdef.c
34.8
KB
-rw-r--r--
2021-04-16 11:57
ver_linux
3.89
KB
-rwxr-xr-x
2016-01-11 00:01
xen-hypercalls.sh
351
B
-rw-r--r--
2016-01-11 00:01
xz_wrap.sh
562
B
-rwxr-xr-x
2016-01-11 00:01
Save
Rename
/* * sortextable.h * * Copyright 2011 - 2012 Cavium, Inc. * * Some of this code was taken out of recordmcount.h written by: * * Copyright 2009 John F. Reiser <jreiser@BitWagon.com>. All rights reserved. * Copyright 2010 Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. * * * Licensed under the GNU General Public License, version 2 (GPLv2). */ #undef extable_ent_size #undef compare_extable #undef do_func #undef Elf_Addr #undef Elf_Ehdr #undef Elf_Shdr #undef Elf_Rel #undef Elf_Rela #undef Elf_Sym #undef ELF_R_SYM #undef Elf_r_sym #undef ELF_R_INFO #undef Elf_r_info #undef ELF_ST_BIND #undef ELF_ST_TYPE #undef fn_ELF_R_SYM #undef fn_ELF_R_INFO #undef uint_t #undef _r #undef _w #ifdef SORTEXTABLE_64 # define extable_ent_size 16 # define compare_extable compare_extable_64 # define do_func do64 # define Elf_Addr Elf64_Addr # define Elf_Ehdr Elf64_Ehdr # define Elf_Shdr Elf64_Shdr # define Elf_Rel Elf64_Rel # define Elf_Rela Elf64_Rela # define Elf_Sym Elf64_Sym # define ELF_R_SYM ELF64_R_SYM # define Elf_r_sym Elf64_r_sym # define ELF_R_INFO ELF64_R_INFO # define Elf_r_info Elf64_r_info # define ELF_ST_BIND ELF64_ST_BIND # define ELF_ST_TYPE ELF64_ST_TYPE # define fn_ELF_R_SYM fn_ELF64_R_SYM # define fn_ELF_R_INFO fn_ELF64_R_INFO # define uint_t uint64_t # define _r r8 # define _w w8 #else # define extable_ent_size 8 # define compare_extable compare_extable_32 # define do_func do32 # define Elf_Addr Elf32_Addr # define Elf_Ehdr Elf32_Ehdr # define Elf_Shdr Elf32_Shdr # define Elf_Rel Elf32_Rel # define Elf_Rela Elf32_Rela # define Elf_Sym Elf32_Sym # define ELF_R_SYM ELF32_R_SYM # define Elf_r_sym Elf32_r_sym # define ELF_R_INFO ELF32_R_INFO # define Elf_r_info Elf32_r_info # define ELF_ST_BIND ELF32_ST_BIND # define ELF_ST_TYPE ELF32_ST_TYPE # define fn_ELF_R_SYM fn_ELF32_R_SYM # define fn_ELF_R_INFO fn_ELF32_R_INFO # define uint_t uint32_t # define _r r # define _w w #endif static int compare_extable(const void *a, const void *b) { Elf_Addr av = _r(a); Elf_Addr bv = _r(b); if (av < bv) return -1; if (av > bv) return 1; return 0; } static void do_func(Elf_Ehdr *ehdr, char const *const fname, table_sort_t custom_sort) { Elf_Shdr *shdr; Elf_Shdr *shstrtab_sec; Elf_Shdr *strtab_sec = NULL; Elf_Shdr *symtab_sec = NULL; Elf_Shdr *extab_sec = NULL; Elf_Sym *sym; const Elf_Sym *symtab; Elf32_Word *symtab_shndx_start = NULL; Elf_Sym *sort_needed_sym; Elf_Shdr *sort_needed_sec; Elf_Rel *relocs = NULL; int relocs_size = 0; uint32_t *sort_done_location; const char *secstrtab; const char *strtab; char *extab_image; int extab_index = 0; int i; int idx; unsigned int num_sections; unsigned int secindex_strings; shdr = (Elf_Shdr *)((char *)ehdr + _r(&ehdr->e_shoff)); num_sections = r2(&ehdr->e_shnum); if (num_sections == SHN_UNDEF) num_sections = _r(&shdr[0].sh_size); secindex_strings = r2(&ehdr->e_shstrndx); if (secindex_strings == SHN_XINDEX) secindex_strings = r(&shdr[0].sh_link); shstrtab_sec = shdr + secindex_strings; secstrtab = (const char *)ehdr + _r(&shstrtab_sec->sh_offset); for (i = 0; i < num_sections; i++) { idx = r(&shdr[i].sh_name); if (strcmp(secstrtab + idx, "__ex_table") == 0) { extab_sec = shdr + i; extab_index = i; } if ((r(&shdr[i].sh_type) == SHT_REL || r(&shdr[i].sh_type) == SHT_RELA) && r(&shdr[i].sh_info) == extab_index) { relocs = (void *)ehdr + _r(&shdr[i].sh_offset); relocs_size = _r(&shdr[i].sh_size); } if (strcmp(secstrtab + idx, ".symtab") == 0) symtab_sec = shdr + i; if (strcmp(secstrtab + idx, ".strtab") == 0) strtab_sec = shdr + i; if (r(&shdr[i].sh_type) == SHT_SYMTAB_SHNDX) symtab_shndx_start = (Elf32_Word *)( (const char *)ehdr + _r(&shdr[i].sh_offset)); } if (strtab_sec == NULL) { fprintf(stderr, "no .strtab in file: %s\n", fname); fail_file(); } if (symtab_sec == NULL) { fprintf(stderr, "no .symtab in file: %s\n", fname); fail_file(); } symtab = (const Elf_Sym *)((const char *)ehdr + _r(&symtab_sec->sh_offset)); if (extab_sec == NULL) { fprintf(stderr, "no __ex_table in file: %s\n", fname); fail_file(); } strtab = (const char *)ehdr + _r(&strtab_sec->sh_offset); extab_image = (void *)ehdr + _r(&extab_sec->sh_offset); if (custom_sort) { custom_sort(extab_image, _r(&extab_sec->sh_size)); } else { int num_entries = _r(&extab_sec->sh_size) / extable_ent_size; qsort(extab_image, num_entries, extable_ent_size, compare_extable); } /* If there were relocations, we no longer need them. */ if (relocs) memset(relocs, 0, relocs_size); /* find main_extable_sort_needed */ sort_needed_sym = NULL; for (i = 0; i < _r(&symtab_sec->sh_size) / sizeof(Elf_Sym); i++) { sym = (void *)ehdr + _r(&symtab_sec->sh_offset); sym += i; if (ELF_ST_TYPE(sym->st_info) != STT_OBJECT) continue; idx = r(&sym->st_name); if (strcmp(strtab + idx, "main_extable_sort_needed") == 0) { sort_needed_sym = sym; break; } } if (sort_needed_sym == NULL) { fprintf(stderr, "no main_extable_sort_needed symbol in file: %s\n", fname); fail_file(); } sort_needed_sec = &shdr[get_secindex(r2(&sym->st_shndx), sort_needed_sym - symtab, symtab_shndx_start)]; sort_done_location = (void *)ehdr + _r(&sort_needed_sec->sh_offset) + _r(&sort_needed_sym->st_value) - _r(&sort_needed_sec->sh_addr); #if 0 printf("sort done marker at %lx\n", (unsigned long)((char *)sort_done_location - (char *)ehdr)); #endif /* We sorted it, clear the flag. */ w(0, sort_done_location); }