Giter Club home page Giter Club logo

esp8266-deauth's People

Contributors

randdruid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8266-deauth's Issues

Help with setting up Arduino IDE

Hi,

I've been trying to configure Arduino IDE with the patched sdk13, to no avail.
Couldn't make out the exact steps from the other issues.
Is there anybody who made this work (preferably on linux) and who could share the steps?
I have Arduino IDE 1.6.7 and tried both 2.0.0-rc1 (as vinorasu mentioned) and 2.1.0-rc2
I downloaded sdk15 via board manager, I copied the three directories from sdk13 to sdk15, prepended the four lines from hackaday project into user_interface.h and I am getting the following error:

http://pastebin.com/y3jQFPnz

What am I doing wrong?

Thanks for help

no deauthentication

set channel = 1
Serial Output looks fine:
DeAuth to ---->CLIENT: eca86b29a101 works with: [NeighborAP1] 33330000000c 6 -94
DeAuth to ---->CLIENT: 789f700f7636 works with: [NeighborAP2] 333300000016 8 -91
DeAuth to ---->CLIENT: 3ca9f4945c2c works with: [NeighborAP3] 333300010002 11 -98
DeAuth to ---->CLIENT: 025ba88e8207 works with: [NeighborAP4] ffffffffffff 11 -86
DeAuth to ---->CLIENT: 00223f8e713b works with: [MyAP] XXXXXmyMACXX 1 -67
DeAuth to ---->CLIENT: eca86b29a101 works with: [NeighborAP1] 33330000000c 6 -94
DeAuth to ---->CLIENT: 789f700f7636 works with: [NeighborAP2] 333300000016 8 -91
DeAuth to ---->CLIENT: 3ca9f4945c2c works with: [NeighborAP3] 333300010002 11 -98

what should 00223f8e713b be?
I also see no deauth packets in wireshark
plz help!

How to rollback to SDK 1.3?

Hi, great project!

I am having trouble getting it to work. I am using the same Arduino and ESP8266-Core versions like you but I cant seem to get the SDK 1.3 working.
after changing out the sdk in \AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0-rc2\tools\sdk to version 1.3 and editing the user_interface.h file, there are lots of double declaration and type redefinition errors.
What am I missing? How did you do it?

which files or folders you copied from the old sdk 13?

hi RandDruid,
, nicely done ,you got my admiration!
I am having issues replicating this ,mostly the porting of sdk 13 to arduino environment.

I did the modifications in "user_interface.h" (sdk13 and sdk 15 tested) but still the return from the wifi_send_pkt_freedom() is -1 ,as it
has failed to send. beacon and data packets return 0 as succeded to send.
I have IDE v. 1.6.5 + esp8266 support 2.1.0-rc2

as test, I copied the old sdk into the new one:
from the staging release 2.1.0-rc2 I have an SDK folder that contains the folders: INCLUDE, LD and LIB . I copied the 3 folders from sdk13 to the folder sdk of arduino IDE , modified "user_interface.h" but then there are many errors , most probably I am not using the same files as you do.

Could you please explain which files or folders you copied from the old sdk 13?

I have put the same question on hackaday.io please disregard one of them.
thanks in advance & regards

No Deauth with wireshark

I am unable to see any deauth when monitoring with wireshark. How can I find out if its working?
It does seem to disconnect my iphone from the wifi, and one of my laptops was disconnected at one point.

Serial to the ESP says:
CLIENT: 20cf30b44812 works with: [ The Batcave] ffffffffffff 7 -73
DeAuth to ---->CLIENT: 6ce873d2be02 works with: [ The Batcave] ffffffffffff 7 -75

I have added typedef void (*freedom_outside_cb_t)(uint8 status); int wifi_register_send_pkt_freedom_cb(freedom_outside_cb_t cb); void wifi_unregister_send_pkt_freedom_cb(void); int wifi_send_pkt_freedom(uint8 *buf, int len, bool sys_seq);

to the end of user_interface.h as I wasn't sure where it needed to be. I am using version 2.0.0 RC2

Refresh AP and STA lists

Thank you for making your code available. I think there is a problem wherein an AP can be added while the loop is running or a MAC/SSID could be changed or spoofed and program would not detect the new devices. I admit I don't fully understand the code but as tested, I plugged in a new router and it was successful at evading the attack.

I considered placing all of the void loop() inside a nonblocking loop but have not tested it. My crappy coding skills led me to think that I could just apply a nonblocking timer to have it restart every minute or so.
Something like this as the first step in the loop():

  unsigned long currentMillis = millis();

  if (currentMillis - previousMillis >= interval) {
    //Do something here
    ESP.restart();
    // save the last time you reset the ESP
    //I'm thinking this is superfluous b/c it will be reset every time it starts but whatever.
    previousMillis = currentMillis;
  }

Thoughts?

New features whitelist

Hello
Thanks for your source code :-) ๐Ÿ‘

I add a white list feature see below my code :


//ON THE STOP
#define WHITELIST_LENGTH 2
uint8_t whitelist[WHITELIST_LENGTH][ETH_MAC_LEN] = { { 0x77, 0xEA, 0x3A, 0x8D, 0xA7, 0xC8 }, {  0x40, 0x65, 0xA4, 0xE0, 0x24, 0xDF } };


bool check_whitelist(uint8_t *MacAdress){
  unsigned int i=0;
  for(i=0;i<WHITELIST_LENGTH;i++){
    if(MacAdress[0]==whitelist[i][0] && MacAdress[1]==whitelist[i][1] && MacAdress[2]==whitelist[i][2] && MacAdress[3]==whitelist[i][3] && MacAdress[4]==whitelist[i][4] && MacAdress[5]==whitelist[i][5]){
         Serial.print("/!\\ Avoid DEAUTH WHITELISTED BSSID : ");
         Serial.print(MacAdress[0],HEX);
         Serial.print(":");
         Serial.print(MacAdress[1],HEX);
         Serial.print(":");
         Serial.print(MacAdress[2],HEX);
         Serial.print(":");
         Serial.print(MacAdress[3],HEX);
         Serial.print(":");
         Serial.print(MacAdress[4],HEX);
         Serial.print(":");
         Serial.println(MacAdress[5],HEX);
         return true;

    }
  }
  return false;
}

Below call deauth function

check_whitelist(aps_known[ua].bssid)

This work like a charm :-)

Now you can deauth and use your wifi alone

Have a nice day

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.