Skip to content

Commit

Permalink
README and simple stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberRoute committed Oct 20, 2024
1 parent 84ca48e commit 8bdc44d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ Ensure the following dependencies are installed:
## Requirements

- **Python 3.12+**
- **pipenv**: For managing the virtual environment and dependencies.
- **scapy**: For ARP scanning and packet manipulation.
- **PySide6**: For building the graphical user interface.
- **netifaces**: To retrieve network interface details.
Expand Down
13 changes: 6 additions & 7 deletions core/arp_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,10 @@ def run(self):
print(f"Error during ARP scan: {e}")
self.finished.emit([])
return
for _, packet in enumerate(arp_packets):
if packet[1].haslayer(ARP):
ip_address = packet[1][ARP].psrc
mac = packet[1][ARP].hwsrc
device_vendor = self.mac_vendor_lookup.lookup_vendor(mac)
hostname = net.get_hostname(ip_address)
arp_results.append((ip_address, mac, hostname, device_vendor, packet[1][ARP]))
for packet in arp_packets:
ip_address = packet[1][ARP].psrc
mac = packet[1][ARP].hwsrc
device_vendor = self.mac_vendor_lookup.lookup_vendor(mac)
hostname = net.get_hostname(ip_address)
arp_results.append((ip_address, mac, hostname, device_vendor, packet[1][ARP]))
self.finished.emit(arp_results)

0 comments on commit 8bdc44d

Please sign in to comment.