cdn-cracker

所属分类:collect
开发工具:Python
文件大小:0KB
下载次数:2
上传日期:2023-05-22 20:42:20
上 传 者sh-1993
说明:  绕过Cloudflare、Akamai、Fastly、CloudFront和Incapsula等著名CDN,在网站背后公开实际IP地址。
(Bypasses renowned CDNs like Cloudflare, Akamai, Fastly, CloudFront, and Incapsula, exposing the actual IP addresses behind websites.)

文件列表:
LICENSE (1068, 2023-05-22)
cdn-cracker.py (21503, 2023-05-22)
get-ips.py (997, 2023-05-22)
lite-scout.py (888, 2023-05-22)
requirements.txt (9, 2023-05-22)
setup.sh (308, 2023-05-22)

# CDN Cracker CDN Cracker is a script designed to check a list of IP addresses for their association with a specific domain by analyzing the HTML title of their corresponding websites. It utilizes concurrent execution to efficiently process multiple IP addresses simultaneously. # Features - Checks a list of IP addresses for their association with a specific domain. - Bypasses CDNs such as Cloudflare, Cloudflarenet, Akamai, and others by directly sending requests to the IP addresses. - Analyzes the HTML title element of the website response to determine association. - After association it scans for the element. - If the element is found within the response, the CDN can be bypassed by sending requests directly, with the host header set to the target/victim. # WARNING Please note that CDN Cracker is currently in the **early alpha state**, and it may contain bugs or unexpected behavior. Use it at your own risk. For educational purposes only! ## Prerequisites - Python 3.x - Masscan - Bash ## Installation 1. Clone the repository: ```bash git clone https://github.com/ChuckNorr1s/cdn-cracker.git ``` 2. Navigate to the project directory: ```bash cd cdn-cracker ``` 3. Install the required dependencies: ```bash chmod +x setup.sh && ./setup.sh ``` ## Usage ```bash python3 cdn-cracker.py [target_title] [file_path] [domain] ``` Arguments: - `target_title`: The target HTML title to search for - `file_path`: The file path to save the results - `domain`: The domain name to modify the Host header ### To get a list of IPs ```bash python3 get-ips.py [network_range] ``` Replace `[network_range]` with the desired IP range to scan. For example: ```bash python3 get-ips.py 192.168.0.0/24 ``` The script will use `masscan` to scan the specified IP range for open ports (80 and 443) and generate the results in a `ips.txt` file. #### OR ##### NOTE: CENSYS HAS BEEN REMOVED TEMPORARY 1.Set up the required environment variables: - `SHODAN_API_KEY`: Your Shodan API key. - `CENSYS_API_ID`: Your Censys API ID. - `CENSYS_API_SECRET`: Your Censys API secret. 2. Run the script using the following command: ```bash python3 lite-scout.py "your-query" ``` Replace `"your-query"` with the specific query you want to use for IP address extraction. **Example:** ```bash python3 lite-scout.py "hostname:example.com" ``` 3. The script will retrieve results from the Shodan and Censys APIs, extract the IP addresses, and save them to a file named `ips.txt` in the project directory. ```plaintext Results saved to ips.txt ``` ## Important Notes - Disable SSL warnings: The script disables SSL warnings to allow connections to websites with invalid or self-signed certificates. Use caution and ensure the target websites are trusted. - IP Address File: The script reads IP addresses from a file named `ips.txt`. Make sure to provide the file with the desired IP addresses to check. - Maximum Threads: The maximum number of concurrent threads for execution is set to 100 by default. Adjust this value (`num_threads`) based on your system's capabilities and network conditions. ## Example To check if the HTML title of each IP address's corresponding website contains the target title "Example Domain" and save the results to a file named `results.txt`: ```bash python3 cdn-cracker.py "Example Domain" results.txt example.com ``` ## Progress and Timing The script provides progress updates during execution, indicating the percentage of completed IP addresses and the elapsed and remaining time. The timing format is displayed in hours, minutes, and seconds. ## Bugs and Issues CDN Cracker is in the early alpha stage, and it may contain bugs or issues. If you encounter any problems or have suggestions for improvement, please open an issue on the GitHub repository. ## Contribution CDN Cracker is an open-source project, and contributions are welcome. If you have any suggestions, bug fixes, or improvements, please feel free to submit a pull request. ### License This project is licensed under the [MIT License](https://github.com/ChuckNorr1s/cdn-cracker/blob/master/LICENSE).

近期下载者

相关文件


收藏者