Skip to content

Commit 36b6603

Browse files
committed
Minor patch
1 parent fd89fdf commit 36b6603

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

lib/core/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1198,7 +1198,7 @@ def banner():
11981198
This function prints sqlmap banner with its version
11991199
"""
12001200

1201-
if not any(_ in sys.argv for _ in ("--version", "--api")):
1201+
if not any(_ in sys.argv for _ in ("--version", "--api")) and not conf.get("disableBanner"):
12021202
_ = BANNER
12031203

12041204
if not getattr(LOGGER_HANDLER, "is_tty", False) or "--disable-coloring" in sys.argv:

lib/core/settings.py

+1-1
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.2.10.7"
22+
VERSION = "1.2.10.8"
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)

sqlmap.py

+1
Original file line numberDiff line numberDiff line change
@@ -388,6 +388,7 @@ def main():
388388
cmdLineOptions.clear()
389389
conf.clear()
390390
kb.clear()
391+
conf.disableBanner = True
391392
main()
392393

393394
if conf.get("api"):

thirdparty/termcolor/termcolor.py

+2
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
))
8080
)
8181

82+
COLORS.update(dict(("light%s" % color, COLORS[color] + 60) for color in COLORS))
83+
8284

8385
RESET = '\033[0m'
8486

txt/checksum.md5

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ c7443613a0a2505b1faec931cee2a6ef lib/controller/handler.py
2929
1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py
3030
8eb0a5dbd79bd58fedac4c0cc344246b lib/core/agent.py
3131
c347f085bd561adfa26d3a9512e5f3b9 lib/core/bigarray.py
32-
2f47247892e5d558bbbe97c6cec7121f lib/core/common.py
32+
6d8bda015437de6439ad93a83fa92410 lib/core/common.py
3333
0d082da16c388b3445e656e0760fb582 lib/core/convert.py
3434
9f87391b6a3395f7f50830b391264f27 lib/core/data.py
3535
72016ea5c994a711a262fd64572a0fcd lib/core/datatype.py
@@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4949
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52-
16e697be36101880289e6095a0978a4b lib/core/settings.py
52+
68c0986d21fbc5f154c02869e371cb7e lib/core/settings.py
5353
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5454
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555
62bc180e3e828949ffb342a8f756c183 lib/core/target.py
@@ -227,7 +227,7 @@ ec2ba8c757ac96425dcd2b97970edd3a shell/stagers/stager.asp_
227227
0c48ddb1feb7e38a951ef05a0d48e032 shell/stagers/stager.jsp_
228228
2f9e459a4cf6a58680978cdce5ff7971 shell/stagers/stager.php_
229229
cd90da0474d7b1a67d7b40d208493375 sqlmapapi.py
230-
c66cb57ef2d927d5e22a84413121b9ef sqlmap.py
230+
c6f90d321b9ec7bff5b3be15cd4e19d8 sqlmap.py
231231
523dab9e1093eb59264c6beb366b255a tamper/0x2char.py
232232
3a1697585ae4e7bf315e9dda97d6f321 tamper/apostrophemask.py
233233
d7a119a74be9b385ee3884fb5e6af041 tamper/apostrophenullencode.py
@@ -359,7 +359,7 @@ a7f735641c5b695f3d6220fe7c91b030 thirdparty/pydes/pyDes.py
359359
d41d8cd98f00b204e9800998ecf8427e thirdparty/socks/__init__.py
360360
afd97f26bffa0532ee4eb4f5f8ec1ab7 thirdparty/socks/socks.py
361361
d41d8cd98f00b204e9800998ecf8427e thirdparty/termcolor/__init__.py
362-
ea649aae139d8551af513769dd913dbf thirdparty/termcolor/termcolor.py
362+
d97198005a387a9d23916c616620ef7f thirdparty/termcolor/termcolor.py
363363
bf55909ad163b58236e44b86e8441b26 thirdparty/wininetpton/__init__.py
364364
a44e7cf30f2189b2fbdb635b310cdc0c thirdparty/wininetpton/win_inet_pton.py
365365
855372c870a23d46683f8aa39d75f6a1 thirdparty/xdot/__init__.py

0 commit comments

Comments
 (0)