Skip to main content

Cookie Analyser

Project description

penterepTools

PTCOOKIE

Cookie Analyser

ptcookie is a tool for analysing cookies.

Installation

pip install ptcookie

Add to PATH

If you cannot invoke the script in your terminal, its probably because its not in your PATH. Fix it by running commands below.

Add to path for BASH

echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.bashrc
source ~/.bashrc

Add to path for ZSH

echo "export PATH=\"`python3 -m site --user-base`/bin:\$PATH\"" >> ~/.zshhrc
source ~/.zshhrc

Usage examples

ptcookie -s ASP.NET_SessionId
ptcookie -s PHPSESSID

Options

-s   --search-for  <cookie>        Search for cookie
-p   --proxy       <proxy>         Set proxy (e.g. http://127.0.0.1:8080)
-ua  --user-agent  <ua>            Set User-Agent header
-H   --headers     <header:value>  Set custom header(s)
-j   --json                        Output in JSON format
-v   --version                     Show script version and exit
-h   --help                        Show this help message and exit

Dependencies

  • cloudscraper
  • ptlibs

Version History

- 0.0.1
    - Initial release

Licence

Copyright (c) 2020 HACKER Consulting s.r.o.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Warning

You are only allowed to run the tool against the websites which you have been given permission to pentest. We do not accept any responsibility for any damage/harm that this application causes to your computer, or your network. Penterep is not responsible for any illegal or malicious use of this code. Be Ethical!

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

ptcookie-0.0.1.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

ptcookie-0.0.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file ptcookie-0.0.1.tar.gz.

File metadata

  • Download URL: ptcookie-0.0.1.tar.gz
  • Upload date:
  • Size: 16.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.12

File hashes

Hashes for ptcookie-0.0.1.tar.gz
Algorithm Hash digest
SHA256 75515bd6dbdaf780c52c3940c16b4fb99348307c03e4f52de10e6fd9ad880b39
MD5 9e7efc4330db642e7db9c4e5839af3a9
BLAKE2b-256 6d24d7eec7afc2eb84a3bf6066cba490fbedd5d39343c1fbbee2b1832ec1aedc

See more details on using hashes here.

File details

Details for the file ptcookie-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ptcookie-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.6.4 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.12

File hashes

Hashes for ptcookie-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb68672d5edc50119dd5c7c6ef792293a8315a0946fe809df9fe406854bc9cad
MD5 9c844199c11a43b0d0cb8cca8e165d90
BLAKE2b-256 d6ef7c8effb272fcb47ecb31086f3004c003186e0407204bdd8aa21fc98d1b5b

See more details on using hashes here.

Supported by

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