mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
removed some problematic user agents (google won't work with them) and added page rank next to tested item in multi target mode
This commit is contained in:
parent
6651ba05eb
commit
5c6c870db4
4 changed files with 103 additions and 12 deletions
|
|
@ -38,6 +38,7 @@ from lib.core.exception import sqlmapUserQuitException
|
|||
from lib.core.session import setInjection
|
||||
from lib.core.target import initTargetEnv
|
||||
from lib.core.target import setupTargetEnv
|
||||
from extra.pagerank.pagerank import get_pagerank
|
||||
|
||||
def __selectInjection():
|
||||
"""
|
||||
|
|
@ -193,7 +194,7 @@ def start():
|
|||
if conf.forms:
|
||||
message = "[#%d] form:\n%s %s" % (hostCount, conf.method or HTTPMETHOD.GET, targetUrl)
|
||||
else:
|
||||
message = "%s %d:\n%s %s" % ("url", hostCount, conf.method or HTTPMETHOD.GET, targetUrl)
|
||||
message = "%s %d:\n%s %s (PR: %s)" % ("url", hostCount, conf.method or HTTPMETHOD.GET, targetUrl, get_pagerank(targetUrl))
|
||||
|
||||
if conf.cookie:
|
||||
message += "\nCookie: %s" % conf.cookie
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue