Comments (6)
Hey @Comanio00, I'm going to guess that you have not re-built Covenant since you pulled down the latest copy? We have to be sure that the container has the submodules, not just the docker host.
First, verify that you initialized the submodules properly:
$ ~/Covenant/Covenant > ls Data\Tasks\src\SharpSploit
CHANGELOG.md README.md SharpSploit.Tests
LICENSE SharpSploit SharpSploit.sln
$ ~/Covenant/Covenant > ls Data\Tasks\src\Rubeus
CHANGELOG.md LICENSE README.md Rubeus Rubeus.sln
Now that we know you have the submodules, let's make sure the submodules are present in the container:
$ ~/Covenant/Covenant > docker exec -it covenant ls /app/Data/Tasks/src/SharpSploit
CHANGELOG.md README.md SharpSploit.Tests
LICENSE SharpSploit SharpSploit.sln
$ ~/Covenant/Covenant > docker exec -it covenant ls /app/Data/Tasks/src/Rubeus
CHANGELOG.md LICENSE README.md Rubeus Rubeus.sln
Assuming that your docker host has the submodules, but your container does not, then give this a try:
$ ~/Covenant/Covenant > docker stop covenant
$ ~/Covenant/Covenant > docker rm covenant
$ ~/Covenant/Covenant > docker build -t covenant .
$ ~/Covenant/Covenant > docker run -it -p 7443:7443 -p 80:80 -p 443:443 --name covenant -v /absolute/path/to/Covenant/Covenant/Data covenant --username AdminUser --computername 0.0.0.0
from covenant.
Went ahead and added details on using docker's -v
parameter to the README. This may make things easier for you, and I've been meaning to make this change anyway.
from covenant.
Had the same problem after last commit.
Acknowledge that volume mount with -v
solves it.
from covenant.
Turns out there was an issue with Docker not copying over the correct files that Covenant was checking for existence of the submodules.
Pushed out a fix df42fcd
Let me know if you still have issues. You should be able to use the -v
parameter or not.
from covenant.
Thank you.
This decision helped. Everything is working.
When starting Covenant a warning appears:
Password: *******
Hosting environment: Development
Content root path: /app
Now listening on: http://0.0.0.0:80
Using Covenant certificate with hash: 3F03FC3C0AB9E88467A3CB94E0D9DF6624AC02B3
warn: Microsoft.AspNetCore.Server.Kestrel[0]
Overriding address(es) 'http://+:80'. Binding to endpoints defined in UseKestrel() instead.
Hosting environment: Development
Content root path: /app
Now listening on: https://0.0.0.0:7443
Application started. Press Ctrl+C to shut down.
warn: Microsoft.EntityFrameworkCore.Query[10103]
Query: '(from HttpListener _1 in DbSet select [_1]).FirstOrDefault()' uses First/FirstOrDefault/Last/LastOrDefault operation without OrderBy and filter which may lead to unpredictable results.
How can this affect the Covenant?
from covenant.
Hey @Comanio00, that's expected. Maybe eventually it's something I should address.
from covenant.
Related Issues (20)
- how to install by docker HOT 2
- same GruntHTTP.exe, different error.
- [Bug] Covenant Graph doesn't link SMBGRUNT after Disconnect HOT 1
- [Bug|Error Request] Process terminated. Couldn't find a valid ICU package HOT 2
- [Feature Request] Migrate to .NetCore 6
- listener not working if connect address is on Public IP
- [Bug] Incorrect date and time in Covenant HOT 2
- Bug/Question Customisation is not saved between projects HOT 3
- Every task i preform it doesn't get executed always uninitialized HOT 3
- [Bug] Launchers not using new kill date
- dotnet run not working HOT 9
- [Listner|Not being created] Listener wont actually create HOT 1
- [Bug|Feature Request] "Type" drop down in Listener Profiles greyed out
- Grunts dying a few seconds after launching. "Not Found" response from listener during certain stage. HOT 3
- dotnet error? need help HOT 1
- DotNet 5.1 HOT 5
- "The build failed. Fix the build errors and run again."
- [Feature Request] More Verbosity needed for Grunt Callback
- Listener didn't work with iptables rule
- [Feature Request] Dotnet 5 + comptability HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covenant.