No description
Find a file
2023-11-17 15:50:10 -05:00
client/extension changed description 2023-08-31 19:57:49 +00:00
src readme changes 2023-09-18 23:32:29 +00:00
tests Version 0.6.0 2023-08-31 00:56:26 +00:00
.gitignore Version 0.6.0 2023-08-31 00:56:26 +00:00
changelog.md Fixed readme project mention 2023-09-19 01:34:24 +00:00
iecook.nimble Changed nimble description 2023-08-31 01:35:57 +00:00
license init 2023-07-18 18:33:20 +00:00
readme.md Added important warn at readme about Firefox 2023-11-17 15:50:10 -05:00

iecook

Cook all your browser cookies!

About - Why - How - Usage - License

Warning

This is a dangerous way to get cookies, any program listening in port 5566 can request the cookies sent by extension too.
So don't forget to disable the extension after use!

About

Have you ever needed to get httpOnly cookies to use in your application? No? Doesn't matter, this library gives you this power!

It gets all cookies from all Firefox containers too! :D

Why?

This is needed to interface with authentication in some websites.

Currently, you can see this library used in thisago/clibard

How?

It will start an HTTP server that waits the extension requests the website which you want the cookies and send to server the wanted cookies.

When the server receives the cookies, it closes itself and return the cookie for you!

Setup

Tou need to install the client extension: In Firefox

Note

Firefox automatically deletes on close. More secure

Warning

The client extension doesn't works when privacy.firstparty.isolate is enabled at about:config at Firefox.

  1. Go to about:debugging#/runtime/this-firefox
  2. Click in "Load Temporary Add-on..."
  3. Select the file: client/extension/manifest.json

In Chrome

  1. Go to chrome://extensions
  2. Activate "Developer mode"
  3. Click "Load unpacked"
  4. Select client/extension dir

Note

Don't forget to keep your browser open! :)

Usage

The usage is pretty simple

let cooked = iecook "https://google.com"

It returns to you a seq[IeCook]

License

This library is FOSS, licensed over MIT license!