esp8266_deauther icon indicating copy to clipboard operation
esp8266_deauther copied to clipboard

REQUEST: (Better) Raspberry Pi support - Screens, Buttons, LEDs, etc.

Open robin-weaver opened this issue 5 years ago • 6 comments

This is simply a suggestion!

The code works fantastically and I am so grateful to the dev for what they have done.

Put simply, the title sums this up. Currently, the firmware doesn't play too nicely with terminal emulators using a serial port (as another user raised in an issue). My current set up is:

  • Pi zero
  • ESP8266 (ESP01)
  • (Planned) 0.96" LCD
  • (Planned) Buttons for the Pi GPIO to control the deauther

Due to the current issue with this firmware and terminal emulators, I have written a custom script so I can send commands to the chip and view the output. It's messy and I'm sure someone else could do it better however I am but a noob. Adding gpio and custom screen support will not be easy for me however I will try my best, but if there was native linux/pi support I'm sure many people would be grateful.

I understand simply buying the NodeMCU or similar could bypass these problems but the Pi is a wonderful and versatile chip and if support could be added that would be fantastic.

Keep up the good work!

robin-weaver avatar May 24 '20 20:05 robin-weaver

Raspberry pi is much stronger device then nodemcu. It can run tools like aircrack-ng, mdk, etc. But I think that this project is mainly a way to port tools like aircrack-ng onto a cheap, low powered device like nodemcu.

M1z23R avatar May 29 '20 22:05 M1z23R

True, however I use the ESP as it means I can run these attacks etc while SSH'ing into the pi and not losing connection during monitor/injection as I can use the Pi's built in wifi in tandem with the ESP.

robin-weaver avatar May 30 '20 23:05 robin-weaver

@Ozymandias1700 I've tested the Pimoroni ESP IOT pHat on a Pi Zero and came up with two issues (specific to this build):

  1. not all buttons are connected to the ESP => requires extra logic
  2. simultaneous use of both WiFi devices can trigger brownout problems on both sides => better use an external WiFi dongle, possibly with a 10+cm cable extension

image

image

image

tobozo avatar May 31 '20 09:05 tobozo

I've done a similar project with the pi using bluetooth for ssh, what capabilities of esp8266deauther would you like on your pi? Web interface, lcd/button support or something else?

M1z23R avatar May 31 '20 11:05 M1z23R

Hey @tobozo , that's pretty impressive, nice work. @M1z23R yeah pretty much what you mentioned, I know a lot of the things I would like are easily addressed by simply using the NodeMCU or other boards but however I have a few Pis and a few ESP-01s which as you know are the barest ESP you can get. That means to add screen and button support it will have to be all DIY as the ESP-01 has only the necessary pins, no extra GPIOs. I think it would be useful to many to have more Pi support.

robin-weaver avatar May 31 '20 12:05 robin-weaver

Checkout this post for your PI. You won't need bettercap, you can do the steps until you've done setting up bluetooth (I've found encountered some issues trying to install bettercap on my rpizw).

I might give it a go on porting this to RPI.

https://www.evilsocket.net/2018/07/28/Project-PITA-Writeup-build-a-mini-mass-deauther-using-bettercap-and-a-Raspberry-Pi-Zero-W/

M1z23R avatar May 31 '20 12:05 M1z23R