This repo contains useful scripts that AI created for me which I would have been too lazy for
This repo contains useful scripts that AI created for me which I would have been too lazy for
This repo contains useful scripts that AI created for me which I would have been too lazy for. Same thing for the README after this point.
…⚠️ DISCLAIMER: These tools are for authorized security testing only. The AI doesn't care if you go to jail. You should.
This repository contains 19 security assessment tools crafted entirely through AI prompts. From Active Directory enumeration and modification to cloud service reconnaissance, each script was generated by Claude with minimal human intervention.
Categories:
| Category | Tools |
|---|---|
| Python Scripts | ldap-ntlm.py • fortibrute.py • teams_enum.py • GraphGather.py • nessus_search.py • nessus_to_nmap_xml.py • nessus_to_xlsx.py • extracturls.py • verify_emails.py • snake.py • certipy_min.py • payloadfunc-Finder.py • pyadrecon.py • sessionenum.py • unlock-adaccount.py |
| ⚡ PowerShell | CheckNetworkConns.ps1 • UserHunt.ps1 |
| ☕ Java | SimpleWebShell.java |
| Bash | nessus_bulk_export.sh |
LDAP Enumeration & Modification via NTLM Relay SOCKS Proxy
When Certipy fails and you're stuck behind a SOCKS proxy, this bad boy gets it done. Now with Active Directory modification capabilities like bloodyAD!
This powerhouse tool performs comprehensive LDAP enumeration AND modification through ntlmrelayx SOCKS5 proxies. It replicates Certipy's LDAP methodology with full BloodHound output support (Legacy v5, CE v6, and BOFHound) PLUS bloodyAD-style AD modification operations. Perfect for when standard tools choke on proxy connections.
Features:
Usage & Examples
……Enumeration Arguments:
| Flag | Description |
|---|---|
-H, --host |
LDAP server IP (required) |
-p, --port |
LDAP port (default: 389, auto 636 for LDAPS) |
-d, --domain |
Domain name (required) |
-u, --username |
Username from ntlmrelayx (required) |
-t, --timeout |
Timeout for SOCKS (default: 600s) |
-o, --output |
Output directory |
--bloodhound-ce |
BloodHound CE v6 format |
--bofhound |
BOFHound single JSON format |
--all |
Enumerate everything |
--users/--computers/--groups |
Specific enumeration targets |
--ldaps |
Use LDAPS (port 636) |
--ldap-channel-binding |
Enable channel binding (requires LDAPS) |
--ldap-signing |
Enable LDAP signing |
Modification Arguments:
| Flag | Description |
|---|---|
--add-user USERNAME |
Add new user account |
--add-user-pass PASSWORD |
Password for new user |
--add-user-ou OU_DN |
OU for new user (default: CN=Users) |
--add-computer HOSTNAME |
Add new computer account |
--add-computer-pass PASSWORD |
Password for new computer |
--add-computer-ou OU_DN |
OU for new computer (default: CN=Computers) |
--add-user-to-group USER GROUP |
Add user to group |
--set-password USER PASSWORD |
Set/reset user password |
--set-rbcd TARGET SERVICE |
Set RBCD delegation |
--add-dns NAME IP |
Add DNS A record |
--dns-zone ZONE |
DNS zone (default: domain zone) |
Dependencies: pip install ldap3 impacket pycryptodomex
FortiNet VPN Gateway Password Spraying
FortiGate keeping you out? Not for long.
A robust password spraying tool targeting FortiNet VPN gateways with proxy support, domain authentication, and username-as-password mode. Supports both single-target and bulk credential testing with smart SSL handling.
Usage & Examples
…Arguments:
| Flag | Description |
|---|---|
-H, --host |
VPN URL (required) |
-u, --username |
Username(s) space-separated |
-U, --username-file |
File with usernames |
-p, --password |
Password to test |
-D, --domain |
Domain (DOMAIN\user format) |
--username-as-password |
Try username as password |
-P, --proxy |
HTTP/HTTPS proxy |
--no-verify-ssl |
Skip SSL verification |
--stop-on-success |
Stop after first hit |
Dependencies: pip install requests
Microsoft Teams Email Enumeration
Validate emails through Teams API without getting ratelimited into oblivion. ✨
Leverages Microsoft Teams API for email validation with full MFA support via Device Code Flow. Features proxy support (HTTP/HTTPS/SOCKS4/SOCKS5), automatic rate limiting, and clean CSV output. Perfect for building targeted phishing lists.
Usage & Examples
# Username/Password authentication
python teams_enum.py -u [email protected] -p Password123 -i emails.txt -o results.csv
# Device Code Flow (MFA compatible!)
python teams_enum.py --device-code -i emails.txt -o results.csv
# With HTTP proxy
python teams_enum.py -u [email protected] -p Pass123 -i emails.txt -o out.csv --proxy http://127.0.0.1:8080
# SOCKS5 proxy support
python teams_enum.py --device-code -i emails.txt -o out.csv --proxy socks5://127.0.0.1:1080
# Debug mode
python teams_enum.py --device-code -i emails.txt -o results.csv --debugArguments:
| Flag | Description |
|---|---|
-u, --username |
Microsoft 365 email |
-p, --password |
M365 password |
--device-code |
Use Device Code Flow (MFA safe) |
-i, --input |
Email list file (required) |
-o, --output |
CSV output file (required) |
--proxy |
Proxy URL (http/socks4/socks5) |
--proxy-user |
Proxy auth username |
--debug |
Enable debug output |
Output: CSV with columns: email, is_valid, display_name, object_id
Dependencies: pip install requests dnspython brotli
Microsoft Graph API Enumeration with CAP Bypass
80+ client IDs to slip past Conditional Access Policies. Azure doesn't stand a chance. ☁️
Comprehensive Graph API enumeration tool featuring 80+ known client IDs for CAP bypass, Device Code Flow for MFA environments, and deep enumeration of devices, service principals, applications, and federated identity credentials. Token analysis and decoding included.
Usage & Examples
# List available clients and user agents
python GraphGather.py --list
# Username/Password with specific client
python GraphGather.py -u [email protected] -p Password123 -c "Microsoft Intune Company Portal"
# Device Code Flow (MFA bypass)
python GraphGather.py --device-code -c "Microsoft Intune Company Portal"
# Custom user agent
python GraphGather.py --device-code -c "Microsoft Teams" -a "Windows Desktop"
# Parse existing token
python GraphGather.py --token-file token.json
# Custom output file
python GraphGather.py --device-code -o azure_loot.jsonArguments:
| Flag | Description |
|---|---|
--list |
Show available clients/agents |
-u, --username |
Microsoft account email |
-p, --password |
Password |
-c, --client |
Client name (default: Intune Portal) |
-a, --user-agent |
User agent profile |
--device-code |
Device Code Flow (MFA safe) |
-t, --token-file |
Parse existing token JSON |
-o, --output |
Output file (default: graph_results.json) |
Output:
devices.csv, service_principals.csv, endpoints.csvDependencies: pip install requests
Nessus Scan Results Search Engine
Find that one CVE in a mountain of .nessus files faster than you can say "Log4Shell".
A powerful search utility for Nessus XML scan files with CVE lookup, keyword matching, plugin ID search, and severity filtering. Supports bulk processing of entire directories of scan files.
Usage & Examples
# Search by CVE
python nessus_search.py scan.nessus --cve CVE-2021-44228
# Keyword search
python nessus_search.py scan.nessus --keyword "remote code execution"
# Plugin ID lookup
python nessus_search.py scan.nessus --plugin-id 10662
# Search entire directory
python nessus_search.py --dir /path/to/scans --keyword "critical"
# ⚠️ Filter by severity
python nessus_search.py scan.nessus --severity Critical
python nessus_search.py scan.nessus --severity High,CriticalArguments:
| Flag | Description |
|---|---|
input_file |
Nessus .nessus file |
--cve |
Search by CVE ID |
--keyword |
Search by description keyword |
--plugin-id |
Search by plugin ID |
--dir |
Process directory of .nessus files |
--severity |
Filter: Critical, High, Medium, Low, Info |
Dependencies: None (uses built-in xml.etree.ElementTree)
Nessus to Nmap XML Converter
Because some tools only speak Nmap, and that's okay.
Converts Nessus .nessus format to Nmap-compatible XML. Extracts open ports, preserves OS information, and maps service names. Perfect for feeding Nessus data into Nmap-centric workflows.
Usage & Examples
# Basic conversion
python nessus_to_nmap_xml.py input.nessus -o output.xml
# Custom output name
python nessus_to_nmap_xml.py vulnerability_scan.nessus --output nmap_compatible.xmlArguments:
| Flag | Description |
|---|---|
input_file |
Nessus .nessus file |
-o, --output |
Output Nmap XML file |
Dependencies: None (uses built-in xml.etree.ElementTree)
Nessus to Excel Converter with Pretty Formatting
Turn ugly XML into beautiful spreadsheets your manager will actually understand. ✨
Converts Nessus XML to professionally formatted Excel XLSX files with color-coded severity (Critical=Red, High=Orange, Medium=Yellow, Low=Green), multiple sheets (Summary, Details, Host List), and batch processing support.
Usage & Examples
# Basic conversion
python nessus_to_xlsx.py scan.nessus
# Custom output name
python nessus_to_xlsx.py scan.nessus -o security_report.xlsx
# Process entire directory
python nessus_to_xlsx.py --dir /scans -o combined_report.xlsxArguments:
| Flag | Description |
|---|---|
input_file |
Nessus .nessus file |
-o, --output |
Output XLSX file |
--dir |
Process directory of scans |
Output: Formatted Excel with:
Dependencies: pip install openpyxl
URL Extractor from Scan Files
Nmap? Nessus? Doesn't matter. Give me the URLs.
Automatically detects and parses both Nmap and Nessus XML formats to extract HTTP/HTTPS URLs. Features SSL/TLS detection, deduplication, protocol filtering, and sorting options.
Usage & Examples
# Extract from Nmap scan
python extracturls.py scan.nmap.xml
# SaveNo open issues yet, or sync has not completed.