Payload modules – In Metasploit, More modules are found This payload module is one of them. and the Metasploit have different types of payloads
What is the payload?
Payload is nothing but is a simple script that hackers utilize to interact with a hacked system. Using payloads, they can transfer data to a victim system.
The Metasploit payloads classified into three types
- Singles
- Staged
- Stages
Singles are very small and designed to create some kind of communication, then move to the next stage. For example, just creating a user.
It is a payload that an attacker can use to upload a bigger file onto a victim system.
Stages are payload components that are downloaded by Stager’s modules. The various payload stages provide advanced features with no size limits such as Meterpreter and VNC Injection.
How to use payload modules?
Step 1:
First, we need to start Metasploit in our terminal so type the below command.
q – quick mode
msfconsole -q
Step 2:
After that type the below command to find all Metasploit payloads.
search payloads
Step 3:
Now select which payload you want to use. I select exploit/windows/http/cayin_xpost_sql_rce p module
use ( module name )
use exploit/windows/http/cayin_xpost_sql_rce
After choosing payload type the below command to know how to set up this payload
show options
For example if you set payload name means type the below command.
set payloadname errorsfind
Step 4:
Once you complete all the above steps type the below command to execute the payload.
run
Post a Comment