From 5afccce3c69d930d261dfc6675f735f01f0bca06 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 28 Sep 2016 16:56:47 +0200 Subject: [PATCH] Minor patch --- lib/core/settings.py | 2 +- lib/takeover/metasploit.py | 4 +++- txt/checksum.md5 | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 7e9c9f441..e6f96da33 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.9.49" +VERSION = "1.0.9.50" REVISION = getRevisionNumber() TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} diff --git a/lib/takeover/metasploit.py b/lib/takeover/metasploit.py index ec89b515b..9038b18cb 100644 --- a/lib/takeover/metasploit.py +++ b/lib/takeover/metasploit.py @@ -429,10 +429,12 @@ class Metasploit: self._payloadCmd += " X > \"%s\"" % outFile else: if extra == "BufferRegister=EAX": - self._payloadCmd += " -a x86 -e %s -f %s > \"%s\"" % (self.encoderStr, format, outFile) + self._payloadCmd += " -a x86 -e %s -f %s" % (self.encoderStr, format) if extra is not None: self._payloadCmd += " %s" % extra + + self._payloadCmd += " > \"%s\"" % outFile else: self._payloadCmd += " -f exe > \"%s\"" % outFile diff --git a/txt/checksum.md5 b/txt/checksum.md5 index c471eb84b..2fefeced6 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -45,7 +45,7 @@ e60456db5380840a586654344003d4e6 lib/core/readlineng.py 5ef56abb8671c2ca6ceecb208258e360 lib/core/replication.py 99a2b496b9d5b546b335653ca801153f lib/core/revision.py 7c15dd2777af4dac2c89cab6df17462e lib/core/session.py -93027b08974d19287bac33be0cb19515 lib/core/settings.py +d9678d7975815c56e3ec2e526e9ed7d7 lib/core/settings.py 7af83e4f18cab6dff5e67840eb65be80 lib/core/shell.py 23657cd7d924e3c6d225719865855827 lib/core/subprocessng.py c3ace7874a536d801f308cf1fd03df99 lib/core/target.py @@ -81,7 +81,7 @@ b2ffd261947994f4a4af555d468b4970 lib/request/rangehandler.py 937b7e276f25ccac5a2ac0bf9b1ef434 lib/takeover/abstraction.py 3ecf028d8d93025d2a12c6f6fc13adb2 lib/takeover/icmpsh.py cc9c82cfffd8ee9b25ba3af6284f057e lib/takeover/__init__.py -1d064463302b85b2241263ea48a83837 lib/takeover/metasploit.py +2d39688ec1b871005b520b6f1ed97ba6 lib/takeover/metasploit.py 7083825564c051a7265cfdd1a5e6629c lib/takeover/registry.py 7d6cd7bdfc8f4bc4e8aed60c84cdf87f lib/takeover/udf.py 6836c641c554bd26fd57f28868ffa245 lib/takeover/web.py