Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.
Quelldateien prüfen
Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.
Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.
Ein direkter Befehl überspringt den Prüf-Prompt. Prüfen Sie die Quelle, bevor Sie ihn ausführen.
Web pages often contain more information than what is visually displayed to users. HTML comments, JavaScript files, metadata, and debug artifacts can inadvertently expose sensitive information such as credentials, internal paths, infrastructure details, and business logic. This test involves systematically reviewing web page source code, scripts, and associated files to identify information leakage that could aid attackers in compromising the application.
<!-- Database: mysql://admin:password123@localhost/db --><!-- TODO: Remove before production --><!-- Debug mode enabled --><!-- Admin panel at /secret-admin-2024 --><!-- User: testuser / Pass: test123 --><!-- Internal IP: 10.0.0.50 --><!-- Last modified by john.doe@company.com --><!-- Version 2.3.1 - Build 4521 -->
Step 2: META Tag Analysis
# Extract all META tags
curl -s https://target.com | grep -i '<meta'# Look for specific information
curl -s https://target.com | grep -iE 'author|generator|description|keywords|robots|csrf'
# Capture full response including body for redirects
curl -sL -D - https://target.com/redirect-page
# Using Burp/ZAP to intercept redirect responses# Disable "Follow redirects" and examine 3xx response bodies
Step 10: Historical Content (Wayback Machine)
# Get historical URLs
waybackurls target.com | grep -iE '\.js$|\.json$|config|admin'# Check archived versions for leaked data
curl -s "https://web.archive.org/web/2020/https://target.com/app.js"
Tools
Command-Line Tools
Tool
Description
Usage
curl/wget
HTTP client
curl -s https://target.com
grep
Pattern search
grep -iE 'api_key|secret'
jq
JSON processor
jq '.sources' file.map
waybackurls
Historical URLs
waybackurls target.com
gau
Get All URLs
gau target.com
Specialized Secret Scanners
Tool
Description
Usage
truffleHog
Git secret scanner
trufflehog filesystem .
gitleaks
Secret detection
gitleaks detect --source=.
SecretFinder
JS secret finder
python3 SecretFinder.py -i url
LinkFinder
Endpoint extractor
python3 linkfinder.py -i url
JSParser
JavaScript parser
Extracts URLs from JS
Browser Extensions
Extension
Purpose
Wappalyzer
Technology detection
Retire.js
Vulnerable JS libraries
BuiltWith
Tech stack analysis
Source Detector
Source map finder
Web Proxies
Tool
Description
Burp Suite
Intercept and analyze traffic
OWASP ZAP
Automated scanning
Fiddler
Traffic analysis
Charles
HTTP debugging proxy
API Key Validators
Service
Purpose
KeyHacks
API key validation
API Key Scanner
Cloud key detection
Google Maps API Scanner
Maps key testing
Example Commands/Payloads
Comprehensive Content Scanner
#!/bin/bash
TARGET=$1
OUTPUT_DIR="content_scan_$(date +%Y%m%d)"mkdir -p $OUTPUT_DIRecho"[+] Scanning $TARGET for information leakage..."# 1. Download main pageecho"[+] Downloading main page..."
curl -s $TARGET -o "$OUTPUT_DIR/index.html"# 2. Extract and check commentsecho"[+] Extracting HTML comments..."
grep -o '<!--.*-->'"$OUTPUT_DIR/index.html" > "$OUTPUT_DIR/comments.txt"# 3. Extract META tagsecho"[+] Extracting META tags..."
grep -i '<meta'"$OUTPUT_DIR/index.html" > "$OUTPUT_DIR/meta_tags.txt"# 4. Extract JavaScript URLsecho"[+] Finding JavaScript files..."
grep -oP '(?<=src=")[^"]*\.js[^"]*'"$OUTPUT_DIR/index.html" | sort -u > "$OUTPUT_DIR/js_files.txt"# 5. Download JavaScript filesecho"[+] Downloading JavaScript files..."mkdir -p "$OUTPUT_DIR/js"whileread js; do
filename=$(basename"$js")
if [[ $js == /* ]]; then
curl -s "${TARGET}${js}" -o "$OUTPUT_DIR/js/$filename"else
curl -s "$js" -o "$OUTPUT_DIR/js/$filename"fidone < "$OUTPUT_DIR/js_files.txt"# 6. Search for secrets in JavaScriptecho"[+] Searching for secrets..."
grep -rihE 'api_key|apikey|api-key|secret|password|token|auth|credential|AKIA|private_key'"$OUTPUT_DIR/js/" > "$OUTPUT_DIR/potential_secrets.txt"# 7. Check for source mapsecho"[+] Checking for source maps..."whileread js; doif [[ $js == /* ]]; then
mapurl="${TARGET}${js}.map"else
mapurl="${js}.map"fi
status=$(curl -s -o /dev/null -w "%{http_code}""$mapurl")
if [ "$status" == "200" ]; thenecho"Found: $mapurl" >> "$OUTPUT_DIR/source_maps.txt"fidone < "$OUTPUT_DIR/js_files.txt"# 8. Extract endpoints from JSecho"[+] Extracting endpoints..."
grep -rohE '["'"'"']/[a-zA-Z0-9/_-]+["'"'"']'"$OUTPUT_DIR/js/" | sort -u > "$OUTPUT_DIR/endpoints.txt"# 9. Extract URLsecho"[+] Extracting URLs..."
grep -rohE 'https?://[^\s"<>'"'"']+'"$OUTPUT_DIR/js/" | sort -u > "$OUTPUT_DIR/urls.txt"echo"[+] Scan complete. Results in $OUTPUT_DIR/"
// Google Cloud Console// - Add HTTP referrer restrictions// - Add IP restrictions// - Limit API scope// AWS IAM// - Use least privilege// - Set resource restrictions// - Enable key rotation
5. Code Review Checklist
[ ] No hardcoded credentials
[ ] No internal IPs in code
[ ] No developer comments in production
[ ] Source maps disabled
[ ] Environment variables used
[ ] Debug code removed
[ ] Test data removed