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