MCPcopy Create free account

hub / github.com/KingOfBugbounty/enumrust / functions

Functions376 in github.com/KingOfBugbounty/enumrust

↓ 36 callersFunctionadd_simple_secret
Helper macro to add a simple pattern match secret
src/secrets_scanner.rs:967
↓ 26 callersMethodtool_completed
(&self, tool_name: &str, progress: f32)
src/progress.rs:158
↓ 24 callersMethodtool_started
(&self, tool_name: &str)
src/progress.rs:132
↓ 17 callersMethoddata_found
(&self, data_type: &str, count: usize, progress: f32)
src/progress.rs:179
↓ 16 callersFunctionextract_context
Extract secrets with surrounding context for better understanding
src/secrets_scanner.rs:706
↓ 15 callersFunctioncreate_safe_preview
Create a safe preview of a secret (show first 8 and last 4 characters)
src/secrets_scanner.rs:718
↓ 15 callersMethodis_available
Returns true if Ollama is available for analysis
src/ollama.rs:258
↓ 13 callersMethodtool_failed
(&self, tool_name: &str, error: &str, progress: f32)
src/progress.rs:167
↓ 11 callersMethodadd_event
Adiciona um evento e salva no arquivo
src/progress.rs:59
↓ 11 callersMethodcall_tool
(&self)
enumrust-mcp/src/tools.rs:24
↓ 9 callersFunctioncount_lines
Count lines in a file
src/main.rs:3296
↓ 9 callersFunctiondiscover_tool_path
Search for a binary in common paths and return full path if found
src/main.rs:3845
↓ 9 callersMethodquery
Core query method - sends prompt to Ollama and parses JSON verdict
src/ollama.rs:271
↓ 8 callersFunctionextract_npm_packages
Extract npm package imports from JavaScript content reference_url: URL da página HTML que referencia o arquivo JS (opcional)
src/package_scanner.rs:50
↓ 7 callersFunctionread_json_file
Read JSON file
src/report_generator.rs:73
↓ 6 callersFunctionsend_discord_notification
Send Discord notification
src/discord_notifier.rs:23
↓ 5 callersFunctioncheck_tool_installed
Check if a tool is installed and get its version (with auto-discovery)
src/main.rs:4127
↓ 5 callersFunctionis_likely_false_positive
Check if a matched string is likely a false positive
src/secrets_scanner.rs:1004
↓ 5 callersFunctionmake_absolute_url
Make URL absolute based on base URL
src/js_crawler.rs:186
↓ 5 callersFunctionread_file_lines
Read file lines into Vec<String>
src/report_generator.rs:59
↓ 4 callersFunctionget_tools_list
Get list of all required tools
src/main.rs:3656
↓ 4 callersFunctionparse_json_objects_from_content
Parse JSON outputs in object-per-line or full JSON formats and return JSON objects.
src/main.rs:3307
↓ 4 callersFunctionparse_vulns_array
( vulns_value: Option<&serde_json::Value>, component: &str, )
src/wpscan.rs:504
↓ 4 callersFunctionread_normalized_subdomains
Read and normalize subdomains file into a unique set
src/main.rs:3415
↓ 4 callersFunctionwrite_subdomains_sorted
Persist subdomains in sorted deterministic order
src/main.rs:3433
↓ 3 callersMethodanalyze_info_disclosure
Analyze if an info disclosure finding contains real sensitive data
src/ollama.rs:556
↓ 3 callersFunctionauto_discover_and_configure_path
Auto-discover all tools and add their directories to PATH Returns a map of tool binary -> full path for discovered tools
src/main.rs:3885
↓ 3 callersFunctionclean_package_name
(name: &str, pkg_type: PackageType)
src/package_scanner.rs:648
↓ 3 callersFunctionextract_context_with_line
Extract context (line content and line number) where package was found
src/package_scanner.rs:670
↓ 3 callersFunctionextract_ffuf_urls
Parse FFUF output in JSON or NDJSON variants and extract discovered URLs.
src/main.rs:3346
↓ 3 callersFunctionextract_storage_targets_from_text
(text: &str, targets: &mut HashSet<StorageTarget>)
src/info_disclosure_scanner.rs:557
↓ 3 callersFunctionextract_wp_base_url
Extract the base WordPress URL from a URL containing wp-admin, wp-content, etc.
src/wpscan.rs:134
↓ 3 callersFunctionget_tools_cache_path
Get path to the tools cache file
src/main.rs:3925
↓ 3 callersFunctionip_to_u32
Converte string IP para u32 para comparação de ranges
src/ip_validator.rs:112
↓ 3 callersFunctionis_common_false_positive
Check for common false positive patterns
src/package_scanner.rs:1038
↓ 3 callersFunctionis_iacrawl_available
Check if iacrawl binary exists and is executable
src/iacrawl_scanner.rs:107
↓ 3 callersFunctionis_private_ip
(ip: &str)
src/ip_validator.rs:416
↓ 3 callersFunctionnormalize_subdomain_candidate
Normalize a candidate hostname and keep only valid entries for target domain
src/main.rs:3368
↓ 3 callersFunctionscan_ports
Scan IPs for open ports using masscan
src/ip_scanner.rs:194
↓ 2 callersMethodanalyze_admin_likelihood
Check if this looks like an admin panel based on heuristics
src/admin_finder.rs:170
↓ 2 callersMethodanalyze_credential_result
Analyze if a credential test really succeeded
src/ollama.rs:519
↓ 2 callersMethodanalyze_secret
Analyze a detected secret for false positive filtering
src/ollama.rs:378
↓ 2 callersFunctioncache_path
Get cache file path (~/.enumrust_update_cache.json)
src/update_checker.rs:27
↓ 2 callersFunctioncalculate_shannon_entropy
(s: &str)
src/secret_validators.rs:57
↓ 2 callersFunctiondo_update
(latest: &str)
src/update_checker.rs:315
↓ 2 callersFunctionextract_api_endpoints
Extract API endpoints from JavaScript content - ENHANCED VERSION
src/js_crawler.rs:265
↓ 2 callersFunctionextract_host_from_url_like
Best-effort extraction of host from a URL-like line.
src/main.rs:3541
↓ 2 callersFunctionextract_js_from_urlfinder
Extract JavaScript URLs from URLFinder output
src/js_crawler.rs:60
↓ 2 callersFunctionextract_title
Extract page title from HTML
src/admin_finder.rs:577
↓ 2 callersFunctionfetch_latest_version
Fetch latest version from GitHub API
src/update_checker.rs:67
↓ 2 callersFunctionformat_discovery
Format a discovery result in a nice side-by-side format
src/ip_scanner.rs:87
↓ 2 callersFunctionfuzz_single_ip
Fuzz a single IP with timeout - returns discovered paths
src/ip_scanner.rs:389
↓ 2 callersFunctiongenerate_html_report
Generate comprehensive HTML report from scan results
src/report_generator.rs:10
↓ 2 callersFunctionget_optimal_threads
Get optimal thread count based on system resources
src/ip_scanner.rs:61
↓ 2 callersFunctionget_top_1000_ports
Get top 1000 common HTTP ports as a string for scanning
src/ip_scanner.rs:186
↓ 2 callersFunctionis_css_property
Check if name is a common CSS property
src/package_scanner.rs:731
↓ 2 callersFunctionis_css_value
Check if a string looks like a CSS value
src/package_scanner.rs:945
↓ 2 callersFunctionis_hash_or_id
Check if name looks like a hash or ID (long hexadecimal string)
src/package_scanner.rs:789
↓ 2 callersFunctionis_newer
Compare semver: returns true if remote > local
src/update_checker.rs:85
↓ 2 callersFunctionis_programming_keyword
Check if name is a JavaScript/Python reserved keyword or common built-in
src/package_scanner.rs:766
↓ 2 callersFunctionnormalize_domain
Normalize and validate domain input to avoid command injection and path traversal.
src/main.rs:718
↓ 2 callersFunctionnow_secs
()
src/update_checker.rs:37
↓ 2 callersFunctionparse_iacrawl_results
Parse iacrawl JSON output into summary
src/iacrawl_scanner.rs:226
↓ 2 callersMethodping_server
Ping the Ollama server to check if it's running
src/ollama.rs:190
↓ 2 callersFunctionprint_tool_status_with_path
Print status of a single tool with discovered path
src/main.rs:4311
↓ 2 callersFunctionprocess_domain_impl
Internal implementation of domain scanning
src/main.rs:884
↓ 2 callersFunctionread_wordlist
Read a wordlist from file
src/bruteforce.rs:413
↓ 2 callersFunctionscan_for_all_hardcoded_secrets
COMPREHENSIVE scan for ALL types of hardcoded secrets This function checks for 70+ types of secrets and credentials
src/secrets_scanner.rs:1063
↓ 2 callersFunctionscore_secret
( secret: &str, secret_type: &str, content: &str, match_position: usize, validated: bool,
src/secret_validators.rs:346
↓ 2 callersFunctionshow_update_banner
(latest: &str)
src/update_checker.rs:279
↓ 2 callersFunctionsimple_hash
Calculate a simple hash for content comparison
src/admin_finder.rs:227
↓ 2 callersFunctionstrip_ansi_codes
Strip ANSI escape codes from a string
src/main.rs:4139
↓ 2 callersFunctiontest_gcs_bucket_permissions
Test Google Cloud Storage bucket permissions
src/secrets_scanner.rs:513
↓ 2 callersFunctiontest_s3_bucket_permissions
Test AWS S3 bucket permissions (anonymous access only)
src/secrets_scanner.rs:431
↓ 2 callersFunctiontry_extract_ips
(text: &str)
src/ip_validator.rs:445
↓ 2 callersFunctionwrite_cache
Write version to cache
src/update_checker.rs:56
↓ 1 callersMethodadd_vulnerability
(&mut self, name: String, severity: String, target: String)
src/metrics.rs:268
↓ 1 callersMethodanalyze_admin_panel
Analyze if a URL is really an admin panel
src/ollama.rs:446
↓ 1 callersFunctionanalyze_context
(content: &str, match_position: usize)
src/secret_validators.rs:192
↓ 1 callersMethodanalyze_directory_finding
Analyze a chameleon directory finding for false positive filtering
src/ollama.rs:590
↓ 1 callersFunctionanalyze_js_file
Fetch and analyze a JavaScript file for secrets and endpoints
src/js_crawler.rs:205
↓ 1 callersMethodanalyze_nuclei_finding
Analyze a Nuclei vulnerability finding
src/ollama.rs:411
↓ 1 callersMethodanalyze_package
Analyze if a package dependency is a real finding or false positive
src/ollama.rs:484
↓ 1 callersFunctionanalyze_source_map
Analyze source map for secrets and information
src/js_crawler.rs:713
↓ 1 callersMethodanalyze_supabase_finding
Analyze a Supabase key finding and exploitation results
src/ollama.rs:673
↓ 1 callersMethodanalyze_wpscan_finding
Analyze a WPScan vulnerability finding for false positive filtering
src/ollama.rs:633
↓ 1 callersMethodauto_bootstrap
Complete auto-bootstrap pipeline
src/ollama.rs:81
↓ 1 callersFunctionbasic_port_scan
Basic TCP port scan fallback
src/ip_scanner.rs:276
↓ 1 callersFunctionbrute_force_common_subdomains
DNS bruteforce of common high-yield subdomain labels.
src/main.rs:3604
↓ 1 callersFunctionbruteforce_logins
Perform bruteforce attack on detected login forms
src/bruteforce.rs:200
↓ 1 callersFunctioncheck_admin_url_with_hash
Check a single URL for admin panel (returns hash for comparison)
src/admin_finder.rs:491
↓ 1 callersFunctioncheck_and_update
Check for updates (uses cache, silent on failure)
src/update_checker.rs:201
↓ 1 callersFunctioncheck_and_update_force
Force check (bypasses cache), used with --check-update
src/update_checker.rs:224
↓ 1 callersFunctioncheck_docker_available
Check if Docker is installed and the daemon is running
src/wpscan.rs:163
↓ 1 callersMethodcheck_model_exists
Check if a specific model is already pulled
src/ollama.rs:202
↓ 1 callersFunctioncheck_tools_status
Check and display status of all tools (with auto-discovery)
src/main.rs:4206
↓ 1 callersFunctioncollect_archive_subdomain_candidates
Collect additional candidates by mining historical URL providers.
src/main.rs:3562
↓ 1 callersFunctionconfigure_shell_path
Configure PATH in shell configuration files (.bashrc, .zshrc, .profile)
src/main.rs:4497
↓ 1 callersFunctioncount_vuln_severities
Count vulnerabilities by severity
src/report_generator.rs:1593
↓ 1 callersFunctioncount_wp_vulns
Count total WordPress vulnerabilities from wpscan results JSON
src/report_generator.rs:2365
next →1–100 of 376, ranked by callers