Git Product home page Git Product logo

pydhcpstarvator's People

Contributors

peppelinux avatar rishithaminol avatar

Stargazers

 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

pydhcpstarvator's Issues

Broken listener

Hi, I'm suspecting that when moving to python3 something broke: I'm trying to play with the listener starvation attack (as in README), but whenever the listener receives a packet, it responds with
File "/root/pyDHCPStarvator/arp_ping.py", line 17, in get_mac arp_hdr = ARP(op=ARP.who_has, pdst=ip_addr) # ARP header with 'who has this IP with MAC?' File "/usr/local/lib/python3.7/dist-packages/scapy/base_classes.py", line 246, in __getattr__ raise AttributeError(attr) AttributeError: who_has
I also tried to "hard code" the op=1, but then another error happens:
File "/usr/local/lib/python3.7/dist-packages/scapy/route.py", line 155, in route atol_dst = atol(_dst) File "/usr/local/lib/python3.7/dist-packages/scapy/utils.py", line 468, in atol ip = inet_aton(socket.gethostbyname(x)) socket.gaierror: [Errno -2] Name or service not known
Should I switch to python2 branch (18 commits behind)?

listener.py not working - change i scapy

Hi Guiseppe,

It's been a while since last commit to this, but I'll try here before diving into the code myself.

When running listener.py it doesn't parse the packages correctly.

root@dhcpstarv:~/pyDHCPStarvator# python3 listener.py -i ens224
Start DHCP listener on interface 'ens224' with filter 'port 68 and port 67'
DHCP OFFER from: n []
DHCP OFFER from: n []
DHCP OFFER from: n []

Perhaps there was a change in the scapy module?

Happy new year René

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.