This commit is contained in:
Tristan Smith 2024-05-03 13:44:15 -04:00
parent dd7f5764d5
commit 191eff5c92
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
# reporter # reporter
I started using linux again and needed something like this. This only works on Antminers right now. And maybe not all of them. I only have access to a couple different machines. I started using linux again and needed something like this. This only works on Antminers right now. And maybe not all of them. I only have access to a couple different machines.
## dependencies
scapy
admin privileges

View file

@ -17,7 +17,7 @@ def extract_packet_info(packet):
if (packet[IP].dst == destination_ip and if (packet[IP].dst == destination_ip and
udp_source_port == source_port and udp_source_port == source_port and
udp_destination_port == destination_port): udp_destination_port == destination_port):
print("Source IP Address:", source_ip) print("Miner IP:", source_ip)
#print("UDP Source Port:", udp_source_port) #print("UDP Source Port:", udp_source_port)
#print("UDP Destination Port:", udp_destination_port) #print("UDP Destination Port:", udp_destination_port)