Empire icon indicating copy to clipboard operation
Empire copied to clipboard

The option StagerURI is not used

Open StayPirate opened this issue 5 years ago • 0 comments

Empire Version

2.5

OS Information (Linux flavor, Python version)

Official docker image empireproject/empire.

Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.

The option StagerURI is available in http[s] listeners. When set it is properly initialized, but not used at all.

Any additional information

root@kali:/tmp/Empire# grep -Ri stageruri .
./changelog:    — Fixed stagerURI option (rvrsh3ll)
./lib/listeners/http.py:            'StagerURI' : {
./lib/listeners/http.py:        stagerURI = listenerOptions['StagerURI']['Value']
./lib/listeners/template.py:            'StagerURI' : {

Here is where it is initialized, while here is where the framework randomly chooses URIs from the listener profile, for staging phases.

Should we consider the option StagerURI deprecated and remove it from the codebase?

StayPirate avatar Jan 11 '19 13:01 StayPirate