- $ python sqlmap.py -h
- sqlmap/1.0-dev (8b8677b938) - automatic SQL injection and database takeover tool
- http://www.sqlmap.org
- [!] legal disclaimer: usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Authors assume no liability and are not responsible for any misuse or damage caused by this program
- [*] starting at 12:33:36
- Usage: python sqlmap.py [options]
- Options:
- --version show program's version number and exit
- -h, --help show this help message and exit
- -hh Show advanced help
- -v VERBOSE Verbosity level: 0-6 (default 1)
- Target:
- At least one of these options has to be specified to set the source to get target urls from
- -u URL, --url=URL Target url
- -g GOOGLEDORK Process Google dork results as target urls
- Request:
- These options can be used to specify how to connect to the target url
- --data=DATA Data string to be sent through POST
- --cookie=COOKIE HTTP Cookie header
- --random-agent Use randomly selected HTTP User-Agent header
- --proxy=PROXY Use a HTTP proxy to connect to the target url
- Injection:
- These options can be used to specify which parameters to test for, provide custom injection payloads and optional tampering scripts
- -p TESTPARAMETER Testable parameter(s)
- --dbms=DBMS Force back-end DBMS to this value
- Detection:
- These options can be used to specify how to parse and compare page content from HTTP responses when using blind SQL injection technique
- --level=LEVEL Level of tests to perform (1-5, default 1)
- --risk=RISK Risk of tests to perform (0-3, default 1)
- Techniques:
- These options can be used to tweak testing of specific SQL injection techniques
- --technique=TECH SQL injection techniques to test for (default "BEUST")
- Enumeration:
- These options can be used to enumerate the back-end database management system information, structure and data contained in the tables. Moreover you can run your own SQL statements
- -b, --banner Retrieve DBMS banner
- --current-user Retrieve DBMS current user
- --current-db Retrieve DBMS current database
- --passwords Enumerate DBMS users password hashes
- --tables Enumerate DBMS database tables
- --columns Enumerate DBMS database table columns
- --schema Enumerate DBMS schema
- --dump Dump DBMS database table entries
- --dump-all Dump all DBMS databases tables entries
- -D DB DBMS database to enumerate
- -T TBL DBMS database table to enumerate
- -C COL DBMS database table column to enumerate
- Operating system access:
- These options can be used to access the back-end database management system underlying operating system
- --os-shell Prompt for an interactive operating system shell
- --os-pwn Prompt for an out-of-band shell, meterpreter or VNC
- General:
- These options can be used to set some general working parameters
- --batch Never ask for user input, use the default behaviour
- --check-tor Check to see if Tor is used properly
- --flush-session Flush session file for current target
- --tor Use Tor anonymity network
- Miscellaneous:
- --wizard Simple wizard interface for beginner users
- [!] to see full list of options run with '-hh'
- [*] shutting down at 12:33:36