Esp8266_deauther: stop attack from serial input

Created on 17 Dec 2019  路  3Comments  路  Source: SpacehuhnTech/esp8266_deauther

i wanted to know if there is any way of stopping an attack by sending a serial command other than attack timeout

question stale

Most helpful comment

If you are controlling via serial UART and sending commands, why can't you simply type stop?

All 3 comments

You can connect to a GPIO/Serial port (it depends what device you are using) and then code that yourself. It should looks like something like that :

#define atkPort 8 // Just taking arbitrary values in the whole program, adapt to your needs

void setup() {
      [your setup function here]
      pinMode(atkPort, INPUT);
}

void loop() {
     [your loop function here]
     if(digitalRead(atkPort) == LOW) {
          // TODO : stop attack
     }
}

If you are controlling via serial UART and sending commands, why can't you simply type stop?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings