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

Skip to content

Commit 5afccce

Browse files
committed
Minor patch
1 parent e439095 commit 5afccce

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

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.revision import getRevisionNumber
2020

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

lib/takeover/metasploit.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,12 @@ def _forgeMsfPayloadCmd(self, exitfunc, format, outFile, extra=None):
429429
self._payloadCmd += " X > \"%s\"" % outFile
430430
else:
431431
if extra == "BufferRegister=EAX":
432-
self._payloadCmd += " -a x86 -e %s -f %s > \"%s\"" % (self.encoderStr, format, outFile)
432+
self._payloadCmd += " -a x86 -e %s -f %s" % (self.encoderStr, format)
433433

434434
if extra is not None:
435435
self._payloadCmd += " %s" % extra
436+
437+
self._payloadCmd += " > \"%s\"" % outFile
436438
else:
437439
self._payloadCmd += " -f exe > \"%s\"" % outFile
438440

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py
4545
5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py
4646
99a2b496b9d5b546b335653ca801153f lib/core/revision.py
4747
7c15dd2777af4dac2c89cab6df17462e lib/core/session.py
48-
93027b08974d19287bac33be0cb19515 lib/core/settings.py
48+
d9678d7975815c56e3ec2e526e9ed7d7 lib/core/settings.py
4949
7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py
5050
23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py
5151
c3ace7874a536d801f308cf1fd03df99 lib/core/target.py
@@ -81,7 +81,7 @@ b2ffd261947994f4a4af555d468b4970 lib/request/rangehandler.py
8181
937b7e276f25ccac5a2ac0bf9b1ef434 lib/takeover/abstraction.py
8282
3ecf028d8d93025d2a12c6f6fc13adb2 lib/takeover/icmpsh.py
8383
cc9c82cfffd8ee9b25ba3af6284f057e lib/takeover/__init__.py
84-
1d064463302b85b2241263ea48a83837 lib/takeover/metasploit.py
84+
2d39688ec1b871005b520b6f1ed97ba6 lib/takeover/metasploit.py
8585
7083825564c051a7265cfdd1a5e6629c lib/takeover/registry.py
8686
7d6cd7bdfc8f4bc4e8aed60c84cdf87f lib/takeover/udf.py
8787
6836c641c554bd26fd57f28868ffa245 lib/takeover/web.py

0 commit comments

Comments
 (0)