add chinese for pages.cn/linux/add-apt-respository.md

This commit is contained in:
hugue
2018-12-21 20:04:36 +08:00
committed by Agniva De Sarker
parent 6baf5eaa78
commit 1ce15b00a1
1250 changed files with 26030 additions and 0 deletions

23
pages.cn/common/sqlmap.md Normal file
View File

@@ -0,0 +1,23 @@
# sqlmap
> Detect and exploit SQL injection flaws.
- Run sqlmap against a single target URL:
`python sqlmap.py -u {{"http://www.target.com/vuln.php?id=1"}}`
- Send data in a POST request (`--data` implies POST request):
`python sqlmap.py -u {{"http://www.target.com/vuln.php" --data={{"id=1"}}`
- Change the parameter delimiter (& is the default):
`python sqlmap.py -u {{"http://www.target.com/vuln.php"}} --data={{"query=foobar;id=1"}} --param-del={{";"}}`
- Select a random `User-Agent` from `./txt/user-agents.txt` and use it:
`python sqlmap.py -u {{"http://www.target.com/vuln.php"}} --random-agent`
- Provide user credentials for HTTP protocol authentication:
`python sqlmap.py -u {{"http://www.target.com/vuln.php"}} --auth-type {{Basic}} --auth-cred {{"testuser:testpass"}}`