Bash set builtin -> bash debug
Set at the beginning of bash script:
set -Eeuxo pipefail
set -e
The -e option will cause a bash script to exit immediately when a command fails.
Set at the beginning of bash script:
set -Eeuxo pipefail
set -e
The -e option will cause a bash script to exit immediately when a command fails.
nmap - checking open ports and footprinting
MSF - Metasploit framework
DIRB - enumerate files on webserver
Wireshark - network analytics
Wfuzz - bruteforcing web applications
sqlmap - detection and exploitation of SQL injection flaws
Get docker ip addressesdocker inspect -f '{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
In order to pest whether is network port accessible, either udp or tcp.
Can server listen on udp port 5000 ?
Example with UDP port!
Server sidencat -ulp 5000
Client sidencat -u XXX.XXX.XXX.XXX 5000
journalctl -u service.name
List systemd service start time systemd-analyze blame
Check complete gitlab status of running services
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production
Check iptables and their particular traffic
iptables -L -v
Chek for crc error on network interfaceethtool -S "interface" |grep crc
netstat -i
ip -s link show
route
ip r s
ip route show table all
ip route del xx.yy.xx.yy/xx dev wlp3s0
Check some of there in order to proceed with debugging
-T with time stampdmesg -T | grep -i error
cat /var/log/syslog | grep -i error