GithubHelp home page GithubHelp logo

Commands do not run about covenant HOT 14 CLOSED

cobbr avatar cobbr commented on August 16, 2024
Commands do not run

from covenant.

Comments (14)

panagioto avatar panagioto commented on August 16, 2024 1

@trickster0 Can you check if the submodules exist within "Covenant/Data/ReferenceSourceLibraries" ?

from covenant.

cobbr avatar cobbr commented on August 16, 2024

Hey @trickster0, have not seen this issue before. Can you provide your host OS, target OS, .NET version, and browser version?

from covenant.

cobbr avatar cobbr commented on August 16, 2024

@trickster0 Can you confirm that you cloned Covenant recursively using git clone --recurse-submodules https://github.com/cobbr/Covenant?

from covenant.

trickster0 avatar trickster0 commented on August 16, 2024

Hey @cobbr i found the problem but i dont know why it happens. Indeed the submodules didn't download. There is no src directory or the cloned dir's from tools that are being used by the tasks.
Although i did git clone --recurse-submodules https://github.com/cobbr/Covenant .
I do not know why this happens. I tried it again.

from covenant.

cobbr avatar cobbr commented on August 16, 2024

@trickster0 Is it working now that you have tried again?

from covenant.

trickster0 avatar trickster0 commented on August 16, 2024

Hey @cobbr , this guy has the same issue as me #41
So i reinstalled and the error persists. What is interesting is that when you git clone, the modules from this file https://github.com/cobbr/Covenant/blob/master/.gitmodules are not getting cloned.
So when you actually run it , they are not there. Also src directory does not exist in the Tasks directory.
I tried manually cloning them there and when i did dotnet build errors came raining.
Tell me if i can assist you somehow so it will be resolved.

from covenant.

cobbr avatar cobbr commented on August 16, 2024

Hey @trickster0, cloning with git clone --recurse-submodules https://github.com/cobbr/Covenant should pull the submodules.

If that does not work then you can try git submodule update --init --recursive after cloning.

Can you also tell me what version of git you are using? git --version

from covenant.

trickster0 avatar trickster0 commented on August 16, 2024

It still did not work getting the rest of the modules.
Git version is 2.20.1

from covenant.

cobbr avatar cobbr commented on August 16, 2024

Did you get output from the git submodule update --init --recursive command?

from covenant.

trickster0 avatar trickster0 commented on August 16, 2024

no, nothing

from covenant.

trickster0 avatar trickster0 commented on August 16, 2024

They do!

from covenant.

cobbr avatar cobbr commented on August 16, 2024

It looks as if I have inadvertently converted the submodules into normal directories by changing their folder location.

I'll address that issue, but I don't believe that is the cause of your issue @trickster0. I think you are running into problems with AMSI

from covenant.

trickster0 avatar trickster0 commented on August 16, 2024

Hey indeed, i did what you mentioned and disabled Windows Defender.. It works now, too bad that it gets detected. Let me take this opportunity to thank you for this nice C2 and also would be great to add sharpview as well :) I am closing this since the issue was Windows Defender.
Cheers.

from covenant.

cobbr avatar cobbr commented on August 16, 2024

Yeah may be need to add in some AMSI bypasses. SharpView could be a good add too 👍

from covenant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.