### Install bevigil-cli Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Installs the bevigil-cli package and its dependencies using pip. ```bash $ pip3 install bevigil-cli ``` -------------------------------- ### Code integration example using BeVigil class Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Integrate the BeVigil class into your project by importing it and creating an instance with your API key. Use methods like getPackagesFromDomain and getUrlsFromDomain to retrieve data for a given domain. Available functions include getHostsFromPackage, getPackagesFromSubdomain, getParamsFromPackage, getS3bucketsFromKeyword, getS3bucketsFromPackage, getSubdomainsFromDomain, and getWordlistFromPackage. ```text In [1]: from bevigil import BeVigil In [2]: bevigil = BeVigil(api_key = "API_KEY") In [3]: packages = bevigil.getPackagesFromDomain(domain = "netflix.com") In [4]: wordlist = bevigil.getUrlsFromDomain(domain = "netflix.com") ``` -------------------------------- ### Get wordlist for an Android package Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Requests a wordlist crafted from an Android package. The output shows the package ID and the raw wordlist contents. ```bash $ bevigil-cli enum wordlist --package "com.whatsapp" ``` ```json { "package_id": "com.whatsapp", "raw_wordlist": [ "header.json", "content.json", "change_number_contacts.json", "manifest.json", "client_search.php", "metadata.json", "verification.php", "debuginfo.json", "payments_error_map.json", "ephemeral_settings_lottie_animation.json", "/DCIM/Camera", "/native-libs/", "/timer/stop:", "/cgroup", "/bg_non_interactive", "/dev/null", ] } ``` -------------------------------- ### Get packages for a domain or subdomain Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Requests packages associated with a domain or subdomain; use the appropriate flag depending on the input type. The output shows the domain and matching packages with app details. ```bash $ bevigil-cli enum packages --domain "dreamplug.in" ``` ```bash $ bevigil-cli enum packages --subdomain "itunes.apple.com" ``` ```json { "domain": "dreamplug.in", "packages": [ { "package_id": "com.dreamplug.androidapp", "app_name": "CRED: Credit Card Bills & More", "app_version": "2.1.41.13" }, { "package_id": "com.dreamplug.credmerchant", "app_name": "Partner Merchant App", "app_version": "1.0.15" } ] } ``` -------------------------------- ### Get hosts for an Android package Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Requests all hostnames extracted from an Android package. The output shows the package ID and a list of hostnames. ```bash $ bevigil-cli enum hosts --package "com.whatsapp" ``` ```json { "package_id": "com.whatsapp", "hosts": [ "faq.whatsapp.com", "play.google.com", "crashlogs.whatsapp.net", "www.whatsapp.com", "xmlpull.org", "wa.me", "static.whatsapp.net", "ns.adobe.com", "maps.instagram.com", "expresswifi.com", "graph.facebook.com", "www.facebook.com", "whatsapp.com", "www.messenger.com", "maps.google.com", ] } ``` -------------------------------- ### Upgrade bevigil-cli Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Upgrades an existing bevigil-cli installation to the latest version. ```bash $ pip3 install --upgrade bevigil-cli ``` -------------------------------- ### Get subdomains for a domain Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Requests subdomains associated with a domain. Shows the domain and a list of its subdomains. ```bash $ bevigil-cli enum subdomains --domain "dreamplug.in" ``` ```json { "domain": "dreamplug.in", "subdomains": [ "app-webview.dreamplug.in", "webview-prod.dreamplug.in", "merchant-app-prod.dreamplug.in", "app-prod.dreamplug.in" ] } ``` -------------------------------- ### Initialize bevigil-cli with API key Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Configures your API key, which is required before using the CLI to extract assets. Obtain a key from BeVigil's website. ```bash $ bevigil-cli init --api-key ``` -------------------------------- ### bevigil-cli init Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Command to initialize bevigil-cli with an API key and optionally enable tab autocompletion automatically. ```APIDOC ## [CLI] bevigil-cli init ### Description Initializes bevigil-cli with an API key and optionally enables tab autocompletion automatically by detecting the shell type and writing the appropriate shell config file. ### Command ```bash bevigil-cli init --api-key --autocomplete ``` ### Parameters - `--api-key` (string) - Required - The API key for authentication. - `--autocomplete` (flag) - Optional - Enables automatic tab autocompletion setup. ### Notes - Requires restarting the terminal after the entry is added. ``` -------------------------------- ### Show enum command help Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Lists the subcommands available under the 'enum' group along with their options and help text. ```text Enumerate assets using BeVigil OSINT API Options: -h, --help Show this message and exit. Commands: hosts Request hosts present in an android package packages Request packages associated associated with a domain/subdomain params Request params associated with an android package s3 Request S3 buckets associated with a package or a keyword subdomains Request subdomains associated with a domain urls Request URLs associated with a domain wordlist Request a wordlist for a package ``` -------------------------------- ### Execute bevigil-cli enum params --package Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Shows the expected JSON output for `enum params` with the stated package. The response includes the package ID and a key-value mapping of URL parameters, with some values truncated as shown. ```bash $ bevigil-cli enum params --package "com.whatsapp" ``` ```json { "package_id": "com.whatsapp", "url_params": { "id": [ "com.whatsapp.wallpaper" ], "fields": [ "base_url,static_base_url,osm_config,url_overr..." ], "cat": [ "all" ], "phone": [ "%s" ], "text": [ "%s" ], "q": [ "WAStickerApps" ], "c": [ "apps" ], "product_type": [ "payments_p2p_fbpay" ], "india": [ "1" ] } } ``` -------------------------------- ### Automatically enable tab autocompletion with bevigil-cli init --autocomplete Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Run this command to automatically detect your shell type and write the appropriate shell config file with the correct completion entry. Requires an API key and restarts terminal after execution. ```bash $ bevigil-cli init --api-key --autocomplete ``` -------------------------------- ### Request URL parameters by domain with bevigil-cli enum urls Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Requests all parameters associated with an Android package by specifying a domain illustration, and shows the returned JSON containing the domain and a list of URLs. ```bash $ bevigil-cli enum urls --domain "example.com" ``` ```json { "domain": "example.com", "urls": [ "http://example.com#optional", "http://example.com/ANamespace\\", "http://example.com/wrapperA-linear-clicktracking3", "http://example.com/wrapperB-linear-progress-60%", "https://example.com:8080/somewhere/over/the/rainbow", "https://www.example.com/resultadotpvzaragoza/prueba", "http://example.com/wrapperB-linear-clickthrough", ] } ``` -------------------------------- ### BeVigil.getSubdomainsFromDomain(domain) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve subdomains associated with a domain. ```APIDOC ## [Python] BeVigil.getSubdomainsFromDomain(domain) ### Description Takes a domain as an argument and returns JSON data containing subdomains associated with the domain. ### Method Python method ### Parameters - `domain` (string) - Required - The domain to query. ### Returns JSON data containing subdomains associated with the domain. ``` -------------------------------- ### BeVigil.getHostsFromPackage(package_id) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve hosts from an Android package. ```APIDOC ## [Python] BeVigil.getHostsFromPackage(package_id) ### Description Takes a package ID of an Android application as an argument and returns JSON data containing hosts extracted from that package. ### Method Python method ### Parameters - `package_id` (string) - Required - The package ID of the Android application. ### Returns JSON data containing hosts extracted from the package. ``` -------------------------------- ### Request S3 buckets by keyword with bevigil-cli enum s3 Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Requests S3 data based on a keyword and shows the JSON response. The output contains a keyword field and an array of S3 bucket URLs matching that keyword. ```bash $ bevigil-cli enum s3 --keyword "healthcare" ``` ```json { "keyword": "healthcare", "s3_buckets": [ "https://s3-ap-southeast-1.amazonaws.com/upay-pub-assets/merchant/logo/ceylinco-healthcare.png", "https://s3.ap-south-1.amazonaws.com/medgreenhealthcarelive/", "https://med360.s3.amazonaws.com/prod/cuc/healthcare_service/cuc_default.jpg", "https://healthcare-lp-537983768107.s3-ap-northeast-1.amazonaws.com/webview/terms/arida.html", "https://healthcare-lp-537983768107.s3-ap-northeast-1.amazonaws.com/webview/arida_use_guide/index.html", ] } ``` -------------------------------- ### BeVigil.getS3bucketsFromKeyword(keyword) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve S3 bucket URLs associated with a keyword. ```APIDOC ## [Python] BeVigil.getS3bucketsFromKeyword(keyword) ### Description Takes a keyword as an argument and returns JSON data containing S3 bucket URLs associated with the keyword. ### Method Python method ### Parameters - `keyword` (string) - Required - The keyword to query. ### Returns JSON data containing S3 bucket URLs associated with the keyword. ``` -------------------------------- ### BeVigil.getParamsFromPackage(package_id) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve URL parameters from an Android package. ```APIDOC ## [Python] BeVigil.getParamsFromPackage(package_id) ### Description Takes a package ID of an Android application as an argument and returns JSON data containing URL parameters associated with that package ID. ### Method Python method ### Parameters - `package_id` (string) - Required - The package ID of the Android application. ### Returns JSON data containing URL parameters associated with the package ID. ``` -------------------------------- ### Manual shell completion commands for Bash, Zsh, and Fish Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Add these lines to your shell configuration file for tab completion in Bash, Zsh, or Fish, respectively. Replace the output file path (e.g., ~/.bashrc) with your actual shell config file. After adding the entry, restart your terminal for changes to take effect. ```bash $ eval "$(_BEVIGIL_CLI_COMPLETE=bash_source bevigil-cli)" >> ~/.bashrc ``` ```bash $ eval "$(_BEVIGIL_CLI_COMPLETE=zsh_source bevigil-cli)" >> ~/.zshrc ``` ```bash $ eval (env _BEVIGIL_CLI_COMPLETE=fish_source bevigil-cli) >> ~/.config/fish/completions/foo-bar.fish ``` -------------------------------- ### BeVigil.getS3bucketsFromPackage(package_id) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve S3 bucket URLs from an Android package. ```APIDOC ## [Python] BeVigil.getS3bucketsFromPackage(package_id) ### Description Takes a package ID of an Android application as an argument and returns JSON data containing S3 bucket URLs associated with the package ID. ### Method Python method ### Parameters - `package_id` (string) - Required - The package ID of the Android application. ### Returns JSON data containing S3 bucket URLs associated with the package ID. ``` -------------------------------- ### BeVigil.getPackagesFromDomain(domain) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve Android package IDs associated with a domain. ```APIDOC ## [Python] BeVigil.getPackagesFromDomain(domain) ### Description Takes a domain as an argument and returns JSON data containing Android package IDs associated with that domain. ### Method Python method ### Parameters - `domain` (string) - Required - The domain to query. ### Returns JSON data containing Android package IDs associated with the domain. ``` -------------------------------- ### BeVigil.getPackagesFromSubdomain(subdomain) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve Android package IDs associated with a subdomain. ```APIDOC ## [Python] BeVigil.getPackagesFromSubdomain(subdomain) ### Description Takes a subdomain as an argument and returns JSON data containing Android package IDs associated with that subdomain. ### Method Python method ### Parameters - `subdomain` (string) - Required - The subdomain to query. ### Returns JSON data containing Android package IDs associated with the subdomain. ``` -------------------------------- ### BeVigil.getWordlistFromPackage(package_id) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve a wordlist from an Android package. ```APIDOC ## [Python] BeVigil.getWordlistFromPackage(package_id) ### Description Takes a package ID of an Android application as an argument and returns JSON data containing a wordlist associated with the package ID. ### Method Python method ### Parameters - `package_id` (string) - Required - The package ID of the Android application. ### Returns JSON data containing a wordlist associated with the package ID. ``` -------------------------------- ### Request S3 buckets by package with bevigil-cli enum s3 Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Requests S3 data associated with an Android package name. This is the command to run when you know the package identifier. ```bash $ bevigil-cli enum s3 --package "com.example.app" ``` -------------------------------- ### BeVigil.getUrlsFromDomain(domain) Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Python method to retrieve URLs associated with a domain. ```APIDOC ## [Python] BeVigil.getUrlsFromDomain(domain) ### Description Takes a domain as an argument and returns JSON data containing URLs associated with the domain. ### Method Python method ### Parameters - `domain` (string) - Required - The domain to query. ### Returns JSON data containing URLs associated with the domain. ``` -------------------------------- ### Fish Tab Autocompletion Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Command to enable tab autocompletion for bevigil-cli in Fish by adding the completion script to the shell configuration file. ```APIDOC ## [Fish] Tab Autocompletion Setup ### Description Adds tab autocompletion for the bevigil-cli command in Fish by appending the completion script to the user's fish completions file. ### Command ```bash eval (env _BEVIGIL_CLI_COMPLETE=fish_source bevigil-cli) >> ~/.config/fish/completions/foo-bar.fish ``` ### Notes - Requires restarting the terminal after adding the entry. ``` -------------------------------- ### Bash Tab Autocompletion Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Command to enable tab autocompletion for bevigil-cli in Bash by adding the completion script to the shell configuration file. ```APIDOC ## [Bash] Tab Autocompletion Setup ### Description Adds tab autocompletion for the bevigil-cli command in Bash by appending the completion script to the user's .bashrc file. ### Command ```bash eval "$(_BEVIGIL_CLI_COMPLETE=bash_source bevigil-cli)" >> ~/.bashrc ``` ### Notes - Requires restarting the terminal after adding the entry. ``` -------------------------------- ### Zsh Tab Autocompletion Source: https://github.com/bevigil/bevigil-osint-cli/blob/main/README.md Command to enable tab autocompletion for bevigil-cli in Zsh by adding the completion script to the shell configuration file. ```APIDOC ## [Zsh] Tab Autocompletion Setup ### Description Adds tab autocompletion for the bevigil-cli command in Zsh by appending the completion script to the user's .zshrc file. ### Command ```bash eval "$(_BEVIGIL_CLI_COMPLETE=zsh_source bevigil-cli)" >> ~/.zshrc ``` ### Notes - Requires restarting the terminal after adding the entry. ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.