Merge pull request #250 from spacehuhn/testing

Merging testing
This commit is contained in:
Stefan Kremser
2017-06-06 20:37:05 +02:00
committed by GitHub
2 changed files with 7 additions and 5 deletions

View File

@@ -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:

View File

@@ -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 "