Comment and layout adjustments

This commit is contained in:
Bernardo Damele 2008-12-01 23:04:01 +00:00
parent beea58f2e9
commit 428612b431
4 changed files with 2 additions and 4 deletions

View File

@ -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:

View File

@ -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

View File

@ -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:

View File

@ -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