Code Monkey home page Code Monkey logo

bunny's Issues

NetworkManager unmanage devices dynamically

Currently if NetworkManager is present, Bunny will be interrupted and the interface will usually be brought back to managed mode from monitor. This can be solved currently by adding the following line to /etc/NetworkManager/NetworkManager.conf:

[keyfile]
unmanaged-devices=mac:<MAC_ADDRESS_HERE>

I have tried looking at nmcli and the dbus interface and there does not appear to currently be a way to force NetworkManager to set a device as unmanaged dynamically. There appears to be an open ticket for this functionality here: https://bugzilla.gnome.org/show_bug.cgi?id=680909

Static Symmetric Keys

Bunny uses static symmetric keys. These keys found in keys.kz are known by an attacker, so they could easily write a program to decrypt traffic sent by bunny. Solutions include PKI, pre-shared keys, passwords, and so forth. All of these have their own difficulties. Secure crypto is difficult.

scapy implementations

Hello,

I'm curious to know how many packets per second you can rx/tx effectively. I use/would use scapy for a project like this. Would be interesting to collaborate with you on it.

Chat client exception

So I found another one while running the chat client, just pops up at random intervals. Afterwards the machine is able to transmit but not receive. Am only able to replicate this error on kali linux, ubuntu seems to be fine.

Exception in thread BunnyReadThread:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/root/bunnymk4/bunny/libbunny/bunny.py", line 203, in run
temp = type[2].decode(encoded)
File "/root/bunnymk4/bunny/libbunny/Templates.py", line 262, in decode
size, = struct.unpack("B", input[26:27])
error: unpack requires a string argument of length 1

Looked at the code but having trouble to grasp whats going on.

Ping pong transfer time error

The last update fixed the chat client but it did something to the ping pong. Pings are sent and received, pong is sent but not received and when it tries to print the summary eg. packets loss etc. it trows and exception when trying to calculate the transfer time.

root@bt:~/bunnymk2/bunny# python bunnyChat.py -p
ping timeout
ping timeout
ping timeout
ping timeout
ping timeout
ping timeout
ping timeout
ping timeout
ping timeout
ping timeout
received: 0 packets
Percent recv'd: 0.000000%
Traceback (most recent call last):
File "bunnyChat.py", line 246, in
main()
File "bunnyChat.py", line 192, in main
print "Mean time: %f" % (avg_time / count)
ZeroDivisionError: integer division or modulo by zero

Quick fix:
in bunnyChat.py line 192, change:
print "Mean time: %f" % (avg_time / count)
into:
if count > 0:
print "Mean time: %f" % (avg_time / count)

Exception when running chat client

Awesome work!!
When I run the chat client or just listen for a while it sometimes throws the following exception:

Exception in thread BunnyReadThread:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/root/bunny/libbunny/bunny.py", line 191, in run
temp = type[2].decode(encoded)
File "/root/bunny/libbunny/Templates.py", line 359, in decode
return temp_tags[0][2]
IndexError: list index out of range

For as far as Ive been able to figure out it does not affect the usage of the client.

Implement more packet types

Currently as of 935417f Bunny only has:
Beacon,
DataQOS,
ProbeRequest

Types templated out, this needs to expand to as many types as possible.

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.