Git Product home page Git Product logo

scc's Introduction

SCC

A C/C++ shellcode compiler based on llvm/clang technology, make writing and testing shellcode more easier, you can write the code in C++, not only in C, you can use globals(see limitations) and C++ with full compiler syntax checking for APIs.

[1] Limitations

now only windows x86/64 coff target is supported and the msvc link.exe should be used to generation of final executable.

global initialized pointers to globals should be avoided, c lib and global c++ constructor will not be supported.

clang should be stable enough for most shellcode generation purpose and it'd be more compatible in the future according to de community efforts towards windows.

[2] plan:

linux/macos and non-x86 target support when I've spare time.

[3] Why?

Some day I'm bored of tuning compiler options and make various msvc tweaks to coding shellcode, so on a weekend I started hacking llvm/clang codebase and make clang -fPIC working on windows/COFF target.

NB, It's for fun only, it's a hack on a weekend, don't blame me for not working hard!

[4] OpenSource or not?

No.

License:

Any commercial usage must be allowed by the author. Any CTF usage should explicitly mention the work.

scc's People

Contributors

humeafo avatar

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.