Skip to content

Commit 4f061c8

Browse files
committed
Update document
1 parent ca75714 commit 4f061c8

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

documentation/modules/exploit/linux/http/empire_skywalker.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,19 @@ This module was successfully tested on:
2323
`docker pull bcsecurity/empire:v5.9.2`
2424
4. Run the server and the client on the same VM.
2525
5. Run the server.
26+
2627
`docker run -it --net="host" -v /tmp:/tmp -v /etc/cron.d:/etc/cron.d bcsecurity/empire:v5.9.2`
27-
(`--net="host" -v /tmp:/tmp -v /etc/cron.d:/etc/cron.d` is not realistic but for simplicity.)
28+
(`--net="host" -v /tmp:/tmp -v /etc/cron.d:/etc/cron.d` is not realistic but for simplicity
29+
and payload will be loaded in host not in container) or
30+
```
31+
docker run -it --net="host" bcsecurity/empire:v5.9.2
32+
docker exec -it <server container id> bash
33+
apt update
34+
apt install cron
35+
cron
36+
```
37+
\(Payload will be loaded in container but you have to manually set up cron on container.)
38+
2839
6. Run the client.
2940
`docker run -it --net="host" bcsecurity/empire:v5.9.2 client`
3041
7. Execute Empire listener on client.
@@ -44,6 +55,14 @@ execute
4455
5. `git checkout 03ca7bdbcc81457da8e8c1419b36adf66fe9b110`
4556
6. `docker pull empireproject/empire`
4657
7. `docker run -it --net="host" -v $(pwd):/opt/Empire -v /tmp:/tmp -v /etc/cron.d:/etc/cron.d empireproject/empire /bin/bash`
58+
59+
(Payload will be loaded in host not in container.) or
60+
```
61+
docker run -it --net="host" empireproject/empire /bin/bash
62+
cron
63+
```
64+
(Payload will be loaded in container but you have to manually set up cron on container.)
65+
4766
8. `cd setup`
4867
9. `./reset.sh` (Empire start)
4968
10. Execute listener.

0 commit comments

Comments
 (0)