Skip to main content

A tool for extracting and analyzing cookies and tokens from websites

Project description

Cookie_Monster

Cookie_Monster is a Python tool designed to capture and analyze session IDs, cookies, and web tokens from websites. It scans a provided URL to extract these details and performs basic analysis to identify potential vulnerabilities or types of tokens and cookies.

Features

  • Extracts Cookies and Tokens: Retrieves cookies and tokens from HTTP headers and JavaScript embedded in the page.
  • Basic Analysis: Identifies whether extracted cookies or tokens might be session-related or authentication-related.
  • Command-Line Interface: Run the script from the command line with a single URL parameter.

Installation

  1. Ensure you have Python installed on your machine.

  2. Install the required Python packages using the following command:

    pip install -r requirements.txt
    

    Where requirements.txt should include the following:

    base65
    requests==2.28.2
    beautifulsoup4==4.12.2
    

Usage

Run the script from the command line by providing the URL you want to scan. Example usage:

python Cookie_Monster.py http://example.com

This file was created before packaging below is the commands to run as pypi:

pip install Cookie_Monster
'''

cookie-monster


### Arguments

- `<URL>`: The website URL to scan.

## Example Output

Here's an example of what the output might look like:

```plaintext
[*] Scanning website: http://example.com
[*] Cookie: session_id = abc123
Analyzing Cookie: session_id
[!] Cookie may be a session cookie.

[*] Token: auth_token = xyz789
Analyzing Token: auth_token
[!] Token may be an authentication token.

Analysis Details

  • Cookies:

    • If the cookie name contains 'session', it might be a session cookie.
    • If the cookie name contains 'token', it might be a token.
  • Tokens:

    • If the token name contains 'session', it might be a session token.
    • If the token name contains 'auth', it might be an authentication token.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Built by DeadmanXXXII.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

C00ki3_M0nster-0.1.1.tar.gz (290.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

C00ki3_M0nster-0.1.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file C00ki3_M0nster-0.1.1.tar.gz.

File metadata

  • Download URL: C00ki3_M0nster-0.1.1.tar.gz
  • Upload date:
  • Size: 290.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for C00ki3_M0nster-0.1.1.tar.gz
Algorithm Hash digest
SHA256 79f530045fc2c7f86c8430aa36ab8d41f469ec397034a376690fc22ccadf2920
MD5 8b24a105f70aa53f832381b7e549b1a0
BLAKE2b-256 fc122d8fd18afbdf1336351603123385c64390973a1413689154abe30476e7b5

See more details on using hashes here.

File details

Details for the file C00ki3_M0nster-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: C00ki3_M0nster-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for C00ki3_M0nster-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2c4ff2d23f7592d8405710d8f5194771f2c67abf0195a4246a0a1f92306929b1
MD5 2e0612bfbf891902d870f214c424184b
BLAKE2b-256 bd8148c4c53c7e7b7affea64a7ddc0cbc31418111bdf56cfaf3f005f46c0112e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page