GithubHelp home page GithubHelp logo

biplobsd / checkhttp Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 1 KB

This script checks the availability of IP addresses over HTTP and HTTPS protocols using a 'data.txt' file obtained from rustscan.

Python 100.00%

checkhttp's Introduction

This script checks the availability of IP addresses over HTTP and HTTPS protocols. It utilizes a file named 'data.txt' which contains a list of IP addresses obtained through the use of the tool rustscan.

Installation

To run this script, you will need to have the following python packages installed:

  • requests
  • re

You can install these packages using pip by running the following command in your terminal:

pip install requests re

Usage

To use this script, you will need a file named 'data.txt' containing a list of IP addresses obtained through rustscan in the format like:

Open 172.17.5.72:21
Open 172.17.5.9:135
Open 172.17.5.35:135

The script can then be run by calling the script with python:

python script_name.py

Note: the script will look for the 'data.txt' file in the same directory as the script.

Output

When the script is run, it will check each IP address over both HTTP and HTTPS protocols. For each IP address, it will either print the URL if the IP address is available, or it will print a '.' if the IP address is not available. The output will look something like this:

.. 
http://172.17.5.72:21
.. 
https://172.17.5.72:21
..... 
http://172.17.5.9:135
..... 
https://172.17.5.9:135
.............

Credit

This README.md was written by ChatGPT, and the script was created by Biplob Sutradhar, you can find more of his work on his GitHub repository at github.com/biplobsd.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.