how can i import Cookie file in Chrome98? - google-chrome

In the old version, i can replace the Cookies file under
AppData\Local\Google\Chrome\User Data\Default to another computer
and i can use cookie from the file. But when I try this on chrome 98.
I can't migrate the cookie data. And I found that the Cookies file was put under the network folder.

Related

Where in Chrome folder browser save hsts cookies?

I need to find file, where chrome write HSTS cookies. What is the path?
I tried to find in C:\Users<your_username>\AppData\Local\Google\Chrome\User Data\Default\ into file Cookies, but found nothing.
Where I can find file with HSTS Cookies?
ok, I think that I find - hsts cookies stored in Default folder in file - TransportSecurity

How to set a cookie file from the command line?

I use the following Firefox extension to get cookies in Netscape HTTP Cookie File format.
I want to load the cookie in chrome browser from the command line by starting a new browser process. But I don't find an option to set a cookie input file.
https://peter.sh/experiments/chromium-command-line-switches/
If this is possible, how can I do it?

Where are the cookies stored in Chrome? (the file)

I mean, i know the file is in "C:\Users\%USERNAME%\AppData\Local\Google\Chrome\User Data\Default" or "C:\Users\%USERNAME%\Local Settings\Application Data\Google\Chrome\User Data\Default" and it's a "Cookies" named SQL file. But if I delete this file from my computer the cookies will not disappear from the browser. I want to manually delete this, not from Chrome's settings. Please, help me find the correct files and path.

How to get the all the files(their file paths) in a folder from a web directory?

I'm trying to make a UWP file browser app that show all the files from http://192.168.201.254/media/, to do that I need to get all the file paths under http://192.168.201.254/media/, is there a way to do it?
Clients can only request known file URLs via HTTP.
The server can be configured to spit out an HTML file list as default page for the directory and you can process that on the client side.

How can I use BurpSuite proxy with HTTPS in chrome

BurpSuite can only intercept HTTP traffic. How can I also intercept HTTPS traffic on Ubuntu? I need to install the CA but how?
Obtaining the certificate:
When chrome is configured to use Burp as a proxy, go to http://burp/cert and the DER encoded certificate will be downloaded automatically.
Download the certificate in BurpSuite under the Proxy->Options tab under Import / export CA certificate. Export the certificate in DER format.
Install the certificate:
Either by double clicking on it in your file browser (Nautilus in my case) or by importing it into Chrome.
Another way of installing it is by importing directly into Chrome.
Go to settings->Show advance settings... (at the bottom)->HTTPS/SSL:Manage certificates->Authorities(tab)->Import
In the file selector you must set the file filter to 'DER-encoded binary..' or 'all files' to make your certificate file visible. The default file selector setting is base-64 encoded ASCII and our file is DER encoded.
Now, for the step I was missing in other explanations, in the chrome certificate manager in the tab Authorities (where you just imported the certificate), find the newly imported certificate. In my case it looked like this:
Notice the "Untrusted", in my case this meant that it I still got the SSL warnings and the red padlock. Click on "untrusted PortSwigger CA" and click Edit...
Check "Trust this certificate for identifying websites." and click "OK". In my case the text "untrusted" didn't disappear directly but after restarting Chrome, the PortSwigger CA was trusted and SSL proxying works.
If this is a duplicate please tell me, but I haven't found a similar explanation.
For Mac: Configuring BurpSuite Proxy with HTTPS and fixing the your connection is not private message
1. Configure Chrome to use Burp as a Proxy
You can view detailed instructions of this step here
https://support.portswigger.net/customer/portal/articles/1783070-configuring-safari-to-work-with-burp
Make sure you hit OK and Apply
2. Download and Install the Burp Certificate
http://burp/cert
You need to have the proxy enabled to do this. Once it's downloaded, double click on it to install it. Save to login keychain.
3. Modify certificate permissions
Open Keychain Access and search for "portswigger" to find the certificate. Right click and hit "Get Info".
Select "Always Trust".
The red Your connection is not private message should be gone now.
In Kali linux with Chromium browser this work for me
Start BurpSuite
Open Chrome (Chromium web Browser) and type in url "127.0.0.1:8080"
Click on "CA Certificate" to Download the Certificate of Burp Suite.
View Image
Save file "Cacert.der" is the certifcate.
Note: when i try import directly to chromium with "der" extension the web browser did not recognized the file So the solution was next:
Open Firefox and click in settings or Preferences.
search certificates. View Image
view Certificates. View Image
Click on Import button and search cert.der previosly downloaded.
Then export (Firefox automatically export file with another extension "PortSwiggerCA.crt").
Now we can import the certificate in chromium web browser (The file "PortSwiggerCA.crt"). To import is the same steps for firefox:
Settings -> Search "certificates" -> view certificates -> authorities -> import