Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 428612b

Browse files
committed
Comment and layout adjustments
1 parent beea58f commit 428612b

4 files changed

Lines changed: 2 additions & 4 deletions

File tree

lib/controller/controller.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,6 @@ def start():
246246
kb.injPlace, kb.injParameter, kb.injType = injDataSelected
247247
setInjection()
248248

249-
print kb.injPlace, kb.injParameter, kb.injType
250249
if not conf.multipleTargets and ( not kb.injPlace or not kb.injParameter or not kb.injType ):
251250
raise sqlmapNotVulnerableException, "all parameters are not injectable"
252251
elif kb.injPlace and kb.injParameter and kb.injType:

lib/parse/configfile.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ def configFileParser(configFile):
8787
errMsg += "file (url or googleDork)"
8888
raise sqlmapMissingMandatoryOptionException, errMsg
8989

90-
9190
for family, optionData in optDict.items():
9291
for option, data in optionData.items():
9392
boolean = False

lib/request/connect.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ def queryPage(value=None, place=None, content=False):
254254

255255
page = Connect.getPage(get=get, post=post, cookie=cookie, ua=ua)
256256

257+
# TODO: create a comparison library and move these checks there
257258
if content:
258259
return page
259260
elif conf.string:

xml/queries.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
<count query="COUNT(%s)"/>
1717
<comment query="#" query2="/*"/>
1818
<!--
19-
NOTE: In PHP the mysql_query() function does not permit query stacking, or executing multiple queries in a single function call.
20-
MySQL 5.0.12 introduced SLEEP() function
19+
NOTE: MySQL 5.0.12 introduced SLEEP() function
2120
References:
2221
* http://dev.mysql.com/doc/refman/5.0/en/news-5-0-12.html
2322
* http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-functions.html#function_sleep

0 commit comments

Comments
 (0)