updates
This commit is contained in:
parent
dd7f5764d5
commit
191eff5c92
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue