Giter Site home page Giter Site logo

spacehuhn / arduinoarpspoof Goto Github PK

View Code? Open in Web Editor NEW
267.0 267.0 91.0 893 KB

Kicks out everyone in your LAN via with an enc28j60 ethernet controller and Arduino.

License: MIT License

Arduino 100.00%
arduino arduino-nano arp arpspoof attack enc28j60 ethernet ethernet-controller lan

arduinoarpspoof's People

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

arduinoarpspoof's Issues

Error compiling for board Arduino Nano

i got a message while compiling the code on Arduino IDE.
`#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
#include<Adafruit_SSD1306.h>
const uint64_t pipeIn = 0xE8E8F0F0E1LL; //pipe address must be same with transmitter

RF24 radio(7, 8);

struct MyData {
byte p;

};

MyData data;

void setup()
{
Serial.begin(9600);
radio.begin();
radio.setAutoAck(false);
radio.setDataRate(RF24_250KBPS);

radio.openReadingPipe(1, pipeIn);
radio.startListening();
pinMode(2, OUTPUT);
}

void recvData()
{
if ( radio.available() )
{
radio.read(&data, sizeof(MyData));

if (data.p < 50) {
  digitalWrite(2, HIGH);
}
else {
  digitalWrite(2, LOW);
}

}
}
void loop()
{
recvData();
Serial.print("Range: ");
Serial.print(data.p);

}
`

exit status 1
Error compiling for board Arduino Nano.

im using nRF24L01 module with arduino nano. please help me....

Somethings off.

Hi guys,

I followed the guide. I connected the Arduino and the ethernet shield. I installed ethercard on my pc.
I uploaded the code to my Arduino. I plugged the ethernet cable in my shield and in my router and connected the arduino's power.
but still it doesn't work for some reason.
please help.

How to connect?

I have bought an ENC28J60 recently but it has only 10 pins. I want to use it with Arduino Uno. I would like to know the connections for the same. i have attached the photo of my ENC28J60 module.
p_20170414_220709

nano enc28j60 DoS attack?

This project is excellent, maybe, can I start a DoS flood attack via 'nano+enc28j60'?
Can you give me some advice?
Thank you.

Upload completed but not working

After verifying and uploading the code to the Arduino Nano, plug it into my router and provide power, nothing happens. Everything is uploaded, the ether-card library is installed and the Ethernet Shield lights flash. The TX and RX LED's don't flash when power is provided, they only flash when the upload is complete. The option for even the web interface isn't showing any results nor assigned an IP address. Not sure what else to do. Anyone know a solution?

Global Variables

Hello!

First off, thank you again for the 10/10 project and guide.
My friend and I got a totally not knockoff arduino nano, are we are running out of global variable sram, if I understand the term correctly. The nano is from amazon, but seems to check out as the same board as the one dear old seytonic recommended. Is this a noob mistake (probably), or is there something that can be done to troubleshoot this?

Thanks again!

Sketch uses 5508 bytes (38%) of program storage space. Maximum is 14336 bytes. **Global variables use 1061 bytes (103%) of dynamic memory, leaving -37 bytes for local variables. Maximum is 1024 bytes.** Not enough memory; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing your footprint. Error compiling for board Arduino Nano.

IP not printing in serial monitor

Hello,

I'm using web_en = true in the code.
I just uploaded the code to my arduino but during the upload process there was no IP printed out in the serial monitor.
How do I get the webpage IP exactly?

**UPDATE:
I changed the baud to 115200 which fixed the problem so now it displays:
ready!
waiting for LAN connection...

But still, how do I get the IP address?**

Much appreciated.

Web Interface counter loops at 65535

I believe this is due to the 8 bit nature of the micro controller i have tried unsigned long to store the value but that does not work either.

Maybe a loop count would work suchas, when arp_count = 65536 add 1 too the loop count then when echoing arp_count add the current count + loop count * 65535.

Showing this error while am uploading the code to nano , any idea?

Sketch uses 11404 bytes (37%) of program storage space. Maximum is 30720 bytes.
Global variables use 584 bytes (28%) of dynamic memory, leaving 1464 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x06
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x06

error compiling for board Arduino Nano

desktop 08 05 2017 - 17 55 43 03

Hi i am mostly new to arduino and this is my first real "project". I have purchased an arduino nano and an Ethernet shield, however when i try to upload the sketch it says error compiling for board arduino nano. my arduino is most likely fake, (since i got it for £2) yet i can successfully upload the "blink" example without any issues.
The fake board has an ATmega328 chip on it and CH340G on the bottom.

The error message says:

Arduino: 1.8.2 (Windows 10), Board: "Arduino Nano, ATmega328"

A:\programs\arduino\arduino-builder -dump-prefs -logger=machine -hardware A:\programs\arduino\hardware -tools A:\programs\arduino\tools-builder -tools A:\programs\arduino\hardware\tools\avr -built-in-libraries A:\programs\arduino\libraries -libraries A:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10802 -build-path C:\Users\COLEFO1\AppData\Local\Temp\arduino_build_461032 -warnings=none -build-cache C:\Users\COLEFO1\AppData\Local\Temp\arduino_cache_920256 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=A:\programs\arduino\hardware\tools\avr -verbose C:\Users\cole foster\Documents\my documents\cole foster\ArduinoARPspoof-master\ARPspoofer\ARPspoofer.ino
A:\programs\arduino\arduino-builder -compile -logger=machine -hardware A:\programs\arduino\hardware -tools A:\programs\arduino\tools-builder -tools A:\programs\arduino\hardware\tools\avr -built-in-libraries A:\programs\arduino\libraries -libraries A:\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328 -ide-version=10802 -build-path C:\Users\COLEFO1\AppData\Local\Temp\arduino_build_461032 -warnings=none -build-cache C:\Users\COLEFO1\AppData\Local\Temp\arduino_cache_920256 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=A:\programs\arduino\hardware\tools\avr -prefs=runtime.tools.avrdude.path=A:\programs\arduino\hardware\tools\avr -verbose C:\Users\cole foster\Documents\my documents\cole foster\ArduinoARPspoof-master\ARPspoofer\ARPspoofer.ino
Using board 'nano' from platform in folder: A:\programs\arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: A:\programs\arduino\hardware\arduino\avr
Detecting libraries used...
"A:\programs\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IA:\programs\arduino\hardware\arduino\avr\cores\arduino" "-IA:\programs\arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\COLEFO1\AppData\Local\Temp\arduino_build_461032\sketch\ARPspoofer.ino.cpp" -o "nul"
"A:\programs\arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10802 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IA:\programs\arduino\hardware\arduino\avr\cores\arduino" "-IA:\programs\arduino\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\COLEFO
1\AppData\Local\Temp\arduino_build_461032\sketch\ARPspoofer.ino.cpp" -o "C:\Users\COLEFO~1\AppData\Local\Temp\arduino_build_461032\preproc\ctags_target_for_gcc_minus_e.cpp"
C:\Users\cole foster\Documents\my documents\cole foster\ArduinoARPspoof-master\ARPspoofer\ARPspoofer.ino:8:22: fatal error: enc28j60.h: No such file or directory

#include <enc28j60.h>

                  ^

compilation terminated.

exit status 1
Error compiling for board Arduino Nano.

FIX. error when uploading to board (FIXED)

I don't know if I'm just doing something stupid here or what but I can't get this to upload to the board. Error below.

Sketch uses 5406 bytes (17%) of program storage space. Maximum is 30720 bytes.
Global variables use 759 bytes (37%) of dynamic memory, leaving 1289 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x82
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x82
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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.