Skip to main content

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!

Metadata

Release files for ptcookie 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ptcookie 0.0.1
File Size Uploaded
ptcookie-0.0.1.tar.gz 16.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ptcookie 0.0.1
File Interpreter ABI Platform
ptcookie-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.4 kB

Release files / ptcookie-0.0.1.tar.gz

Download URL ptcookie-0.0.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
75515bd6dbdaf780c52c3940c16b4fb99348307c03e4f52de10e6fd9ad880b39
BLAKE2b-256 checksum
How to use checksums
6d24d7eec7afc2eb84a3bf6066cba490fbedd5d39343c1fbbee2b1832ec1aedc
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ptcookie-0.0.1-py3-none-any.whl

Download URL ptcookie-0.0.1-py3-none-any.whl
Size 17.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb68672d5edc50119dd5c7c6ef792293a8315a0946fe809df9fe406854bc9cad
BLAKE2b-256 checksum
How to use checksums
d6ef7c8effb272fcb47ecb31086f3004c003186e0407204bdd8aa21fc98d1b5b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page