Skip to main content

pcstools - exploit toolkit for the PCS course

Docs PyPI MIT License

pcstools is an exploit development library heavily inspired by https://pwntools.com/.

It supports both Python 2.7 and Python 3.3+.

Documentation

Our documentation is available at pcstools.readthedocs.io

Installation

Pcstools is pure Python library and should be supported on most platforms. It should even work on non-linux platforms. However Pcstools is currently being developed exclusively on debian-based systems, so bugs might be encountered. If this happens, be sure to file an issue!

To install on debian-based systems, do the following:

# For usage with Python 2.7
apt update
apt install python-pip
pip2 install --upgrade pcstools

# For usage with Python 3.3+
apt update
apt install python3-pip
pip3 install --upgrade pcstools

How is this project related to pwntools

Pcstools is not directly related to pwntools (though some of the developers overlap), however the goals of the two projects are very different.

Pwntools tries to be the best possible exploitation library with a particular focus on CTFs. While it does prioritize readability, learnability and doing things the "normal python way", those values are occationally sacrifized in the name of productivity (for the exploit developer), performance or advanced features.

This is not the case for Pcstools. Pcstools tries to be a normal python library that is easy to learn and easy to understand. The target user is someone new to exploitation that just wants to avoid too much boilerplate. We have deliberately omitted many features, as we believe that they should not be introduced until the basics have been covered.

Why the name "Pcstools"?

Pcstools has been developed with a particular target audience in mind: The students taking the course "Proactive Computer Security" at the Department of Computer Science at Copenhagen University.

Metadata

Release files for pcstools 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pcstools 0.4
File Size Uploaded Provenance Actions
pcstools-0.4.tar.gz 15.0 kB Without provenance Details for pcstools-0.4.tar.gz

Release files / pcstools-0.4.tar.gz

Download URL pcstools-0.4.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8a2d7d850f7484e84a1b3394ecbc6e7c28d8fd79cf58e5bae86c3ea517463e71
BLAKE2b-256 checksum
How to use checksums
8b3d3b4640ec46af41f5d4711eb9736911c4232f225c3dd743ef0750e77b0f59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2rc1

Security for pcstools 0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page