Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

tcpdump tcp ipaddress

sudo tcpdump src 1.1.1.1
sudo tcpdump dst 1.0.0.1
sudo tcpdump net 1.2.3.0/24
sudo tcpdump -c 1 -X icmp
sudo tcpdump port 3389
sudo tcpdump src port 1025
sudo tcpdump portrange 21-23
sudo tcpdump less 32
sudo tcpdump greater 64
sudo tcpdump <= 128
sudo tcpdump -nnvvS src 10.5.2.3 and dst port 3389
sudo tcpdump -nvX src net 192.168.0.0/16 and dst net 10.0.0.0/8 or 172.16.0.0/16
sudo tcpdump dst 192.168.0.2 and src net and not icmp
sudo tcpdump 'src 10.0.2.4 and (dst port 3389 or 22)'
sudo tcpdump 'tcp[13] & 4!=0'
sudo tcpdump 'tcp[tcpflags] == tcp-rst'
sudo tcpdump 'tcp[13] & 2!=0'
sudo tcpdump 'tcp[tcpflags] == tcp-syn'
sudo tcpdump 'tcp[13]=18'
sudo tcpdump 'tcp[13] & 16!=0'
sudo tcpdump 'tcp[tcpflags] == tcp-ack'
sudo tcpdump 'tcp[13] & 1!=0'
sudo tcpdump 'tcp[tcpflags] == tcp-fin'
sudo tcpdump -vvAls0 | grep 'User-Agent:'
sudo tcpdump -vvAls0 | grep 'GET'
sudo tcpdump -vvAls0 | grep 'Host:'
sudo tcpdump -vvAls0 | grep 'Set-Cookie|Host:|Cookie:'
sudo tcpdump port http or port ftp or port smtp or port imap or port pop3 or port telnet -lA | egrep -i -B5 'pass=|pwd=|log=|login=|user=|username=|pw=|passw=|passwd= |password=|pass:|user:|username:|password:|login:|pass |user '
Comment

PREVIOUS NEXT
Code Example
Shell :: how to start docker in ubuntu 
Shell :: virtual host apache 
Shell :: ubuntu 18.04 default display manager 
Shell :: magento 2 configure cron command line 
Shell :: ubuntu move folder to another directory 
Shell :: how to copy a file to a remote server using the command line 
Shell :: check and verify git version 
Shell :: install slack ubuntu 
Shell :: depmod: not found 
Shell :: ubuntu + set timezone 
Shell :: choco installation 
Shell :: rm -rf 
Shell :: search file in ubuntu 
Shell :: how to turn on hotspot on windows 10 
Shell :: find file by name linux 
Shell :: linux show ssh users 
Shell :: pip install google trans 
Shell :: raspberry pi scan networks 
Shell :: enable systemd service linux 
Shell :: terminator download 
Shell :: check cuda nn version 
Shell :: ssh login windows 
Shell :: cargo build release 
Shell :: find zombie process PID in linux 
Shell :: set path environment variable mac permanently 
Shell :: git switch vs checkout 
Shell :: ansible lineinfile 
Shell :: lines count linux 
Shell :: changing master to main 
Shell :: bash get file full path 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =