Docs: Copyedits to running-manually.md

This commit is contained in:
Mike Salvatore 2022-06-09 13:37:52 -04:00
parent 01bb7dd2b4
commit f0fbafc01a
1 changed files with 13 additions and 12 deletions

View File

@ -10,23 +10,24 @@ tags: ["usage"]
## Generating manual run command ## Generating manual run command
Manual run command can be generated through the Island Server UI, by going to "Run Monkey" -> "Manual" page. A command to run the agent manually can be generated by the Island Server UI by
going to the "Run Monkey" -> "Manual" page.
### Downloading the agent manually ### Downloading the agent manually
As evident by the generated commands, agent binaries can be downloaded Agent binaries can be downloaded by sending a `GET` request to
by sending a get request to `https://[IP]:5000/api/agent/download/[OS]`, where `https://[IP]:5000/api/agent/download/[OS]`, where `[IP]` stands for the IP
`[IP]` stands for the IP address of the Island server and `[OS]` is either `windows` or `linux`. address of the Island server and `[OS]` is either `windows` or `linux`.
### Running the agent binary ### Running the agent binary
Agent binary can be started with `m0nk3y` or `dr0pp3r` flags. The agent binary must be started with either the `m0nk3y` or `dr0pp3r` flag.
`m0nk3y` flag is the standard way The `m0nk3y` flag is the standard way to run the agent.
to run the agent.
`dr0pp3r` will move the agent binary to a location provided with an `-l` flag. The `dr0pp3r` flag invokes the agent dropper. The dropper will move the agent
Then it will start that binary with a `m0nk3y` flag on a new process. Finally, it will stop binary to a location provided with the `-l` flag. Then, it will start the agent
the current process and shut down. This flag is useful if you want to start the agent on a separate with the `m0nk3y` flag as a new process. Finally, the dropper will shut itself
process. This flag is used by the agent to execute other agents on exploited machines. down. This flag is useful if you want to detach the agent from an exploited
This way, the parent agent doesn't have to wait until the child finishes to continue the execution. service or parent process. It alleviates the need for the parent process to
wait until the agent finishes.