Bettercap is a tool used to perform network attack like the man in the middle attack, arp spoofing attack, Https bypass and other, its easy to use bettercap you just need a Linux machine with bettercap installed on it lets look how to install bettercap and use it.
Installation
apt-get update
apt-get install bettercap
Usage
help any.proxy
This command will show you the help of the selected module and its parameter. like help wifi will show you the options for wifi modules and its parameter, like that you can check all the modules help.
To run or start a module type the module and on like – any.proxy on, wifi on etc.
set any.proxy.dst_address
Set option allow you to change the parameter of any modules, for example, any.proxy is a module and it has some parameters like any.proxy.dst and others to change the value of parameter use set command like.—– set any.proxy.src_port 8080 this will be the same for every parameter for every module
Attack
ARP Spoofing
help arp.spoof
You can see the help option and arp.spoof parameters which you can set. use the following command to setup the arpspoof attack.
Arp.spoof on – turn on arp spoof attack
set arp.spoof.targets 192.168.x.X – set target on which you want to perform this attack enter the target IP address if you don’t set target it will perform the attack on every machine on the network.
net.probe on – net.probe is another module which scans the available device in the network so you can attack them. its important to turn it on because without net.probe arp attack will start but no target will be found to attack.
net.sniff on – when arp attack is on every packet will flow through attacker machine but to capture them net.sniif should be on.
READ: What is ARP and ARP Spoofing
Now you will be able to capture the packet and can see in the terminal (HTTP only)