I'm fairly new to linux and nmap. I'm using debian squeeze. I tried installing an SQL-injection script for nmap. I was able to successfully run a test scan agains my web server running Windows. However, I can't seem to tell the script to run an SQL-injection test on a certain directory. I tried the following commands, but none of them are scanning the directory I want to scan. I'm trying to scan http://some.url/TESTNMAP
:
nmap --script=sql-injection 10.10.10.10 --script-args sql-injection.start=TESTNMAP/
nmap --script=sql-injection 10.10.10.10 --script-args start=TESTNMAP/
For some reason, the --script-help
option is just not available, so I can't run:
nmap --script-help sql-injection
/
? Example:sql-injection.start=/TESTNMAP/
– Tim Jun 8 '12 at 15:45