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")