obscureV4
Let's obscure some IPv4 addresses
Absolutely requires Python3.6+, confirmed broken on anything older.
Usage
python3 obscure $IP
You can use --payload to interpolate the obfuscated IPs into a command using \I as the anchor for where you want the IP to be.
python3 obscure $IP --payload "ping -c 4 \I"
Example
python3 obscure 216.58.217.206
3627735502
216.58.217.206
216.58.55758
216.3856846
0xd83ad9ce
0xd8.0x3a.0xd9.0xce
0xd8.58.0xd9.0xce
[...]
Using as a Library
Install the package:
pip install -e .
Then import and use ObscureIP directly:
from obscure import ObscureIP
o = ObscureIP("203.0.113.1")
for ip in o.obscure_ips:
print(ip)
You can also defer generation with auto_obscure=False:
o = ObscureIP("203.0.113.1", auto_obscure=False)
# ... do other setup ...
o.obscure()
print(o.obscure_ips)
To get a single random obscured IP (guaranteed not to be the plain dotted-decimal form):
o = ObscureIP("203.0.113.1")
print(o.random_ip) # e.g. '0xcb.0x0.0x71.0x1'
Metadata
Release files for obscureipv4 4.0.0
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 | |
|---|---|---|---|---|
| obscureipv4-4.0.0.tar.gz | 7.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| obscureipv4-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.8 kB
Release files / obscureipv4-4.0.0.tar.gz
| Download URL | obscureipv4-4.0.0.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5a75fefb82c80736f5df3b597c9e8df143117a85688cc49e35b071b591228cfc
|
|
BLAKE2b-256 checksum How to use checksums |
b9ecd175a26bf24560ff6b0e9371b5f22571a98a74aae4163e856298dd95f422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Release files / obscureipv4-4.0.0-py3-none-any.whl
| Download URL | obscureipv4-4.0.0-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
34e48da90b83c5d39ff9fb094935a41be8986958459938bee519f0368f8daefd
|
|
BLAKE2b-256 checksum How to use checksums |
51ae9d906488d0016dc266e14de0a7776e2e0f12583d6d54754eed3565e604b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.7
|
Security for obscureipv4 4.0.0
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.