You can find here some functions that can help you during the automation in CTF/Pentest.
Project description
Pylibft
Personal python module for my daily usage on CTF/Pentest/Coding
Import
from Pylibft import *
Or by specifying the Functions
from Pylibft import base_convert, bin2hex
Functions
base_convert(number: str, fromBase: int, toBase: int)
Same as the PHP
function, return a string containing number
represented in base toBase
.
bin2hex(string: str)
Same as the PHP
function, return string containing the hexadecimal representation of string.
hex2bin(string: str)
Same as the PHP
function, decode a hexadecimally encoded binary string.
print_message(message: str, type: str)
Pretty print with color and type of message.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Pylibft-0.0.3.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file Pylibft-0.0.3.tar.gz
.
File metadata
- Download URL: Pylibft-0.0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
2fc39c360c499388146643d87c55e06237f158e4569d4f64070d2e456e3a4927
|
|
MD5 |
79fd25ebd549282cffd04cad6178bdb6
|
|
BLAKE2b-256 |
8ab05340fd3fb599667f6e1a4156dbc243113b874d0b4db3d623941cf94fd4a9
|
File details
Details for the file Pylibft-0.0.3-py2-none-any.whl
.
File metadata
- Download URL: Pylibft-0.0.3-py2-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
9f73573ab7a3322234d67272430e459b92dc22814c1fa46b6ed4a19a7eeea789
|
|
MD5 |
18a3442453c1bbe534531ca57fa14f17
|
|
BLAKE2b-256 |
268b95b09b88745870a7a70c56430ceea1b769ef0aaf63d6582eb916bd64e9ea
|