Search the Community
Showing results for tags 'bettercap'.
Found 3 results
I am working on a Alpine Linux based OS, and bettercap is being used to communicate with raspbery Pi devices. Im taking in readings for WiFi signals and their Access Points, as well as GPS Coordinates. I wanted to ask how, if possible, to obtain readings of the gps.show commands to be outputted on to the my own AWS servers, or maybe just a log file that can be accessed and read (from there I could be extracted and outputted to wherever needed). I seen the event sessions go file and the wifi events being created, and noticed there was nothing for GPS, and was wondering if there was a way to input GPS Event sessions, so that gps coordiantes would be displayed there in intervals (via ticker). Any help would be greatly appreciated
I wanted to start playing with bashbunny through my Pineapple Tetra. I guess it should be similar for nano but so far didn’t test. Thought I would share my findings in case anyone else was interested. First and simplest of all you can install screen via opkg on your pineapple and connect to a bashbunny in arming mode: - opkg update && opkg install screen screen 115200 /dev/ttyACM0 For a while I tried getting the bashbunny storage to mount but after a bit of poking about I think the kernel needs FAT support as per this bug report before that can happen. Then Lastly I wanted to get network access to the bashbunny and ideally share the tetras internet connection to the bashbunny. WARNING - It might not be 100% correct but this is what I did. Use ECM_ETHERNET as attack method and edit the following files in the pineapples /etc/config: - Edit /etc/config/network to include the below config interface 'usb2' option ifname 'eth2' option proto 'static' option ipaddr '172.16.64.64' option netmask '255.255.255.0' option gateway '172.16.42.42' option dns '184.108.40.206, 220.127.116.11' and Edit /etc/config/firewall to include the below. config zone option name eth2 list network 'eth2' option input ACCEPT option output ACCEPT option forward ACCEPT option masq 1 option mtu_fix 1 config forwarding option src lan option dest eth2 config forwarding option src eth2 option dest lan After a reboot I connected the bashbunny to the pineapple and from the pineapples terminal was able to ssh into the bashbunny at 172.16.64.1, Final test was being able to ping out and apt-get update successfully. Also and maybe more interestingly to some, I was able to run nmap against pineapple clients as I hoped opening up some further "fun" in the future. Hope this helps someone. Cheers all
Just a little heads up for anyone who gets stuck, if you connect your nano directly to your laptop and run bettercap inorder to mitm clients connected to the nano via your laptop, when you run bettercap it will detect you home router (or whatever your laptop is connected to) as your gateway ie 192.168.0.1 and you will get error of not being able to get router mac address, In order for this to work properly you have to use to -G flag in bettercap and set your gateway as the pineapple address 172.16.42.1 and then it will enable you to mitm your connected clients browsing the web via your laptop :)