Code Monkey home page Code Monkey logo

xampp-local-network-exposure-scan's Introduction

XAMPP Exposure Scan

This Bash script performs a local network scan to identify XAMPP installations that are exposed on the network. It checks if port 80 is open on each IP address and verifies if the server running at that IP address is XAMPP (or another Apache server).

Prerequisites

  • Bash (GNU Bash 4.0 or later)
  • gtimeout command (available on macOS using coreutils)
  • nc (netcat) command
  • curl command

Usage

  1. Clone the repository:

    git clone https://github.com/your-username/xampp-exposure-scan.git

2. Navigate to the project directory:

   ```bash
   cd xampp-exposure-scan
   ```

3. Make the scripts executable:

   ```bash
   chmod +x scan.sh check_ip.sh
   ```

4. Run the scan:

   ```bash
   ./scan.sh
   ```

   The script will scan the local network for IP addresses, check their exposure, and display the results. It will also provide an overview table of the IP addresses and their statuses.

   You can use the `--test` flag to test a specific IP address, and the `--verbose` flag to display more verbose information about the response.

   ```bash
   # Test a specific IP address with verbose output
   ./scan.sh --test --verbose

   # Test a specific IP address without verbose output
   ./scan.sh --test
   ```

## Output

The script will display the progress of the scan, individual IP address checks, and an overview table with clickable links to open the identified IP addresses in a default browser.

## Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request.

## License

This project is licensed under the [MIT License](LICENSE).

xampp-local-network-exposure-scan's People

Watchers

Joris Schelfhout 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.