by hegars | Dec 19, 2017 | Script
#!/bin/bash while [ 1 ] ;do nc -l -p 23 -t done
by hegars | Dec 19, 2017 | Script
using tshark to looks at DNS queries over the wire tshark -f “udp port 53” -Y “dns.qry.type == 255 and dns.flags.response == 0” https://www.ietf.org/rfc/rfc1035.txt tshark -f “udp port 53” -Y “dns.qry.type ==1 and...
by hegars | Dec 19, 2017 | Script
Get websites being access over the wire. #!/bin/bash tcpdump -A -s 10240 ‘tcp port 80 and (((ip[2:2] – ((ip[0]&0xf)<>2)) != 0)’ | egrep –line-buffered “^……..(GET |HTTP\/|POST |HEAD )|^[A-Za-z0-9-]+: ” | sed -r...
by hegars | Dec 19, 2017 | Script
This script is to monitor SQL transactions over the wire. #!/bin/bash #this script used monitor mysql network traffic.echo sql tcpdump -i eno1 -s 0 -l -w – dst port 3306 | strings | perl -e ‘ while() { chomp; next if /^[^ ]+[ ]*$/;...