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.2.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.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: C00ki3_M0nster-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 eb59fd1c8d7c283c8b65593aed5eae8461ee5ddebdf895c6f02a88bad5bce5ef
MD5 643131c35289d1ba2cc6f2a8cdade0b7
BLAKE2b-256 1f1d648699f1a62768a2a0fc83ee79346cd27abf00fcc966668e9c845a07e9a4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: C00ki3_M0nster-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60d08c790fe1741d40fe0240310d6084f62cab38aecd788ec89964d658e780c1
MD5 8a47ebdbe0b2b53afec1abbc0d803ffe
BLAKE2b-256 61145d832d066b3b2d6cf73a11de67a445f511f98ed1fd9f3a9f00e6bffe3571

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