Coder Social home page Coder Social logo

nequ4tion / cpwntools Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 0.0 158 KB

Fast, portable implementations for exploit development in C.

License: MIT License

C 83.90% C++ 4.02% CMake 3.87% Shell 6.39% Python 1.70% Batchfile 0.12%
exploit ctf capture-the-flag pure-c networking cstring bignum

cpwntools's Introduction

cpwntools

drawing

This library implements a C version of the pwntools library for writing kernel exploits and creating exploits that require a high performance.

Usage

Functions are typically called by using provided namespaces like:

char *string = cstr.from_nstr("Hello");

For compilation of executables the flag -lcpwn is needed; if this library should be dynamically linked, -lcpwndyn can be used. This only works when the library has been installed globally.

Documentation on all implemented modules can be built using Doxygen. This can be done by invoking ./manage doc in the projects root directory. To view it one can use ./manage opendocs which will start a python server bound to localhost on the port 5000. A webbrowser should open automatically. The python server can be killed by invoking ./manage killdocserver.

Installation

The library can be installed on the system globally by invoking ./manage install. To remove it from the system ./manage uninstall can be used.

Working systems

This library has been tested on Arch Linux, Microsoft Windows 10 and OpenBSD, but might work on other systems as well.

cpwntools's People

Contributors

nequ4tion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cpwntools's Issues

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.