Cogito Interruptus Vulgaris
25 Nov 2011 | 1 min. (49 words)

port scanning wihtout a port scanner

Booya.

For older bash versions

for i in $(seq 1 1 1024); 
do 
echo > /dev/tcp/10.10.10.10/$i; 
[ $? == 0 ] && echo $i >>/tmp/open.txt; 
done

Same thing, newer bash versions

for i in {1..1024}; 
do 
echo > /dev/tcp/10.10.10.10/$i; 
[ $? == 0 ] && echo $i >>/tmp/open.txt; 
done
Reddit Twitter

building secure linux systems

remote shell without any tools

2018 Mark Steele