Skip to content

gogo2464/pwnto-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Philosophy

Pwnto-driver is a reimplementation of pwntools in C instead of python. The goal is to fix some pwntools issues. Pwnto-drivers will

  • provide ability to exploit drivers.
  • provide ability to create worm from imported pwnto-driver library.

As the dev have some experience with the old pwntools, the new tool aims to fix some known issues:

  • windows program and drivers support. More than pwntools.
  • Linux driver support (more than pwn++ that is written in C++ instead of C).

I Build

I.1 Install building dependencies

choco install --yes python --version 3.8.0
choco install --yes swig

I.2 Build/Clean project

In order to build pwnto-driver including swig bindings, you must specify your python path. For example, if you installed python 3 with the command choco install --yes python --version 3.8.0, the you could build with:

make all PYENV=C:\Python38

clean with

make clean

II Contributing

Install dev dependencies

choco install --yes doxygen.install
choco install --yes doxygen.portable
choco install --yes swig

II.1 Bindings with swig

Each set of .h/.c of file you create MUST be followed by another .i file with the same name containing swig binding definition.

It will then autogenerate binding so that our c program with c perf and c syntax will be available by importation in most of the languages including python.

Watch the swig doc for more informations.

II.2 Documentating with doxygen

II.3 Testing with integrated doxygen doctest

alternatives:

  • pwntools : Works only on Linux. Not windows. No ability to upload in drivers.
  • pwn++ : Does not provide native C support. Then no ability to upload in drivers.

About

reimplementation of pwntools in c in order to exploit drivers in C and with swig bindings to exploit user land programs in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published