Small but useful port scanner

 
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions
View previous topic :: View next topic  
Author Message
Goatie.dk
-


Joined: 11 Feb 2005
Posts: 125
Location: Denmark > Herning

PostPosted: Thu Aug 10, 2006 11:23 pm    Post subject: Small but useful port scanner Reply with quote

Hi everybody..

I was wondering if anyone know about a small port scanner like the one they use on uTorrent's website( http://www.utorrent.com/testport.php?port=80 ).
I'm looking for one like that, but a little different. Instead of one port it should be able to check several ports in one go. The address could for example be "site.com/script.php?port1=80&port2=21&port3=8080".
I don't know if it's possible, but maybe including the host-address could also be a great feature, e.g. "site.com/script.php?host=ip-or-wwwaddress&port1=80&port2=21".

So, back to the question...
Does anyone know of a script like this that could run on Abyss or maybe could make one?
I haven't played with PHP in a couple of months, so I'm not that good at it.

I hope anyone has a link to a script like the one described or maybe can make such a script. Creds will surely be given for either finding or making such a script :)
_________________
The insane dane who loves AWS :D
http://home.goatie.dk <- pic = online.. no pic, guess ;P
Back to top View user's profile Send private message
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Thu Aug 10, 2006 11:36 pm    Post subject: Reply with quote

Including the host address could be a great feature if you want to get arrested when some bright spark spots you can put different hostnames in and helpfully uses your script to make your PC portscan the FBI website ;) That's why pretty much all the port test websites will only scan the IP they detect you connecting from.

There's a PHP example here you could easily adapt into a script for your site.

http://www.weberdev.com/ViewArticle.php3?ArticleID=387

Just change it so instead of going through a for loop for ports it accepts however many you want as parameters and steps through them.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
cmxflash
-


Joined: 11 Dec 2004
Posts: 872

PostPosted: Fri Aug 11, 2006 12:18 am    Post subject: Reply with quote

If you just need a regular port scanner, I recommend this one.
Back to top View user's profile Send private message
Goatie.dk
-


Joined: 11 Feb 2005
Posts: 125
Location: Denmark > Herning

PostPosted: Fri Aug 11, 2006 1:15 am    Post subject: Reply with quote

@ Anonymoose
Yeah ok, I can see the host-part isn't so great after all. But I'll try to play around with the article you linked to.

@ cmxflash
The portscanner you linked to is an application for windows, not a PHP-script. But maybe I'll try it out anyway :)

Thanks for the replies..
_________________
The insane dane who loves AWS :D
http://home.goatie.dk <- pic = online.. no pic, guess ;P
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> General Questions All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group