--- sqlmap-dev/lib/controller/controller.py 2011-03-23 09:30:10.245865481 +0000
+++ sqlmap-dev-l0rda/lib/controller/controller.py 2011-03-23 08:48:58.649631001 +0000
@@ -201,7 +201,10 @@ def start():
if conf.forms:
message = "[#%d] form:\n%s %s" % (hostCount, conf.method or HTTPMETHOD.GET, targetUrl)
else:
- message = "url %d:\n%s %s%s" % (hostCount, conf.method or HTTPMETHOD.GET, targetUrl, " (PageRank: %s)" % get_pagerank(targetUrl) if conf.googleDork else "")
+ if conf.pagerank:
+ message = "url %d:\n%s %s%s" % (hostCount, conf.method or HTTPMETHOD.GET, targetUrl, " (PageRank: %s)" % get_pagerank(targetUrl) if conf.googleDork else "")
+ else:
+ message = "url %d:\n%s %s" % (hostCount, conf.method or HTTPMETHOD.GET, targetUrl)
if conf.cookie:
message += "\nCookie: %s" % conf.cookie
--- sqlmap-dev/lib/core/optiondict.py 2011-03-23 09:30:10.488860788 +0000
+++ sqlmap-dev-l0rda/lib/core/optiondict.py 2011-03-23 09:23:41.660372768 +0000
@@ -18,7 +18,8 @@ optDict = {
"list": "string",
"requestFile": "string",
"googleDork": "string",
- "configFile": "string"
+ "configFile": "string",
+ "pagerank": "boolean"
},
"Request": {
--- sqlmap-dev/sqlmap.conf 2011-03-23 09:30:10.793854896 +0000
+++ sqlmap-dev-l0rda/sqlmap.conf 2011-03-23 09:35:58.469139618 +0000
@@ -29,6 +29,9 @@ requestFile =
# Example: +ext:php +inurl:"&id=" +intext:"powered by "
googleDork =
+# PageRank check
+# google can ban your ip after multiple PR checks
+pagerank = False
# These options can be used to specify how to connect to the target url.
[Request] |