dylanwinn Posted February 21, 2010 Share Posted February 21, 2010 So, I kinda watched the movie Wargames yesterday, and I kinda started thinking, and I kinda wonder if there is a sort of wardialing script compatible with TCP/IP. Now I know there are very few whitehat uses for a wardialer, but I could see the usefulness of having every address on the 192.x.x.x subnet portscanned, for pen testing reasons, obviously. What I want is some sort of script that would sequentially pings every address in a specific range, and do a good ol' "nc -z -v" on every address that responds, if you know what I mean. I was getting ready to write a simple shell script to do so, but then I remembered that netcat crashes and burns if an address fails to respond on any port, or rather freezes, which is a pretty big problem. How am I supposed to write a loop around a script that may or may not finish running? Well, here goes my question: Is there anything out there that will do this already, or do I have to crack open the netcat source code and add a new feature? Ah, the joys of open-source programs! At least I can add a feature, even if it means a ton of work. That reminds me: if I somehow manage to modify netcat an add a new feature, how am I gonna convince the devs to include it in the official build? Quote Link to comment Share on other sites More sharing options...
dylanwinn Posted February 21, 2010 Author Share Posted February 21, 2010 Apparently nmap has had this functionality since version 5.0. I really need to google harder before posting here. lol "google harder" is now my favorite phrase EDIT: The command is: nmap -p [port range] -T4 -A -v -PE -PS22,25,80 -PA21,23,80,3389 [iP range] Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted February 23, 2010 Share Posted February 23, 2010 http://www.warvox.org/ Saw that recently on the Defcon 17 MetaSploit Track Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.