-
-
Notifications
You must be signed in to change notification settings - Fork 40
Interacting and managing clients
andrei edited this page May 17, 2022
·
3 revisions
Once a victim executes your implant, you will receive a connection. You can view your connections using the clients
(aliased c
) command and listeners --clients
/l -c
. To interact with a client you can use the interact
(aliased i
) command by providing the client id, for example interact 0
/i 0
.
Once you started interacting with clients, the prompt will change to something like (username@hostname) nimc2 >
. A star will be added after the username indicating that the implant started as administrator or root (in case of linux).
When you are interacting with a client, you unlock few commands. These commands are listed in the Client Interaction
category in the help
command:
-
info
: show info about the client
-
shell "[command]"
: this run a command on a target computer. If nocommand
is supplied, you get put in ashell mode
where all of your commands from that point on will be ran as a shell command. To exitshell mode
, use theback
command. -
cmd "[command]"
: run a command by spawning cmd.exe -
download "[path]"
: download a file and print it's contents -
upload "[local path]" "[remote path]"
: upload a file -
msgbox "[title]" "[caption]"
: spawn a message box on Windows -
tokeninfo
: see your token groups and integrity -
processes
/ps
: view the processes on the target