Empire also supports Python-based modules. This means that any OS which has Python installed on them is supported as well. Let's take a look at how we can perform post exploitation on Linux using Empire.
To begin with, let's create a one-liner stager for Linux. This can be achieved by using a Bash launcher. To use the Bash launcher, execute the usestager multi/bash command and info command to view its options:
![](https://static.packt-cdn.com/products/9781788995238/graphics/assets/8339c634-a98a-4748-b8ec-c922bd2d34cc.png)
Let's follow the usual process. Start by setting the listener and generating the one-liner stager using the execute command:
![](https://static.packt-cdn.com/products/9781788995238/graphics/assets/1a88961d-7c26-4b97-ab54-4b6546f28557.png)
Once the stager is executed on the target Linux server, the staging process will begin:
![](https://static.packt-cdn.com/products/9781788995238/graphics/assets/3dcb3c98-8b82-481f-a8a2-5d0a3e99c6f0.png)
A new agent is connected back to the Empire C2:
![](https://static.packt-cdn.com/products/9781788995238/graphics/assets/dacf26ed-ebef-4905-ac11-839946fffe23.png)
Let's interact with the agent and get the basic system information using the sysinfo command:
![](https://static.packt-cdn.com/products/9781788995238/graphics/assets/cfb410b8-f0c0-4570-ac96-f57d0776e20f.png)
From the agent list, we can see that the agent is not a high...