This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in domain1.com domain2.com domain3.com domain4.com domainXetc.com; do echo $i : $(dig NS $i +short); done | |
OR: | |
for i in `cat domainslist.txt`; do dig ns $i; done | |
<Domain list created in "domainslist.txt" file) | |
<Change Record type from NS to any other> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null https://domainname.com | |
Example: | |
$ curl -s -w '\nLookup time:\t%{time_namelookup}\nConnect time:\t%{time_connect}\nPreXfer time:\t%{time_pretransfer}\nStartXfer time:\t%{time_starttransfer}\n\nTotal time:\t%{time_total}\n' -o /dev/null https://google.com | |
Lookup time: 0.111298 | |
Connect time: 0.189587 | |
PreXfer time: 0.410932 | |
StartXfer time: 0.570322 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1- Create "list" file with email address user and random password | |
Exmaple: | |
info JNwjA4MJbFHj | |
contact on7TaduX7YFU | |
2- Run the following command from root: | |
cat list| while read i; do EMAIL=$(echo $i | awk '{print $1}'); PW=$(echo $i | awk '{print $2}'); cpapi2 --user=USERNAME Email addpop domain=DOMAINNAME.COM email=$EMAIL password=$PW quota=0; done | |
Replace USERNAME with cPanel username. | |
DOMAINNAME.COM with the domain name. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#IPs that attempt to send data from my Xiaomi device to Xiaomi servers hosted on AWS Singapore. | |
47.74.139.176 | |
52.220.131.242 | |
52.221.18.83 | |
52.77.148.88 | |
13.229.171.142 | |
nmap -p 443 --script ssl-cert 47.74.139.176 |grep ssl-cert | |
| ssl-cert: Subject: commonName=api.ad.intl.xiaomi.com | |
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt install apache2-utils | |
htpasswd -c /etc/lighttpd/.htpasswd <Username> #Replace <Username>, you will be prompted to enter the password. | |
# Make sure that "mod_auth" is loaded in "server.modules". | |
nano /etc/lighttpd/lighttpd.conf | |
#Add the following to lighttpd.conf. | |
auth.backend = "htpasswd" | |
auth.backend.htpasswd.userfile= "/etc/lighttpd/.htpasswd" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dpkg-reconfigure wireshark-common #Select "Yes" | |
chmod +x /usr/bin/dumpcap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vmrun -T ws start /path/to/vm.vmx nogui #"-T ws" for VMware Workstation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null | |
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29 | |
apt-get update ; apt-get install seamonkey-mozilla-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This will spoof FreeBSD fingerprint to be detected as Linux generic. | |
#Test with p0f or https://browserleaks.com/ip | |
net.inet.tcp.sack.enable=0 #Turns TCP Selective Acknowledgments (SACK) off | |
net.inet.tcp.rfc1323=0 #Turns TCP window scaling off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Boot into single user mode from the boot menu | |
#Remount root file system to allow write | |
mount -ruw / | |
#Change root password | |
passwd root |
NewerOlder