mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Adding a hidden switch --dummy used for dummy runs (getPage() returns random data) - usefull for testing purposes for skipping connections
This commit is contained in:
parent
bf05709841
commit
0e89cc62a2
5 changed files with 17 additions and 1 deletions
|
|
@ -210,6 +210,7 @@ optDict = {
|
|||
"verbose": "integer",
|
||||
},
|
||||
"Hidden": {
|
||||
"dummy": "boolean",
|
||||
"binaryFields": "boolean",
|
||||
"profile": "boolean",
|
||||
"cpuThrottle": "integer",
|
||||
|
|
|
|||
|
|
@ -131,6 +131,9 @@ DUMMY_USER_PREFIX = "__dummy__"
|
|||
# Reference: http://en.wikipedia.org/wiki/ISO/IEC_8859-1
|
||||
DEFAULT_PAGE_ENCODING = "iso-8859-1"
|
||||
|
||||
# URL used in dummy runs
|
||||
DUMMY_URL = "http://foo/bar?id=1"
|
||||
|
||||
# System variables
|
||||
IS_WIN = subprocess.mswindows
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue