mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
adding --random-agent and removing -a
This commit is contained in:
parent
2dae57a56d
commit
5f49e20cc8
4 changed files with 14 additions and 16 deletions
|
|
@ -78,9 +78,9 @@ def cmdLineParser():
|
|||
request.add_option("--user-agent", dest="agent",
|
||||
help="HTTP User-Agent header")
|
||||
|
||||
request.add_option("-a", dest="userAgentsFile",
|
||||
help="Load a random HTTP User-Agent "
|
||||
"header from file")
|
||||
request.add_option("--random-agent", dest="randomAgent",
|
||||
action="store_true", default=False,
|
||||
help="Use randomly selected HTTP User-Agent header")
|
||||
|
||||
request.add_option("--referer", dest="referer",
|
||||
help="HTTP Referer header")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue