Skip to main content

libnova

The novafacing standard library but this time it's on PyPi

What is this for?

Mostly pwntools and angr wrapper stuff so I can avoid retyping things constantly. I also now only write strongly typed Python and I don't use strings for paths, which doesn't sound like a huge change but things don't play nice! So here's my compatibility.

Example?

from logging import getLogger
from pathlib import Path
from libnova import PW, PWMode

l = getLogger(__name__).info


b = Path("../src/target/debug/src")

x = PW(binary=b, mode=PWMode.DEBUG)

l(f"Loaded with {len(x.elf.symbols)} symbols")

x.sendline(b":q")
x.precvall()

The nice part is we get some really nice output from everything (you can't see the colors but they are there!):

...
INFO     | /home/novafa...a/pwn/pwn.py:0237 | Checksec info for library: ld-2.31.so
INFO     | /home/novafa...a/pwn/pwn.py:0239 | RELRO:    Partial RELRO
INFO     | /home/novafa...a/pwn/pwn.py:0239 | Stack:    No canary found
INFO     | /home/novafa...a/pwn/pwn.py:0239 | NX:       NX enabled
INFO     | /home/novafa...a/pwn/pwn.py:0239 | PIE:      PIE enabled
INFO     | /home/novafa...a/pwn/pwn.py:0241 | Checksec info for main object: src
INFO     | /home/novafa...a/pwn/pwn.py:0243 | RELRO:    Full RELRO
INFO     | /home/novafa...a/pwn/pwn.py:0243 | Stack:    No canary found
INFO     | /home/novafa...a/pwn/pwn.py:0243 | NX:       NX enabled
INFO     | /home/novafa...a/pwn/pwn.py:0243 | PIE:      PIE enabled
INFO     |                    __main__:0012 | Loaded with 1260 symbols
INFO     | pwnlib.tubes...365646789552:0298 | Receiving all data
INFO     | pwnlib.tubes...365646789552:0298 | Receiving all data: 0B
INFO     | pwnlib.tubes...365646789552:0298 | Receiving all data: 108B
INFO     | pwnlib.tubes...365646789552:0298 | Receiving all data: 136B
INFO     | pwnlib.tubes...365646789552:0298 | Process '/usr/local/bin/gdbserver' stopped with exit code 0 (pid 419479)
INFO     | pwnlib.tubes...365646789552:0298 | Receiving all data: Done (136B)
b'Welcome to the embedded programming simulator!\nOf course, you can only code using vim if you are 133...\nex: \nChild exited with status 0\n'

Metadata

Release files for libnova 0.1.14

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

Source distribution (sdist)

Source distribution for libnova 0.1.14
File Size Uploaded
libnova-0.1.14.tar.gz 9.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for libnova 0.1.14
File Interpreter ABI Platform
libnova-0.1.14-py3-none-any.whl Python 3 none any Details

Total release size: 19.6 kB

Release files / libnova-0.1.14.tar.gz

Download URL libnova-0.1.14.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6d820cfa84c714dc30ff8302389af1052b0f11f94637c98487d400471ae7b772
BLAKE2b-256 checksum
How to use checksums
2994be5f8ca8233f2df4ef1e146e2f4d54b994d241dcfbe4e0c34385c1bd7adc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.8.10 Linux/5.4.0-100-generic

Release files / libnova-0.1.14-py3-none-any.whl

Download URL libnova-0.1.14-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b79ea69860db45cefd49d1635ee330c46e6d768b5ee59d9ea80149cd01f38e11
BLAKE2b-256 checksum
How to use checksums
13f775a3be3150965038b76fea1e5ce32b5dc26035f8023203d033e48d8a4ca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.12 CPython/3.8.10 Linux/5.4.0-100-generic

Release history Release notifications | RSS feed

This release

0.1.14 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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