From 7c7b4994d5da77916dfe34bd45b89e7b1550313a Mon Sep 17 00:00:00 2001 From: dotaxis Date: Mon, 8 Jan 2018 18:59:48 -0700 Subject: [PATCH] Update coffeeMiner.py --- coffeeMiner.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/coffeeMiner.py b/coffeeMiner.py index 0403a1f..e5cf421 100644 --- a/coffeeMiner.py +++ b/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")