Skip to content

Commit b8c3fad

Browse files
committed
python 3 is supported now too :)
1 parent 8c3c73a commit b8c3fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/post/multi/manage/shell_to_meterpreter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def run
8080
payload_name = 'linux/x86/meterpreter/reverse_tcp'
8181
lplat = [Msf::Platform::Linux]
8282
larch = [ARCH_X86]
83-
elsif cmd_exec('python -V') =~ /Python 2\.(\d)/
83+
elsif cmd_exec('python -V') =~ /Python (2|3)\.(\d)/
8484
# Generic fallback for OSX, Solaris, Linux/ARM
8585
platform = 'python'
8686
payload_name = 'python/meterpreter/reverse_tcp'

0 commit comments

Comments
 (0)