Common WireShark filters
tcp flags Combination
tcp flags Combination
Scan the box with service version detection Use gobuster to brute-force URIs (directories & files) Download link: https://github.com/OJ/gobuster
do Gets changes from another window dp Put changes from current to another window ]c Jumps to next change [c Jumps to previous change CTRL …
Locate Finding fileslocate kim.txt Updateupdatedb e.g.locate nc.exe Which See manual for whichman which e.g.which sbd find Manualman find Find recursively find . -name php.ini e.g.find ~/ …
Setup screen resolution sudo nano /etc/default/grub GRUB_DEFAULT=0GRUB_TIMEOUT=5GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash video=hyperv_fb:1920×1080″GRUB_CMDLINE_LINUX=”” sudo update-grub sudo reboot Setup SSH Check if already …
MAC Addressgrep -o -E “([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}” found.txt IP Addressgrep -o -E “([0-9]{1,3}[\.]){3}[0-9]{1,3}” found.txt [\.] looks for a literal period.([0-9]{1,3}[\.]) can find the first octet.{3} three occurrences …
Grep MAC and IP address using Regular expression Read More »
Enable Apache2 Headers Module Enabling HSTS for Apache2
Top 10 who Top 10 from access.log with awk Include grep multiple Exclude Exclude multiple strings Exclude and include
Display mail queues View message in the Postfix queue Delete queued mail Force process the queue now (immediately send all queued messages)
Common commands System info. Able to find the basic info like the followingIP address, model, serial number, Routing Show NAT ippool ping & traceroute Check …
Common Palo Alto firewall commands for troubleshooting Read More »