File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed
documentation/modules/exploit/linux/http Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,19 @@ This module was successfully tested on:
23
23
` docker pull bcsecurity/empire:v5.9.2 `
24
24
4 . Run the server and the client on the same VM.
25
25
5 . Run the server.
26
+
26
27
` 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
+
28
39
6 . Run the client.
29
40
` docker run -it --net="host" bcsecurity/empire:v5.9.2 client `
30
41
7 . Execute Empire listener on client.
@@ -44,6 +55,14 @@ execute
44
55
5 . ` git checkout 03ca7bdbcc81457da8e8c1419b36adf66fe9b110 `
45
56
6 . ` docker pull empireproject/empire `
46
57
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
+
47
66
8 . ` cd setup `
48
67
9 . ` ./reset.sh ` (Empire start)
49
68
10 . Execute listener.
You can’t perform that action at this time.
0 commit comments