cat host.txt | naabu -p 80,443 - retries 1 -c 10 | /usr/bin/httpx -silent | nuclei -t /home/consultor/nuclei-templates/ -me salidaw
ps -ft pts/42
pkill -9 -t pts/42apt-get install auditd
auditctl -a task,always
ausearch -i -sc execvegetent hosts google.com
nc -vz 127.0.0.1 8080
iptables -F -t nat
SMTP
cat /etc/resolv.conf netstat -laputn nslookup debian.com # better than ping
route -n
dig -t txt example.com
host
whois
$ host www.facebook.com
www.facebook.com is an alias for star.c10r.facebook.com.
star.c10r.facebook.com has address 31.13.64.1
star.c10r.facebook.com has IPv6 address 2a03:2880:10:8f01:face:b00c::9
star.c10r.facebook.com mail is handled by 10 msgin.t.facebook.com.
$ whois -h whois.radb.net 31.13.64.1
route: 31.13.64.0/24
descr: Facebook, Inc.
origin: AS32934
mnt-by: MAINT-AS32934
changed: jj@fb.com 20111025
source: RADB
$ whois -h whois.radb.net '!gAS32934' | tr " " "\n" | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4
A939
C
31.13.24.0/21
31.13.64.0/18
...watch -n1 iwconfig
ping somehostname.com -4 iptables -A INPUT -s IP-ADDRESS -j DROP iptables -A INPUT -s 65.55.44.100 -j DROP
I’ve found for Firefox that quitting and restarting works. The relevant settings in about:config are network.dnsCacheEntries and network.dnsCacheExpiration, which can be set to 0 in order to disable caching. Then delete cache in configs.
nmap -sP 192.168.2.1/24nmap -sn 192.168.2.1/24 # oter protocol
sudo nmap -sP -PS22,3389 192.168.2.1/24 #custom TCP SYN
scansudo nmap -sP -PU161 192.168.2.1/24 #custom UDP
scannmap -A -T4 localhostarp -vn # resolves hostnames after having nmapped
themarp -a -n This lists all hosts which responded to an
ARP query, even the ones which filter ICMP.sudo apt install openssh-serversudo service ssh start
/etc/init.d/ssh startssh user@192.168.0.1ip route | grep default : get router ip