Skip to content

Conversation

samiam
Copy link
Contributor

@samiam samiam commented Oct 27, 2024

Description

Add ability to specify a cookie file on command line.

Status

READY

Note: https://github.com/chrisgavin/pycookiecheat/tree/handle-v24-cookies needs to be applied for testing to work

Related Issues

Todos

  • Tests
  • Documentation

Steps to Test or Reproduce

$ pycookiecheat -u https://google.com | sort | head -1
    "AEC": "AVYB7coIGnG..."

$ pycookiecheat -u https://google.com -c ~/Library/Application\ Support/Google/Chrome/Default/Cookies | sort | head -1
    "AEC": "AVYB7coIGnG..."

$ pycookiecheat -u https://google.com -c ~/Library/Application\ Support/Google/Chrome/Profile\ 3/Cookies | sort | head -1
    "AEC": "AVYB7cqeSEq..."

$ pycookiecheat -u https://google.com --cookie-file ~/Library/Application\ Support/Google/Chrome/Profile\ 3/Cookies | sort | head  -1
    "AEC": "AVYB7cqeSEq..."

Other notes

@n8henrie
Copy link
Owner

Sweet, thanks! Was planning to work on this next week, I'll review and hope to merge then!

@n8henrie n8henrie merged commit 864a9d1 into n8henrie:dev Oct 31, 2024
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants