Thursday, December 8, 2011
Saturday, June 4, 2011
Sunday, May 29, 2011
CTF 5
The walkthrough for CTF5 is now up at my youtube channel. It's on a different level from the deIce pentest discs, and I took a longer time than I had expected.
Sunday, May 22, 2011
pWnOS and Capture The Flag 4
The walkthroughs for pWnOS and Capture The Flag 4 (CTF4) are now up on youtube. They can be found at my channel here. I included a short supplement on exploiting webmin in pWnOS too.
Tuesday, May 17, 2011
de-ICE pentest discs completed
I completed the walkthroughs for 1.100, 1.110 and 2.100. You can find them here.
Sunday, April 17, 2011
The Command Line
Linux Format talks about Arch Linux in issue 145. It says that "Arch is often described as the Linux distro for users who aren't afraid of the command line."
Well, I think that's incorrect.
Arch is the Linux distro for users who love the command line.
Wednesday, April 6, 2011
Port scanning in bash
There was a short discussion over at securityoverride on port scanning using only bash, and I whipped up the short piece of code below. Unfortunately, while udp scans are possible, I don't think stealth scans are possible using bash alone.
#!/bin/bash
for p in {1..1024}
do
(echo >/dev/tcp/192.168.0.50/$p) && echo "port $p is open."&
done
#!/bin/bash
for p in {1..1024}
do
(echo >/dev/tcp/192.168.0.50/$p) && echo "port $p is open."&
done
If you don't want Connection refuses and Connection timeouts cluttering your screen, add in the /dev/null stuff:
(echo >/dev/tcp/192.168.0.50/$p) >/dev/null 2>&1 && echo "port $p is open."&
And keep an eye on the number of ports you are scanning -> number of child processes being spawned.
Subscribe to:
Posts (Atom)