Codebase list powershell-empire / 7b51550
Refresh patches Sophie Brun 4 years ago
2 changed file(s) with 11 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
1010 5 files changed, 25 insertions(+), 6 deletions(-)
1111
1212 diff --git a/empire b/empire
13 index 2e2ee5c..52de8b4 100755
13 index 3a6f4f1..2423ad3 100755
1414 --- a/empire
1515 +++ b/empire
1616 @@ -9,6 +9,22 @@ import hashlib
6868 conn.isolation_level = None
6969 return conn
7070 diff --git a/lib/common/empire.py b/lib/common/empire.py
71 index b834ce6..daf4202 100644
71 index 86efdb2..19a12ed 100644
7272 --- a/lib/common/empire.py
7373 +++ b/lib/common/empire.py
7474 @@ -316,7 +316,8 @@ class MainMenu(cmd.Cmd):
1010 ---
1111 data/agent/stagers/dropbox.jinja2 | 133 +++++++++++++++++++++++++++++++++++++
1212 data/agent/stagers/dropbox.py | 135 --------------------------------------
13 data/agent/stagers/http.jinja2 | 101 ++++++++++++++++++++++++++++
14 data/agent/stagers/http.py | 103 -----------------------------
13 data/agent/stagers/http.jinja2 | 99 ++++++++++++++++++++++++++++
14 data/agent/stagers/http.py | 101 ----------------------------
1515 lib/listeners/dbx.py | 2 +-
1616 lib/listeners/http.py | 4 +-
1717 lib/listeners/redirector.py | 2 +-
1818 lib/stagers/multi/pyinstaller.py | 4 +-
19 8 files changed, 240 insertions(+), 244 deletions(-)
19 8 files changed, 238 insertions(+), 242 deletions(-)
2020 create mode 100644 data/agent/stagers/dropbox.jinja2
2121 delete mode 100644 data/agent/stagers/dropbox.py
2222 create mode 100644 data/agent/stagers/http.jinja2
304304 -exec(agent)
305305 diff --git a/data/agent/stagers/http.jinja2 b/data/agent/stagers/http.jinja2
306306 new file mode 100644
307 index 0000000..29575f3
307 index 0000000..0a8fe28
308308 --- /dev/null
309309 +++ b/data/agent/stagers/http.jinja2
310 @@ -0,0 +1,101 @@
310 @@ -0,0 +1,99 @@
311311 +"""
312312 +This file is a Jinja2 template.
313313 + Variables:
318318 + stage_1
319319 + stage_2
320320 +"""
321 +from __future__ import print_function
322 +
323 +import copy
321 +
324322 +import random
325323 +import string
326324 +import urllib.request as urllib
411409 +exec(agent)
412410 diff --git a/data/agent/stagers/http.py b/data/agent/stagers/http.py
413411 deleted file mode 100644
414 index e13e781..0000000
412 index ea5f797..0000000
415413 --- a/data/agent/stagers/http.py
416414 +++ /dev/null
417 @@ -1,103 +0,0 @@
415 @@ -1,101 +0,0 @@
418416 -#!/usr/bin/env python3
419417 -
420418 -"""
427425 - stage_1
428426 - stage_2
429427 -"""
430 -from __future__ import print_function
431 -
432 -import copy
428 -
433429 -import random
434430 -import string
435431 -import urllib.request as urllib