exit status 1 stray '#' in program

Hi, i’m trying to make a wifi jammer with an ESP8266, i used the code posted on this github page (https://github.com/spacehuhn/esp8266_deauther)

But when i try to compile it, it shows this error message:

Does anyone knows how to fix it?

thanks so much

Arduino: 1.8.1 (Windows 10), Placa:“Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck”

esp8266_deauther:1: error: stray ‘#’ in program

do#include <Arduino.h>

^

esp8266_deauther:1: error: expected unqualified-id before ‘do’

do#include <Arduino.h>

^

In file included from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\new:40:0,

from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\ext\new_allocator.h:33,

from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\xtensa-lx106-elf\bits\c++allocator.h:33,

from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\allocator.h:46,

from c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\memory:63,

from C:\Users\Lucas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/WiFiClient.h:28,

from C:\Users\Lucas\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.0.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:32,

from C:\Users\Lucas\Desktop\wifi jammer\esp8266_deauther-master\esp8266_deauther\esp8266_deauther.ino:3:

c:\users\lucas\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\exception:35:37: error: expected declaration before end of line

#pragma GCC visibility push(default)

^

exit status 1
stray ‘#’ in program

Este relatório teria mais informações com
“Mostrar a saida detalhada durante a compilação”
opção pode ser ativada em “Arquivo → Preferências”

They've found a way to make an esp8266 act as a WiFi jammer? Operation of such a device would probably be illegal in most jurisdictions....

I'm afraid you won't get a lot of help here doing things that are illegal or have considerable nuisance effect.

I did help another person who had a different (more complex and interesting) problem trying to do this without really looking into what the purpose of the project was and kind of regretted it later. I get the concept of security through obscurity not working etc. but it seems like if you don't know enough to fix something simple like this then you're probably just a wanna-be script kiddie trying to ruin people's day being a "haxxor", not a security researcher with a legitimate purpose. There are so many amazing things you can do with an ESP8266. Do something productive and positive with your life.

(deleted)

The chances are in my view that the sketch contains a non-printable character.

I'd try writing a script file for your OS that checks each character for being greater than [ASCII] code 31 or REM out each line (or block of code) and verify until the line containing the fault is found then re-typing it manually.

Rgds,

Neil.

esp8266_deauther:1: error: expected unqualified-id before ‘do’

do#include <Arduino.h>

^

Why DO you have do in front of the #?

pert:
I did help another person who had a different (more complex and interesting) problem trying to do this without really looking into what the purpose of the project was and kind of regretted it later. I get the concept of security through obscurity not working etc. but it seems like if you don't know enough to fix something simple like this then you're probably just a wanna-be script kiddie trying to ruin people's day being a "haxxor", not a security researcher with a legitimate purpose. There are so many amazing things you can do with an ESP8266. Do something productive and positive with your life.

+1

wifi world is already a pain, no need to encourage wannabe buggers. go get a life

Wilful misuse of spectrum is a criminal offence in most countries, and often equipment is subject to
confiscation without appeal - and quite rightly because its really sabotage.