performs various mutations on IPv4 addresses, such as converting to hex, octal, urlencoded, and more
Project description
IPv4Mutate
performs various mutations on IPv4 addresses, such as converting to hex, octal, urlencoded, and more
Usage
from ipv4mutate import IPv4Mutate
i = IPv4Mutate("127.0.5.7)
Available Attributes
mutate_binary
mutate_hex
mutate_hex_combined
mutate_octal
mutate_octal_padded
mutate_zero_padded
mutate_zero_stripped
mutate_urlencoded
Example Output (via test-ipv4mutate-usage-example.py)
IP: 127.0.5.7
mutate_binary 01111111.00000000.00000101.00000111
mutate_hex 0x7f.0x0.0x5.0x7
mutate_hex_combined 0x7f000507
mutate_octal 0177.00.05.07
mutate_octal_padded 00000177.00000000000000.005.0007
mutate_zero_padded 127.000.005.007
mutate_zero_stripped 127.5.7
mutate_urlencoded %31%32%37%2e%30%2e%35%2e%37
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
ipv4mutate-0.1.1.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for ipv4mutate-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad37725db48765d5302a9d862f583b49a2b53aadd89b1d35d838064bb4fe37ed |
|
MD5 | 4fcdd2b43efb5192d5db449a6cba3ada |
|
BLAKE2b-256 | c42cfaf80f7ea0aa7397aaa4d6bd220a8b6f4a803c59c95508c61a1427dd94f0 |