infinition / Bjorn

Bjorn is a powerful network scanning and offensive security tool for the Raspberry Pi with a 2.13-inch e-Paper HAT. It discovers network targets, identifies open ports, exposed services, and potential vulnerabilities. Bjorn can perform brute force attacks, file stealing, host zombification, and supports custom attack scripts.
MIT License
2.36k stars 96 forks source link

Add static assignment of IP #26

Open LoveMeAShitshow opened 1 week ago

LoveMeAShitshow commented 1 week ago

So there's a lot of devices on my network which occasionally leads to DHCP misasigning IPs and setting ip via ssh ifconfig wlan0 [local ip address] doesn't change what orchestrator scans even once I have turned it off and back on. Is there any plan to add static ip assignment to the project in the roadmap?

infinition commented 1 week ago

Hi ! I'm not entirely sure I fully understand your issue, but I wanted to clarify that, for now, Bjorn is just a .sh auto-installation script. I've left the OS and network configuration up to each user to handle individually.

That said, static IP configuration may indeed become a subject once we release a version with a complete OS image.

As for the orchestrator, it doesn’t perform the scan itself. Instead, it calls the scanning.py script, which retrieves the subnet from the local IP address to scan that specific subnet.

LoveMeAShitshow commented 1 week ago

My home network runs on 192.168.1.0/24. When connecting to my network it's assigning to a 192 168.20.0/24 address, it's been a problem with my network, when I change the IP to static using ifconfig it doesn't change the subnet of the ip and upon restarting it doesn't save the static ip for the network.

LoveMeAShitshow commented 1 week ago

I found a workaround using nmcli instead of ifconfig