cobbr / Elite

Elite is the client-side component of the Covenant project. Covenant is a .NET command and control framework that aims to highlight the attack surface of .NET, make the use of offensive .NET tradecraft easier, and serve as a collaborative command and control platform for red teamers.
https://cobbr.io/Covenant.html
GNU General Public License v3.0
115 stars 18 forks source link

Nothing happens after docker run #7

Closed passwordleak closed 5 years ago

passwordleak commented 5 years ago

user@hostname:/# docker run -it --rm --name elite -v /path/Elite/Elite/Data:/app/Data elite --username AdminUser --computername 0.0.0.0 Password: Covenant CertHash (Empty to trust all): user@hostname:/#

It just returns to the shell without doing anything. Covenant is running

user@hostname:/# docker run -it -p 7443:7443 -p 8080:8080 -p 8443:8443 --name covenant covenant --username AdminUser --computername 0.0.0.0 Password: Found default JwtKey, replacing with auto-generated key... Creating cert... Using Covenant certificate with hash: warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {} may be persisted to storage in unencrypted form. warn: Microsoft.AspNetCore.Server.Kestrel[0] Overriding address(es) 'http://+:80'. Binding to endpoints defined in UseKestrel() instead. Hosting environment: Production Content root path: /app Now listening on: https://0.0.0.0:7443 Application started. Press Ctrl+C to shut down.

Ubuntu 16.04

passwordleak commented 5 years ago

used the wrong -computername should have been local ip address not 0.0.0.0

cobbr commented 5 years ago

Glad you got it figured out! It's non-obvious why localhost doesn't work as the computername, so I'll leave this open until I include a better error message.

cobbr commented 5 years ago

Actually nvm, realized this is a duplicate of #5