@@ -80,9 +80,11 @@ def __initVars(self):
80
80
81
81
self .__msfPayloadsList = {
82
82
"windows" : {
83
- 1 : ( "Meterpreter (default)" , "windows/meterpreter" ),
84
- 2 : ( "Shell" , "windows/shell" ),
85
- 3 : ( "VNC" , "windows/vncinject" ),
83
+ 1 : ( "Reflective Meterpreter (default)" , "windows/reflectivemeterpreter" ),
84
+ 2 : ( "Meterpreter" , "windows/meterpreter" ),
85
+ 3 : ( "Shell" , "windows/shell" ),
86
+ 4 : ( "Reflective VNC" , "windows/reflectivevncinject" ),
87
+ 5 : ( "VNC" , "windows/vncinject" ),
86
88
},
87
89
"linux" : {
88
90
1 : ( "Shell" , "linux/x86/shell" ),
@@ -196,7 +198,7 @@ def __selectPayload(self, askChurrasco=True):
196
198
infoMsg += "'incognito' extension to privilege escalate"
197
199
logger .info (infoMsg )
198
200
199
- __payloadStr = "windows/meterpreter "
201
+ __payloadStr = "windows/reflectivemeterpreter "
200
202
201
203
else :
202
204
__payloadStr = self .__skeletonSelection ("payload" , self .__msfPayloadsList )
@@ -230,14 +232,14 @@ def __selectPayload(self, askChurrasco=True):
230
232
if choose == True :
231
233
message = "what do you want to do?\n "
232
234
message += "[1] Give it a try anyway\n "
233
- message += "[2] Fall back to Meterpreter payload (default)\n "
235
+ message += "[2] Fall back to reflective Meterpreter payload (default)\n "
234
236
message += "[3] Fall back to Shell payload"
235
237
236
238
while True :
237
239
choice = readInput (message , default = "2" )
238
240
239
241
if not choice or choice == "2" :
240
- __payloadStr = "windows/meterpreter "
242
+ __payloadStr = "windows/reflectivemeterpreter "
241
243
242
244
break
243
245
@@ -622,7 +624,7 @@ def createMsfPayloadStager(self, initialize=True):
622
624
packedSize = upx .pack (self .exeFilePathLocal )
623
625
debugMsg = "the encoded payload size is %s bytes, " % payloadSize
624
626
625
- if packedSize :
627
+ if packedSize and packedSize != exeSize :
626
628
debugMsg += "as a compressed portable executable its size "
627
629
debugMsg += "is %d bytes, decompressed it " % packedSize
628
630
debugMsg += "was %s bytes large" % exeSize
0 commit comments