Description
Generate Exploit Template
I've written this template generator to write my exploits.
Installation
Install from pip:
pip install expl
Install from source
- clone it from repo:
git clone https://github.com/AlirezaKm/expl
- Install from source:
cd expl
pip install -e .
Usage
$ expl
Usage: expl [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
both Generate a Template for Local and Remote
local Generate Local Template
remote Generate Remote Template
More Info about commands
$ expl local --help
Usage: expl local [OPTIONS] FILE
Generate Local Template
Options:
-a, --arch TEXT Architecture of Executable File [default: x86_64]
--os TEXT OS of Executable File [default: linux]
-e, --endian TEXT OS of Executable File [default: little]
-l, --loglevel TEXT Log Level of pwntools [default: info]
-r, --realpath TEXT using realpath for Executable File [default: False]
--libc TEXT Address of LIBC
--heap Adding heap functions
-o, --output TEXT write to output
--help Show this message and exit.
Generate a template for a Local Executable File
$ expl local vuln
#!/usr/bin/python2
from pwn import *
context(arch='x86_64', os='linux', endian='little', log_level='info')
def info(s):
log.info(s)
def exploit(r):
r.interactive()
if __name__ == '__main__':
r = process(['vuln'])
print(util.proc.pidof(r))
pause()
exploit(r)
Metadata
Release files for expl 1.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| expl-1.1.1.tar.gz | 3.1 kB | Without provenance | Details for expl-1.1.1.tar.gz |
Release files / expl-1.1.1.tar.gz
| Download URL | expl-1.1.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
50ef7d0bc9fd4bd1c9a017e6bbebee7ed7d98c1b694cd6c7715d4a76f3bce3ad
|
|
BLAKE2b-256 checksum How to use checksums |
334ad2727454d4dc5baa25acb2bf018024e986ba27b7fb4683a5b5577d5324e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.43.0 CPython/3.7.3
|
Security for expl 1.1.1
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.