2023-08-04 21:20:12 +00:00
|
|
|
id: url-extension-inspector
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
info:
|
|
|
|
name: URL Extension Inspector
|
|
|
|
author: ayadim
|
2023-08-11 05:28:46 +00:00
|
|
|
severity: unknown
|
|
|
|
description: |
|
|
|
|
This template assists you in discovering intriguing extensions within a list of URLs.
|
|
|
|
reference:
|
|
|
|
- https://github.com/CYS4srl/CYS4-SensitiveDiscoverer/
|
2024-01-14 09:21:50 +00:00
|
|
|
tags: file,url-analyse,urls,extension
|
2023-08-04 21:20:12 +00:00
|
|
|
file:
|
|
|
|
- extensions:
|
|
|
|
- all
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
name: Hot finding
|
|
|
|
regex:
|
|
|
|
- "(?i)(htdocs|www|html|web|webapps|public|public_html|uploads|website|api|test|app|backup|bin|bak|old|release|sql)\\.(7z|bz2|gz|lz|rar|tar\\.gz|tar\\.bz2|xz|zip|z)"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:38:55 +00:00
|
|
|
- type: regex
|
2023-08-04 21:20:12 +00:00
|
|
|
name: Backup file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.bak|\\.backup|\\.bkp|\\._bkp|\\.bk|\\.BAK)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: PHP Source
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.php)(\\.~|\\.bk|\\.bak|\\.bkp|\\.BAK|\\.swp|\\.swo|\\.swn|\\.tmp|\\.save|\\.old|\\.new|\\.orig|\\.dist|\\.txt|\\.disabled|\\.original|\\.backup|\\._back|\\._1\\.bak|~|!|\\.0|\\.1|\\.2|\\.3)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: ASP Source
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.asp)(\\.~|\\.bk|\\.bak|\\.bkp|\\.BAK|\\.swp|\\.swo|\\.swn|\\.tmp|\\.save|\\.old|\\.new|\\.orig|\\.dist|\\.txt|\\.disabled|\\.original|\\.backup|\\._back|\\._1\\.bak|~|!|\\.0|\\.1|\\.2|\\.3)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.db|\\.sql('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Bash script
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.sh|\\.bashrc|\\.zshrc)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: 1Password password manager database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.agilekeychain('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: ASP configuration file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.asa('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Apple Keychain database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.keychain('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Azure service configuration schema file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.cscfg('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Compressed archive file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.zip|\\.gz|\\.tar|\\.rar|\\.tgz)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Configuration file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.ini|\\.config|\\.conf)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Day One journal file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.dayone('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Document file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.doc|\\.docx|\\.rtf)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: GnuCash database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.gnucash('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Include file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.inc('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: XML file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.xml('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Old file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.old('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Log file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.log('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Java file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.java('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: SQL dump file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.sql('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Excel file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.xls|\\.xlsx|\\.csv)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Certificate file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.cer|\\.crt|\\.p7b)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Java key storte
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.jks('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: KDE Wallet Manager database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.kwallet('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Little Snitch firewall configuration file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.xpl('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Microsoft BitLocker Trusted Platform Module password file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.tpm('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Microsoft BitLocker recovery key file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.bek('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Microsoft SQL database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.mdf('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Microsoft SQL server compact database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.sdf('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Network traffic capture file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.pcap('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: OpenVPN client configuration file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.ovpn('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: PDF file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.pdf('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: PHP file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.pcap('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Password Safe database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.psafe3('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Potential configuration file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.yml('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Potential cryptographic key bundle
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.pkcs12|\\.p12|\\.pfx|\\.asc|\\.pem)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Potential private key
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)otr.private_key('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Presentation file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.ppt|\\.pptx)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Python file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.py('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Remote Desktop connection file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.rdp('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Ruby On Rails file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.rb('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: SQLite database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.sqlite|\\.sqlitedb('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: SQLite3 database file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.sqlite3('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Sequel Pro MySQL database manager bookmark file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.plist('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Shell configuration file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)(\\.exports|\\.functions|\\.extra)('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Temporary file
|
|
|
|
regex:
|
|
|
|
- "(?i)\\.tmp"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Terraform variable config file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.tfvars('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Text file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.txt('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Tunnelblick VPN configuration file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.tblk('|\")"
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2023-08-04 21:20:12 +00:00
|
|
|
- type: regex
|
|
|
|
name: Windows BitLocker full volume encrypted data file
|
|
|
|
regex:
|
2023-10-24 14:10:38 +00:00
|
|
|
- "(?i)\\.fve('|\")"
|
2023-10-25 12:04:43 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450220785c78ea3f7c51e19ac9e310581ea751f3abf740e18692a5077070922bb4266e022100a54c2d7503c313074a10895dfb6be5cc92494e5bcb083e32ba83d3a05e5da0b9:922c64590222798bb761d5b6d8e72950
|