mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Comment and layout adjustments
This commit is contained in:
parent
beea58f2e9
commit
428612b431
|
@ -246,7 +246,6 @@ def start():
|
|||
kb.injPlace, kb.injParameter, kb.injType = injDataSelected
|
||||
setInjection()
|
||||
|
||||
print kb.injPlace, kb.injParameter, kb.injType
|
||||
if not conf.multipleTargets and ( not kb.injPlace or not kb.injParameter or not kb.injType ):
|
||||
raise sqlmapNotVulnerableException, "all parameters are not injectable"
|
||||
elif kb.injPlace and kb.injParameter and kb.injType:
|
||||
|
|
|
@ -87,7 +87,6 @@ def configFileParser(configFile):
|
|||
errMsg += "file (url or googleDork)"
|
||||
raise sqlmapMissingMandatoryOptionException, errMsg
|
||||
|
||||
|
||||
for family, optionData in optDict.items():
|
||||
for option, data in optionData.items():
|
||||
boolean = False
|
||||
|
|
|
@ -254,6 +254,7 @@ class Connect:
|
|||
|
||||
page = Connect.getPage(get=get, post=post, cookie=cookie, ua=ua)
|
||||
|
||||
# TODO: create a comparison library and move these checks there
|
||||
if content:
|
||||
return page
|
||||
elif conf.string:
|
||||
|
|
|
@ -16,8 +16,7 @@
|
|||
<count query="COUNT(%s)"/>
|
||||
<comment query="#" query2="/*"/>
|
||||
<!--
|
||||
NOTE: In PHP the mysql_query() function does not permit query stacking, or executing multiple queries in a single function call.
|
||||
MySQL 5.0.12 introduced SLEEP() function
|
||||
NOTE: MySQL 5.0.12 introduced SLEEP() function
|
||||
References:
|
||||
* http://dev.mysql.com/doc/refman/5.0/en/news-5-0-12.html
|
||||
* http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_sleep
|
||||
|
|
Loading…
Reference in New Issue
Block a user