Skip to content

cybersecurityworks553/CVE-2021-42392-Detect

Repository files navigation

CVE-2021-42392-Detect

About

The script detects vulnerable H2 server for the give list of IPs, it can identify the H2 Console web pages and check for access restrictions.

Usage

Create a file containing list of IPs and name the file IP.txt, place the 'IP.txt' and 'h2-detect.py' in a directory and execute the script.

Here "IP.txt" is the default filename that's hardcoded into script however the script can also take an random filename as input argument and when if no filename is specified it searched for "IP.txt" file in the current directory and if it is not found it throws an file not found error.

So either specify a filename or simply place IP.txt file with the h2_detect.py scripts.

usage1

usage2

Script Syntax

# Useing Default filename  
`$ python h2_detect_v0.3.py IP.txt ` or  `$ python h2_detect_v0.3.py`

# Specifying filename
`$ python3 h2_detect_v0.3.py <filename.txt>`

Error

error

Requirments

pip install bs4

Created by

Vivek Gopal

Security Analyst

Cybersecurityworks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages