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

Skip to content

Commit 4b420e7

Browse files
committed
Removing Google PageRank as it is dead now
1 parent 6b580a6 commit 4b420e7

7 files changed

Lines changed: 4 additions & 123 deletions

File tree

doc/COPYING

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,6 @@ This license does not apply to the following components:
361361
* The MultipartPost library located under thirdparty/multipartpost/.
362362
* The Odict library located under thirdparty/odict/.
363363
* The Oset library located under thirdparty/oset/.
364-
* The PageRank library located under thirdparty/pagerank/.
365364
* The PrettyPrint library located under thirdparty/prettyprint/.
366365
* The PyDes library located under thirdparty/pydes/.
367366
* The SocksiPy library located under thirdparty/socks/.

doc/THIRD-PARTY.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,6 @@ be bound by the terms and conditions of this License Agreement.
281281

282282
* The bottle web framework library located under thirdparty/bottle/.
283283
Copyright (C) 2012, Marcel Hellkamp.
284-
* The PageRank library located under thirdparty/pagerank/.
285-
Copyright (C) 2010, Corey Goldberg.
286284
* The Termcolor library located under thirdparty/termcolor/.
287285
Copyright (C) 2008-2011, Volvox Development Team.
288286

lib/controller/controller.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
from lib.core.settings import USER_AGENT_ALIASES
6666
from lib.core.target import initTargetEnv
6767
from lib.core.target import setupTargetEnv
68-
from thirdparty.pagerank.pagerank import get_pagerank
6968

7069
def _selectInjection():
7170
"""
@@ -320,7 +319,7 @@ def start():
320319
if conf.forms and conf.method:
321320
message = "[#%d] form:\n%s %s" % (hostCount, conf.method, targetUrl)
322321
else:
323-
message = "URL %d:\n%s %s%s" % (hostCount, HTTPMETHOD.GET, targetUrl, " (PageRank: %s)" % get_pagerank(targetUrl) if conf.googleDork and conf.pageRank else "")
322+
message = "URL %d:\n%s %s" % (hostCount, HTTPMETHOD.GET, targetUrl)
324323

325324
if conf.cookie:
326325
message += "\nCookie: %s" % conf.cookie

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.2.12"
22+
VERSION = "1.1.2.13"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

thirdparty/pagerank/__init__.py

Lines changed: 0 additions & 26 deletions
This file was deleted.

thirdparty/pagerank/pagerank.py

Lines changed: 0 additions & 87 deletions
This file was deleted.

txt/checksum.md5

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ c55b400b72acc43e0e59c87dd8bb8d75 extra/shellcodeexec/windows/shellcodeexec.x32.
2121
7713aa366c983cdf1f3dbaa7383ea9e1 extra/sqlharvest/sqlharvest.py
2222
5df358defc488bee9b40084892e3d1cb lib/controller/action.py
2323
9cb94acd4c59822a5e1a258c4d1a4860 lib/controller/checks.py
24-
fa72e4d6eda241725d90738d61e7d55d lib/controller/controller.py
24+
dc386321e8813788f155dc557a78be8d lib/controller/controller.py
2525
b3eec7f44bcc5d784d171a187b7fe8cb lib/controller/handler.py
2626
310efc965c862cfbd7b0da5150a5ad36 lib/controller/__init__.py
2727
19905ecb4437b94512cf21d5f1720091 lib/core/agent.py
@@ -45,7 +45,7 @@ e544108e2238d756c94a240e8a1ce061 lib/core/optiondict.py
4545
d8e9250f3775119df07e9070eddccd16 lib/core/replication.py
4646
785f86e3f963fa3798f84286a4e83ff2 lib/core/revision.py
4747
40c80b28b3a5819b737a5a17d4565ae9 lib/core/session.py
48-
9fb5d80b24bf89c326c69de96582c5c0 lib/core/settings.py
48+
17ee99af8efe59e90d66208d1e5ae8a4 lib/core/settings.py
4949
d91291997d2bd2f6028aaf371bf1d3b6 lib/core/shell.py
5050
2ad85c130cc5f2b3701ea85c2f6bbf20 lib/core/subprocessng.py
5151
afd0636d2e93c23f4f0a5c9b6023ea17 lib/core/target.py
@@ -345,8 +345,6 @@ d41d8cd98f00b204e9800998ecf8427e thirdparty/multipart/__init__.py
345345
08801ea0ba9ae22885275ef65d3ee9dc thirdparty/oset/_abc.py
346346
54a861de0f08bb80c2e8846579ec83bd thirdparty/oset/__init__.py
347347
179f0c584ef3fb39437bdb6e15d9c867 thirdparty/oset/pyoset.py
348-
d24924d878e24946e83cfc1459f806af thirdparty/pagerank/__init__.py
349-
7616693115d08f9b815a567515a0db56 thirdparty/pagerank/pagerank.py
350348
94a4abc0fdac64ef0661b82aff68d791 thirdparty/prettyprint/__init__.py
351349
ff80a22ee858f5331b0c088efa98b3ff thirdparty/prettyprint/prettyprint.py
352350
5c70f8e5f7353aedc6d8d21d4fb72b37 thirdparty/pydes/__init__.py

0 commit comments

Comments
 (0)