-
-
Notifications
You must be signed in to change notification settings - Fork 38
Managing listeners
andrei edited this page May 7, 2022
·
7 revisions
To create a listener in NimC2 you use the startlistener
(aliased sl
) command. Only TCP listeners are currently supported.
A TCP listener can be started using the following command: startlistener tcp
. This command accepts multiple flags:
-
--ip
/-i
(required): Supply the IP to listen on. This can be127.0.0.1
,0.0.0.0
or any other public IP address. -
--port
/-p
(required): Supply the port to listen on. This can be any integer from 0 to 65535.
Examples:
-
startlistener tcp --ip:127.0.0.1 --port:1337
: start a TCP listener listening on127.0.0.1:1337
-
startlistener tcp -i:0.0.0.0 -p:1337
: start a TCP listener listening on any address, port1337
-
startlistener tcp -i:192.168.0.19 -p:1337
: start a TCP listener listening on192.168.0.19:1337