From 2c0529730aad4d984fe57a74df43b93c1b6a9bbc Mon Sep 17 00:00:00 2001 From: Stefan Kremser Date: Tue, 6 Jun 2017 10:55:57 +0200 Subject: [PATCH 1/3] Zero width car in SSID clone --- esp8266_deauther/SSIDList.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/esp8266_deauther/SSIDList.cpp b/esp8266_deauther/SSIDList.cpp index 077b296..588fb73 100644 --- a/esp8266_deauther/SSIDList.cpp +++ b/esp8266_deauther/SSIDList.cpp @@ -39,10 +39,12 @@ void SSIDList::addClone(String name, int num) { for (int c = 0; c < SSIDListLength && c < num; c++) { _apName = name; - if (c < _restSSIDLen) for (int d = 0; d < _restSSIDLen - c; d++) _apName += " "; //e.g. "SAMPLEAP " - else if (c < _restSSIDLen * 2) { - _apName = " " + _apName; - for (int d = 0; d < (_restSSIDLen - 1) - c / 2; d++) _apName += " "; //e.g. " SAMPLEAP " + if (c < _restSSIDLen){ + for (int d = 0; d < _restSSIDLen - c; d++) _apName += " "; //e.g. "SAMPLEAP " + } else if (c < _restSSIDLen * 2) { + //_apName = " " + _apName; + _apName = "\u200B"+_apName; + for (int d = 0; d < (_restSSIDLen - 3) - c / 2; d++) _apName += " "; //e.g. "SAMPLEAP " (zero widtdh char at the beginning) } else if (c < _restSSIDLen * 3) { _apName = "." + _apName; for (int d = 0; d < (_restSSIDLen - 1) - c / 3; d++) _apName += " "; //e.g. ".SAMPLEAP " From 4c88a3eac55bf3e6a995900424c20eece95b3ca4 Mon Sep 17 00:00:00 2001 From: Stefan Kremser Date: Tue, 6 Jun 2017 10:55:57 +0200 Subject: [PATCH 2/3] Zero width char in SSID clone --- esp8266_deauther/SSIDList.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/esp8266_deauther/SSIDList.cpp b/esp8266_deauther/SSIDList.cpp index 077b296..588fb73 100644 --- a/esp8266_deauther/SSIDList.cpp +++ b/esp8266_deauther/SSIDList.cpp @@ -39,10 +39,12 @@ void SSIDList::addClone(String name, int num) { for (int c = 0; c < SSIDListLength && c < num; c++) { _apName = name; - if (c < _restSSIDLen) for (int d = 0; d < _restSSIDLen - c; d++) _apName += " "; //e.g. "SAMPLEAP " - else if (c < _restSSIDLen * 2) { - _apName = " " + _apName; - for (int d = 0; d < (_restSSIDLen - 1) - c / 2; d++) _apName += " "; //e.g. " SAMPLEAP " + if (c < _restSSIDLen){ + for (int d = 0; d < _restSSIDLen - c; d++) _apName += " "; //e.g. "SAMPLEAP " + } else if (c < _restSSIDLen * 2) { + //_apName = " " + _apName; + _apName = "\u200B"+_apName; + for (int d = 0; d < (_restSSIDLen - 3) - c / 2; d++) _apName += " "; //e.g. "SAMPLEAP " (zero widtdh char at the beginning) } else if (c < _restSSIDLen * 3) { _apName = "." + _apName; for (int d = 0; d < (_restSSIDLen - 1) - c / 3; d++) _apName += " "; //e.g. ".SAMPLEAP " From e708fd845783d4e58aed352aefd628cea206c14f Mon Sep 17 00:00:00 2001 From: Stefan Kremser Date: Tue, 6 Jun 2017 20:36:36 +0200 Subject: [PATCH 3/3] changed ESP8266 wikipedia link to english site --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e94721..45d7a74 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,7 @@ deauth attack: https://en.wikipedia.org/wiki/Wi-Fi_deauthentication_attack deauth frame: https://mrncciew.com/2014/10/11/802-11-mgmt-deauth-disassociation-frames/ ESP8266: -* https://de.wikipedia.org/wiki/ESP8266 +* https://en.wikipedia.org/wiki/ESP8266 * https://espressif.com/en/products/hardware/esp8266ex/overview packet injection with ESP8266: