Metasploit Generates Payload
This note is for generating payload using Metasploit.
Use generate
command:
1 2 3 4 5 6 7 |
|
Here I use reverse_https to generate payload and inject to plink.exe as a template.
options:
-t ------ payload format
-f ------ payload output
-x ------ injection template
This step will generate reverse https payload and use plink.exe as a template, write to file false.exe and send it to the target.
In order to get the reverse https shell, I have to set up multi handler:
Set up multi handler
1 2 3 4 5 6 7 8 9 |
|
Once the victim run the false.exe on the target machine, it will initlize a reverse https connection to the attacker.