Metadata-Version: 2.4
Name: GainAccess
Version: 0.1.0
Summary: A tool for testing access control vulnerabilities and authorization bypasses.
Author: 0nely
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: PyYAML
Dynamic: license-file

# GainAccess

> ⚠️ **Warning:** This tool is currently not functional. The repository is public, but the tool is not ready for use.
>
> GainAccess is an open-source project currently under development.

GainAccess is an open-source security testing tool for identifying access control vulnerabilities in web applications. It tests HTTP 403 bypass techniques, authorization weaknesses, and resource access through request and identifier manipulation.

## Key Techniques

GainAccess focuses on testing access control vulnerabilities, including:

- **403 Bypass:** Test alternative HTTP methods, header manipulation, path variations, and other request modification techniques to evaluate whether access restrictions can be bypassed.
- **IDOR (Insecure Direct Object Reference):** Identify insecure direct object references that may allow unauthorized access to other users' resources.
- **Authorization Bypass:** Identify weaknesses in authorization enforcement that may allow users to access resources or perform actions beyond their assigned permissions.

More techniques may be added in future releases.

## Installation

### Using pipx

```bash
# Install
pipx install GainAccess

# Upgrade
pipx upgrade GainAccess

# Uninstall
pipx uninstall GainAccess
```

### Using pip

```bash
# Install
pip install GainAccess

# Upgrade
pip install --upgrade GainAccess

# Uninstall
pip uninstall GainAccess
```

### Docker

```bash
# Build
docker build -t gainaccess .

# Run
docker run --rm gainaccess --help

# Run a scan
docker run --rm gainaccess -u "https://target.com"

# Remove image
docker rmi gainaccess
```


> **Note:** Using `pipx` is recommended because it automatically manages an isolated virtual environment for GainAccess, avoiding dependency conflicts with other Python packages.


## Legal Disclaimer

GainAccess is developed strictly for educational purposes and authorized security testing.

Users are responsible for ensuring that they have explicit permission to test any target systems or applications.

The author is not responsible for any misuse, damage, data loss, or legal consequences resulting from the use of this tool.

**Do not use GainAccess against systems you do not own or have explicit authorization to test.**

By using this tool, you agree to take full responsibility for your actions and comply with all applicable laws and regulations.

## License

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

You are free to use, modify, and distribute this software in accordance with the terms of the license.
