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-209 /
scripts /
Delete
Unzip
Name
Size
Permission
Date
Action
basic
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
coccinelle
[ DIR ]
drwxr-xr-x
2021-04-17 08:00
dtc
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
gdb
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
genksyms
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
kconfig
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
ksymoops
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
mod
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
package
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
selinux
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
tracing
[ DIR ]
drwxr-xr-x
2021-04-17 08:01
.gitignore
154
B
-rw-r--r--
2016-01-11 00:01
Kbuild.include
13.37
KB
-rw-r--r--
2021-04-13 03:05
Lindent
496
B
-rwxr-xr-x
2016-01-11 00:01
Makefile
2.03
KB
-rw-r--r--
2021-04-13 03:05
Makefile.asm-generic
683
B
-rw-r--r--
2016-01-11 00:01
Makefile.build
17.16
KB
-rw-r--r--
2021-04-13 03:05
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-13 03:05
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-13 03:05
Makefile.lib
14.9
KB
-rw-r--r--
2021-04-13 03:05
Makefile.modbuiltin
1.78
KB
-rw-r--r--
2016-01-11 00:01
Makefile.modinst
1.43
KB
-rw-r--r--
2021-04-13 03:05
Makefile.modpost
5.25
KB
-rw-r--r--
2021-04-13 03:05
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.c
35.54
KB
-rw-r--r--
2016-01-11 00:01
bloat-o-meter
1.9
KB
-rwxr-xr-x
2021-04-13 03:05
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-13 03:05
checkstack.pl
5.39
KB
-rwxr-xr-x
2021-04-13 03:05
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-13 03:05
conmakehash.c
5.98
KB
-rw-r--r--
2016-01-11 00:01
decode_stacktrace.sh
3.15
KB
-rwxr-xr-x
2021-04-13 03:05
decodecode
2.15
KB
-rwxr-xr-x
2021-04-13 03:05
depmod.sh
1.9
KB
-rwxr-xr-x
2021-04-13 03:05
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.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-13 03:05
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-13 03:05
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.c
13.08
KB
-rw-r--r--
2021-04-13 03:05
kallsyms.c
16.8
KB
-rw-r--r--
2021-04-13 03:05
kernel-doc
76.08
KB
-rwxr-xr-x
2021-04-13 03:05
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-13 03:05
link-vmlinux.sh
5.84
KB
-rwxr-xr-x
2021-04-13 03:05
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-13 03:05
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-13 03:05
namespace.pl
13.13
KB
-rwxr-xr-x
2021-04-13 03:05
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.c
15.31
KB
-rw-r--r--
2021-04-13 03:05
recordmcount.h
16.4
KB
-rw-r--r--
2021-04-13 03:05
recordmcount.pl
18.3
KB
-rwxr-xr-x
2021-04-13 03:05
setlocalversion
4.69
KB
-rwxr-xr-x
2021-04-13 03:05
show_delta
2.99
KB
-rwxr-xr-x
2016-01-11 00:01
sign-file.c
8.14
KB
-rwxr-xr-x
2016-01-11 00:01
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-13 03:05
ubuntu-retpoline-extract-one
7.26
KB
-rw-r--r--
2021-04-13 03:05
unifdef.c
34.8
KB
-rw-r--r--
2021-04-13 03:05
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
#!/usr/bin/perl -w # # headers_check.pl execute a number of trivial consistency checks # # Usage: headers_check.pl dir arch [files...] # dir: dir to look for included files # arch: architecture # files: list of files to check # # The script reads the supplied files line by line and: # # 1) for each include statement it checks if the # included file actually exists. # Only include files located in asm* and linux* are checked. # The rest are assumed to be system include files. # # 2) It is checked that prototypes does not use "extern" # # 3) Check for leaked CONFIG_ symbols use strict; use File::Basename; my ($dir, $arch, @files) = @ARGV; my $ret = 0; my $line; my $lineno = 0; my $filename; foreach my $file (@files) { $filename = $file; open(my $fh, '<', $filename) or die "$filename: $!\n"; $lineno = 0; while ($line = <$fh>) { $lineno++; &check_include(); &check_asm_types(); &check_sizetypes(); &check_declarations(); # Dropped for now. Too much noise &check_config(); } close $fh; } exit $ret; sub check_include { if ($line =~ m/^\s*#\s*include\s+<((asm|linux).*)>/) { my $inc = $1; my $found; $found = stat($dir . "/" . $inc); if (!$found) { $inc =~ s#asm/#asm-$arch/#; $found = stat($dir . "/" . $inc); } if (!$found) { printf STDERR "$filename:$lineno: included file '$inc' is not exported\n"; $ret = 1; } } } sub check_declarations { # soundcard.h is what it is if ($line =~ m/^void seqbuf_dump\(void\);/) { return; } if ($line =~ m/^(\s*extern|unsigned|char|short|int|long|void)\b/) { printf STDERR "$filename:$lineno: " . "userspace cannot reference function or " . "variable defined in the kernel\n"; } } sub check_config { if ($line =~ m/[^a-zA-Z0-9_]+CONFIG_([a-zA-Z0-9_]+)[^a-zA-Z0-9_]/) { printf STDERR "$filename:$lineno: leaks CONFIG_$1 to userspace where it is not valid\n"; } } my $linux_asm_types; sub check_asm_types { if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { return; } if ($lineno == 1) { $linux_asm_types = 0; } elsif ($linux_asm_types >= 1) { return; } if ($line =~ m/^\s*#\s*include\s+<asm\/types.h>/) { $linux_asm_types = 1; printf STDERR "$filename:$lineno: " . "include of <linux/types.h> is preferred over <asm/types.h>\n" # Warn until headers are all fixed #$ret = 1; } } my $linux_types; my %import_stack = (); sub check_include_typesh { my $path = $_[0]; my $import_path; my $fh; my @file_paths = ($path, $dir . "/" . $path, dirname($filename) . "/" . $path); for my $possible ( @file_paths ) { if (not $import_stack{$possible} and open($fh, '<', $possible)) { $import_path = $possible; $import_stack{$import_path} = 1; last; } } if (eof $fh) { return; } my $line; while ($line = <$fh>) { if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) { $linux_types = 1; last; } if (my $included = ($line =~ /^\s*#\s*include\s+[<"](\S+)[>"]/)[0]) { check_include_typesh($included); } } close $fh; delete $import_stack{$import_path}; } sub check_sizetypes { if ($filename =~ /types.h|int-l64.h|int-ll64.h/o) { return; } if ($lineno == 1) { $linux_types = 0; } elsif ($linux_types >= 1) { return; } if ($line =~ m/^\s*#\s*include\s+<linux\/types.h>/) { $linux_types = 1; return; } if (my $included = ($line =~ /^\s*#\s*include\s+[<"](\S+)[>"]/)[0]) { check_include_typesh($included); } if ($line =~ m/__[us](8|16|32|64)\b/) { printf STDERR "$filename:$lineno: " . "found __[us]{8,16,32,64} type " . "without #include <linux/types.h>\n"; $linux_types = 2; # Warn until headers are all fixed #$ret = 1; } }