By default pagerank check is always enabled, but google can ban your IP if
you make too much requests.
I don't need PR check at all. Attached patch helps you to disable PR check
via config. I hope this will be in trunk.
Thanks.
--
Kirill Morozov
KIMO2-RIPE, RHCE
--- 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]
------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
sqlmap-users mailing list
sqlmap-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlmap-users