monkey/docs/content/usage/running-manually.md

34 lines
1.1 KiB
Markdown
Raw Normal View History

---
title: "Running Manually"
date: 2022-06-09T14:47:40+03:00
draft: false
weight: 2
pre: "<i class='fas fa-terminal'></i> "
tags: ["usage"]
---
## Generating manual run command
2022-06-10 01:37:52 +08:00
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
2022-06-10 01:37:52 +08:00
Agent binaries can be downloaded by sending a `GET` request to
`https://[IP]:5000/api/agent/download/[OS]`, where `[IP]` stands for the IP
address of the Island server and `[OS]` is either `windows` or `linux`.
### Running the agent binary
2022-06-10 01:37:52 +08:00
The agent binary must be started with either the `m0nk3y` or `dr0pp3r` flag.
2022-06-10 01:37:52 +08:00
The `m0nk3y` flag is the standard way to run the agent.
2022-06-10 01:37:52 +08:00
The `dr0pp3r` flag invokes the agent dropper. The dropper will move the agent
binary to a location provided with the `-l` flag. Then, it will start the agent
with the `m0nk3y` flag as a new process. Finally, the dropper will shut itself
down. This flag is useful if you want to detach the agent from an exploited
service or parent process. It alleviates the need for the parent process to
wait until the agent finishes.