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 /
share /
doc /
ifupdown /
examples /
Delete
Unzip
Name
Size
Permission
Date
Action
bridge
364
B
-rw-r--r--
2016-11-30 18:15
check-mac-address.sh
498
B
-rw-r--r--
2016-11-30 18:15
generate-interfaces.pl.gz
1.29
KB
-rw-r--r--
2016-11-30 18:15
get-mac-address.sh
382
B
-rw-r--r--
2016-11-30 18:15
network-interfaces.gz
2.45
KB
-rw-r--r--
2016-11-30 18:15
pcmcia-compat.sh
491
B
-rw-r--r--
2016-11-30 18:15
ping-places.sh
605
B
-rw-r--r--
2016-11-30 18:15
Save
Rename
#!/bin/sh # # Checks if the given interface matches the given ethernet MAC. # If it does it exits with 0 (success) status; # if it doesn't then it exists with 1 (error) status. set -e export LANG=C if [ ! "$2" ] ; then echo "Usage: $0 IFACE targetMAC" exit 1 fi iface="$1" targetmac=`echo "$2" | sed -e 'y/ABCDEF/abcdef/'` mac=$(/sbin/ifconfig "$iface" | sed -n -e '/^.*HWaddr \([:[:xdigit:]\-]*\).*/{s//\1/;y/ABCDEF/abcdef/;p;q;}') if [ "$targetmac" = "$mac" ]; then exit 0; else exit 1; fi