Coder Social home page Coder Social logo

0liverflow / thewebinspector Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 150 KB

TheWebInspector is a Python script that analyzes a webpage's source code and returns information such as inputs, comments and other tags

License: MIT License

Python 100.00%
http-enumeration pentesting-tool web-inspector webpage-source-code-research redteam-tool

thewebinspector's Introduction

image

TheWebInspector

Python Version 1.0 License

Purpose

TheWebInspector is a Python script that analyzes a webpage's source code. It can be very useful during the HTTP protocol enumeration and provides information such as:

  • The website's title and language
  • The website's meta tags and comments
  • The inputs (hidden inputs, text inputs, password inputs, search inputs, file inputs)
  • Display none tags
  • Forms

Furthermore, it performs certain file enumeration checking for files such as:

  • robots.txt
  • sitemap.xml
  • phpinfo.php
  • wp-login.php
  • /admin/cgi-bin

Last but not least, it retrieves information about allowed HTTP methods and certain HTTP response headers such as Server and X-Powered-By.

Disclaimer ⚠️

Usage of this script for attacking targets without prior mutual consent is illegal. I am not responsible for any misuse or damage caused by this program. Only use for educational purposes.

Demonstration

asciicast

Installation & Usage

TheWebInspector is a cross platform script that works with python 3.x.

git clone https://github.com/0liverFlow/TheWebInspector
cd ./TheWebInspector
pip3 install -r requirements.txt

Then you can run it

python3.x TheWebInspector.py -u url [--followredirects] [-v]

Important Notes

  1. You don't need administrator privileges to run this script.
  2. By default, this script doesn't follow redirections. If you want to follow redirections, you need to specify the --followredirects option.
  3. To get more information, you can use the -v or -vv option which will display more information such as the forms, the sitemap.xml file content.

Contribution

  1. If you noticed any bugs, thanks to report here
  2. For any interesting idea, thanks to ping me at 0liverFlow

thewebinspector's People

Contributors

0liverflow avatar

Stargazers

 avatar

Watchers

 avatar

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.