MCPcopy Create free account

hub / github.com/MorDavid/BruteForceAI / functions

Functions57 in github.com/MorDavid/BruteForceAI

↓ 5 callersMethod_attempt_login
Attempt login with given credentials and detect success/failure Args: url: Target URL selectors_data
BruteForceCore.py:1897
↓ 5 callersMethod_save_form_analysis
Save form analysis results to database
BruteForceCore.py:1046
↓ 4 callersMethod_calculate_delay_with_jitter
Calculate delay with random jitter for more human-like timing Returns: float: Total delay time (base delay + ran
BruteForceCore.py:289
↓ 4 callersMethod_has_webhooks_configured
Check if any webhooks are configured Returns: bool: True if at least one webhook is configured, False otherwise
BruteForceCore.py:2373
↓ 4 callersMethod_send_success_notification
Send success notification to configured webhooks Args: url: Target URL where success occurred userna
BruteForceCore.py:2211
↓ 3 callersMethod_extract_form_content
Extract login-related content from HTML - inputs, buttons, and their context
BruteForceCore.py:1336
↓ 3 callersMethod_load_data
Load data from file or return list if already a list
BruteForceCore.py:203
↓ 2 callersMethod_attempt_exists
Check if an attempt already exists in the database Args: url: Target URL username: Username to check
BruteForceCore.py:2161
↓ 2 callersMethod_get_random_user_agent
Get a random User-Agent string from the loaded list Returns: str: Random User-Agent string or None if no User-Ag
BruteForceCore.py:2147
↓ 2 callersMethod_save_brute_force_attempt
Save brute force attempt to database
BruteForceCore.py:2104
↓ 2 callersMethod_test_login_attempt
Test actual login attempt to measure failed DOM length
BruteForceCore.py:1081
↓ 2 callersMethod_validate_selectors_with_details
Validate selectors and return both results and detailed feedback
BruteForceCore.py:880
↓ 2 callersFunctioncheck_for_updates
Check for updates from mordavid.com Args: silent: If True, only show update messages, not "up to date" messages force: I
BruteForceCore.py:21
↓ 2 callersMethodcreate_database
Create SQLite database with required tables if it doesn't exist
BruteForceCore.py:229
↓ 2 callersMethodllm_prompt
Send prompt to LLM provider (Ollama or Groq) Args: prompt: The user prompt to send system_prompt: Op
BruteForceCore.py:331
↓ 2 callersMethodload_file_lines
Load lines from a file, strip whitespace and filter empty lines
BruteForceCore.py:215
↓ 1 callersMethod_analyze_with_llm
Analyze HTML content with LLM to identify selectors
BruteForceCore.py:733
↓ 1 callersMethod_analyze_with_llm_retry
Analyze HTML content with LLM on retry, providing feedback about previous failures
BruteForceCore.py:798
↓ 1 callersFunction_check_ollama_availability
Check if Ollama is installed and running Args: ollama_url: Ollama server URL (default: http://localhost:11434) Retu
BruteForceCore.py:2382
↓ 1 callersFunction_check_ollama_model
Check if a specific model is installed in Ollama Args: model_name: Name of the model to check ollama_url: Ollama server
BruteForceCore.py:2398
↓ 1 callersMethod_execute_bruteforce
Execute brute force attack (try all username/password combinations)
BruteForceCore.py:1528
↓ 1 callersMethod_execute_passwordspray
Execute password spray attack (try each password against all usernames)
BruteForceCore.py:1673
↓ 1 callersMethod_extract_working_selectors
Extract selectors that actually work from validation results
BruteForceCore.py:1321
↓ 1 callersMethod_get_existing_selectors
Check if selectors already exist in the database for a URL Args: url: URL to check Returns:
BruteForceCore.py:1255
↓ 1 callersMethod_get_external_ip
Get external IP address (can be slow - up to 5 seconds)
BruteForceCore.py:2137
↓ 1 callersMethod_get_selectors_from_database
Get selectors and analysis data from database for a URL Args: url: URL to get selectors for
BruteForceCore.py:1465
↓ 1 callersMethod_groq_request
Send request to Groq API
BruteForceCore.py:385
↓ 1 callersMethod_ollama_request
Send request to Ollama API
BruteForceCore.py:354
↓ 1 callersMethod_prepare_failure_feedback
Prepare detailed feedback about failed selectors for LLM retry
BruteForceCore.py:996
↓ 1 callersMethod_print_webhook_config
Print webhook configuration status
BruteForceCore.py:2192
↓ 1 callersMethod_send_discord_notification
Send notification to Discord webhook
BruteForceCore.py:2250
↓ 1 callersMethod_send_slack_notification
Send notification to Slack webhook
BruteForceCore.py:2280
↓ 1 callersMethod_send_teams_notification
Send notification to Microsoft Teams webhook
BruteForceCore.py:2309
↓ 1 callersMethod_send_telegram_notification
Send notification to Telegram bot
BruteForceCore.py:2341
↓ 1 callersFunction_validate_llm_setup
Validate LLM setup and provide helpful error messages Args: llm_provider: LLM provider ('ollama' or 'groq') llm_model: M
BruteForceCore.py:2422
↓ 1 callersMethodcheck_or_create_database
Check if database exists, create it if it doesn't
BruteForceCore.py:277
↓ 1 callersMethodclean_database
Clean (truncate) all database tables
BruteForceCore.py:1222
↓ 1 callersMethoddisable
Disable all colors
BruteForceCore.py:87
↓ 1 callersFunctionexecute_analyze
Execute Analyze - Login form analysis
BruteForceAI.py:246
↓ 1 callersFunctionexecute_attack
Execute Attack - Login attacks
BruteForceAI.py:322
↓ 1 callersFunctionexecute_check_updates
Execute Check Updates
BruteForceAI.py:417
↓ 1 callersFunctionexecute_clean_db
Clean database tables
BruteForceAI.py:399
↓ 1 callersMethodflush
Flush both outputs
BruteForceAI.py:48
↓ 1 callersFunctionmain
()
BruteForceAI.py:54
↓ 1 callersFunctionprint_banner
Print colorful banner with tool information
BruteForceCore.py:100
↓ 1 callersMethodstage1
Analyze web page to identify login form selectors Args: url: URL to analyze Returns:
BruteForceCore.py:450
↓ 1 callersMethodstage2
Execute brute force attack using analyzed selectors from stage1 Args: mode: 'bruteforce' or 'passwordspray' (def
BruteForceCore.py:1420
↓ 1 callersMethodstart
Start capturing output
BruteForceAI.py:22
↓ 1 callersMethodstop
Stop capturing output
BruteForceAI.py:33
Method__init__
(self, filename)
BruteForceAI.py:16
Method__init__
Initialize BruteForceAI instance Args: urls_file: File path containing URLs (one per line) or list of URLs
BruteForceCore.py:119
Method__str__
(self)
BruteForceCore.py:328
Method_attempt_login_with_delay
Attempt login with delay logic for multi-threaded brute force This tries to implement delay between passwords for the same user in mu
BruteForceCore.py:1865
Method_attempt_login_with_delay_sync
Attempt login with synchronized delay logic for multi-threaded brute force This ensures proper delay between passwords for the same u
BruteForceCore.py:1828
Method_attempt_login_with_success_check
Attempt login with success check for multi-threaded password spray
BruteForceCore.py:1817
Methodrun
Execute the brute force operation
BruteForceCore.py:309
Methodwrite
Write to both console and file
BruteForceAI.py:41