Giter Club home page Giter Club logo

Comments (10)

3santree avatar 3santree commented on September 5, 2024

Could you provide more info to help you to debug? Your system? error message etc

from icecold.

3santree avatar 3santree commented on September 5, 2024

Issue's been fixed, I've forget to upload the output folder, let me you if you find any issue.

from icecold.

cmonopop avatar cmonopop commented on September 5, 2024

on running go run .
i don't get anything on terminal(no error and no output)

from icecold.

3santree avatar 3santree commented on September 5, 2024

You're right, you probably run it on linux, which I didn't test before. Before I fixed it, you can try compile it using command GOOS=windows GOARCH=amd64 go build -o output/a.exe template/main.go. It will compile it and output to the output folder.

from icecold.

3santree avatar 3santree commented on September 5, 2024

on running go run . i don't get anything on terminal(no error and no output)

I've added the env variable need for linux into the code, now you can try it on your system see if it's work this time!

from icecold.

cmonopop avatar cmonopop commented on September 5, 2024

okay
and in what format can i give a cs generated bin file??

from icecold.

3santree avatar 3santree commented on September 5, 2024

okay and in what format can i give a cs generated bin file??

I may not understand your question correctly, plz correct me with more info on your question if I'm wrong.
If your cs means cobaltstrike, and you want generate an executable that integrate cobalt strike, and give you a shell after executing the exe, you need to replace the shellcode with the one cobalt strike generated for you.
If your cs means C sharp, and you want to generate a exe that follows the format what C# would generate, i don't think it's possible because golang compile the code differently, however, they are all PE file.

from icecold.

cmonopop avatar cmonopop commented on September 5, 2024

yea i meant to say about the beacon generated from cobalt strike
so how shall i use the raw shellcode of cobalt strike with icecold?

from icecold.

cmonopop avatar cmonopop commented on September 5, 2024

do i have to convert the generated shellcode into hex using xxd?
and in which format?(like 0x or \x)
and then where should i replace the converted shellcode to hex format in the main.go

from icecold.

3santree avatar 3santree commented on September 5, 2024

the shellcode need to be in format of byte slice in golang, the variable should be something like []byte{0x01, 0x12, 0xaa}, I suggest to try out golang first if you are not familiar with it.
For the location to replace the shellcode, you can see in the Usage part of README.md

from icecold.

Related Issues (4)

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.