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.
I wanted to make it work for an RPi2b I had laying around and its only having a ethernet port.
So a changed the following code to bypass the WiFi Check in Bjorn.py:
# def is_wifi_connected(self):
# """Checks for Wi-Fi connectivity using the nmcli command."""
# result = subprocess.Popen(['nmcli', '-t', '-f', 'active', 'dev', 'wifi'], stdout=subprocess.PIPE, text=True).c># self.wifi_connected = 'yes' in result
# return self.wifi_connected
def is_wifi_connected(self):
"""Always returns True for Wi-Fi connectivity."""
self.wifi_connected = True
return self.wifi_connected
Hi,
I wanted to make it work for an RPi2b I had laying around and its only having a ethernet port. So a changed the following code to bypass the WiFi Check in Bjorn.py: