Giter Site home page Giter Site logo

libpwu's Introduction

libpwu

ABOUT:

Libpwu is a process exploitation library that offers an organised & structured view of processes and their memory. Libpwu unifies the most useful components of ptrace, dlfcn and other Linux utilities under a single interface. The library provides a range of capabilities from declarative calls to precise, low level operations that automate only the most tedious parts. High level functions are made to be extensible and modular. libpwu aims to provide the user with the ability to seamlessly intertwine high level functions with the user's own low level implementations through the modular and extensible nature of its components.

Libpwu includes features for:

  • Function hooking.
  • Payload injection & mutation.
  • Cave enumeration.
  • Starting new threads without libc or pthreads.
  • Dynamically linked symbol resolution.
  • Pattern searching.
  • Structured view of process memory maps.
  • Plus many quality of life utilities.

Interested? Take a look at the "Getting started" section below.


INSTALLATION:

Check the installation script to avoid any surprises. make is required to build libpwu. For most distributions it will be part of the build-essentials package or its equivalent.

Fetch the repo:

$ git clone https://github.com/vykt/libpwu

Build:

$ cd libpwu
$ make lib

Install:

# make install

If you would like to install additional markdown documentation:

# make install_docs

LINKING:

Compilers typically include libc by default when compiling. Since libpwu is not part of libc, you'll have to tell the compiler to link the library manually. Here is what that would look like:

$ gcc -o prog prog.c -lpwu

The -l option takes the name of the library minus the 'lib' prefix and the '.so' extension. In the sources for your program, include the library just as you would include any part of libc:

#include <libpwu.h>

GETTING STARTED:

To get started, take a look at docs/markdown/intro.md for quick introduction to commonly used components of Libpwu. All libpwu structures can be found in docs/markdown/structs.md. All functions provided by libpwu can be found in docs/markdown/functions.md. Documentation is available in markdown and roff (manpage) formats. The default installation installs only the manpages. To install markdown docs, run make install_docs.

Example implementations of payload injection, function hooking, symbol resolution and more can be found in examples.

libpwu's People

Contributors

vykt 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.