boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources
boot767 notes · 24 posts

Every Shell Leaves a Trace

I keep what I learn about offensive security here: my notes from CTFs, certifications and university, plus the walkthroughs I write when a box is worth sharing. It's organized the way I work a box. Recon first, then a foothold, then privilege escalation, then the rest of the network.

latest transmission · 2026-11-19Collection of OSINT Tools and Resources

Scripting with Bash

Building an ipsweep.sh script step by step, piping ping output through grep, cut, and tr to pull out live IP addresses, then feeding them to nmap.

Isolating an IP from Ping Output

ifconfig
ping 192.168.4.29 -c 1 > ip.txt
cat ip.txt | grep "64 bytes"
cat ip.txt | grep "64 bytes" | cut -d " " -f 4
cat ip.txt | grep "64 bytes" | cut -d " " -f 4 | tr -d ":"

Script Arguments

The Script

Usage:

./ipsweep.sh 192.168.4 > ips.txt
#!/bin/bash
if [ "$1" == "" ]
then
echo "You forgot an IP address!"
echo "Syntax: ./ipsweep.sh 192.168.1"

else
for ip in `seq 1 254`; do
ping -c 1 $1.$ip | grep "64 bytes" | cut -d " " -f 4 | tr -d ":" &
done
fi

Then run nmap against each discovered host:

for ip in $(cat ips.txt); do nmap $ip; done