Articles

Metasploit Framework Windows Tutorial
Remote Desktop Connection
Windows Processes That May Be Dangerous
How-To use NetCat a Tutorial
Common Linux Commands
Common Ports
Netcat Commands
HTTP Response Codes
War-Google Hack Terms
Wardriving
Avoiding Social Engineering and Phishing Attacks
Intrusion Detection on Linux
Linux Intrusion Detection
Penetration Testing Guide
Penetration Testing Tools
Social Engineering Fundamentals, Part I: Hacker Tactics
Social engineering (computer security)
The Psychology of Social Engineering

The Archives

General GSO
GovernmentSecurity.org News & Suggestions
In The News
Open Topic
General Security Information
Trash Can
Exploit & Vulnerability Mailing List Archives
Trial Member Forum
Product and Program Reviews GSO Tutorials
System Security
Windows Systems
Beginners Section
Linux & Unix Systems
File Downloads
Exploit Research & Discussion Trojan & Virus Errata
Networking Security / Firewall / IDS / VPN / Routers
System Hardening
E-Mail Security
Wifi Security
Trial Member Uploads
Upload discovered Trojans & Mal ware
GSO Programming Section
C , C++ , VC++
Visual Basic.NET
Perl /CGI
Java/Javascript
PHP/XML/ASP/HTML
Assembly + Other
The Cork Board
Network Security Consultant Directory
Network Security Jobs
The Archives
Encryption Information
General Network Security
Internet Anonymity
HTTP Protocol Security
Linux Security
MS IIS Information
Exploit Articles
Programming / Tool Design
GSO Software Projects
Public Downloads
Microsoft Security Questions and Papers

flashlord
Hello.

I rewrote the port scanner of this topic: http://www.governmentsecurity.org/forum/in...showtopic=12902

....and added a sql weak password checker(mysql,mssql)...

CODE

Version:
Mysql,Mssql and Port Scanner v.01a

Files:
port_scan.php This is a simple PHP port scanner
mysql_scan.php This is a php script that does a port scan
 on 3306 and tries to connect to the server
 with root/null. If the connection was
 succesful it will write the ip on the screen.
mssql_scan.php  This is a php script that does a port scan
 on 1433 and tries to connect to the mssql server
 with sa/null , sa/123 , sa/sa123

Installation:
Upload the php files to your webhost and open them in your
browser.(tested with firefox;Internetexplorer doesn't work fine here)


I tested it succesfully with http://www.100webspace.com/ and my private hoster, but it will not work with all hosts.

bye flashlord
Rafter
I'll take a look at that flashlord, thank u for sharing that with us wink.gif
I was also going to rewrite the script myself, so I'll check yours first and then add some features I have in mind biggrin.gif

I will let u know about it if I manage to do what I want wink.gif
Pro21
great work man, but is not possible to load password or login from a file ?
Because with just 3 password it s a little short smile.gif
But very good software wink.gif
Rafter
Hi,

So here is an enhanced version of yours flashlord.
There is now the possibility to put a password file as someone requested wink.gif
I wanted to add a multiple thread feature (which is possible), but unfortunately no free hosting provider have such a module installed on their servers sad.gif
What I also added is the possibility to retrieve the banner of the port... quite useful for example to know what kind of HTTP Server you are looking at wink.gif

In the attached zip file you will find out two files:
- start.php : is the interface where you choose all the options
~ Start IP
~ End IP
~ Port to scan : there are default ones : HTTP, MSSQL, MYSQL, or you can specify your own wink.gif
~ Timeout : it is now an optional field, by default is set to 2seconds)
~ Password file : the file containing the list of password you want to test when looking for MSSQL or MYSQL wink.gif

- scan.php : the file which is doing the scan actually tongue.gif

Enjoy and don't hesitate to give feedback smile.gif
[attachmentid=2800]

thesource
I wonder what our paid webhosts would think Oo
sin2oo5
thx 4 sharing this nice script, was already looking for some kind of mysql scanner .... good work!

i tried Rafters edited version of the script and its awesome, works perfectly for me (mysql)....

thx guys
thunder_isr
very nice tool man!
but i wanna know:
does this take internet bandwith from my computer or from the webserver?
and is it then faster?
galex72
thx 4 sharing

you're great

bye

Suspeneded for 15 days for the thx post
LittleHacker
nice job
thanks
how about to add another script to let everyone upload his costom dic.
so some one can share it
isaiah
thx lol you cant ban me cuz i got more to say lol

well no way to make it able to send the results to a email as soon as it done or somehow you make it log all results in the mysql that hosting it? like if i run it on a host and i got a mysql database maybe it can log it to them?
EviL
Tested : Not working on Lycos

(if this could interest you all...) smile.gif
kju
it seem to be interesting... but this is only be usefull for privat webservers, because the official internet webhoster have a 30sec timeout time.

it means that a script only be executable for 30sec, then it will be killed.


in a private webserver you can edit this time.


it can be my fault and this is wrong what i write.
but my knowledge says me that.

i can't find that usefull.

but you have do great work. u help other people and so on.
keep that!

thanks
kju
rockemon
Nice work biggrin.gif, but can u add some feature to the script so it will
save the result to a file. tongue.gif
FiNaLBeTa
QUOTE(kju @ Jul 31 2005, 03:47 PM)
it seem to be interesting... but this is only be usefull for privat webservers, because the official internet webhoster have a 30sec timeout time.

it means that a script only be executable for 30sec, then it will be killed.

Seems like if you know this you can write your way around this, recursive execution of the file. or two files executing each other every time.

This is a nice idea, but I would not use it if you have other means available. Because this must take way more resources then any other scanner.
But nevertheless, this is a nice tool and a nice idea.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2005 Invision Power Services, Inc.