Hello everyone, i am in some kind of testing stage where i want to test some security flaws on websites/browsers with the cookies.
I want to generate google cookies with a different time period. (older than 2 months).
Firstly I will try to integrate into the browser via JS
Secondly i will try to integrate them manually via the browser
Thirdly i will try to integrate them via chrome plugin called EditThisCookie
Forth i will try to integrate via chromium automated browser.
I will post the updates here as i am getting results from them.
If anyone with the knowledge can help me how to generate this kind of real cookies please reply.
Here is a google cookie from my browser taken with the plugin EditThisCookie
[
{
"domain": ".google.com",
"expirationDate": 1720692511.866038,
"hostOnly": false,
"httpOnly": false,
"name": "__Secure-1PAPISID",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "jwwodBB_Lh0Hs7ZS/AC4Ex9QlednbpdGgQ",
"id": 1
},
{
"domain": ".google.com",
"expirationDate": 1720692511.865889,
"hostOnly": false,
"httpOnly": true,
"name": "__Secure-1PSID",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "XQjJqisiNRlJO_VKG3ZJM2C2rx_IME4xK-WcnU1tb4wpgUAlwOr34jllGr6pPvSdox7iQA.",
"id": 2
},
{
"domain": ".google.com",
"expirationDate": 1717692417.861374,
"hostOnly": false,
"httpOnly": true,
"name": "__Secure-1PSIDCC",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "AP8dLtzow1zA6ZFmHY6wJ4_cUZ0-VqJvipkRP4a_DdORG4jwJ_rD-US9F9CGQxssZ-TgNRa4Nw",
"id": 3
},
{
"domain": ".google.com",
"expirationDate": 1717692032.138858,
"hostOnly": false,
"httpOnly": true,
"name": "__Secure-1PSIDTS",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "sidts-CjEBLFra0pi602FUuDQKuuGJ9hYiBaOo75-qG7xARkL1xHY7CvNGqYWLysWOesogZD0FEAA",
"id": 4
},
{
"domain": ".google.com",
"expirationDate": 1720692511.866049,
"hostOnly": false,
"httpOnly": false,
"name": "__Secure-3PAPISID",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "jwwodBB_Lh0Hs7ZS/AC4Ex9QlednbpdGgQ",
"id": 5
},
{
"domain": ".google.com",
"expirationDate": 1720692511.86594,
"hostOnly": false,
"httpOnly": true,
"name": "__Secure-3PSID",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "XQjJqisiNRlJO_VKG3ZJM2C2rx_IME4xK-WcnU1tb4wpgUAleOcsDwYZuVAELT4ra65Vgw.",
"id": 6
},
{
"domain": ".google.com",
"expirationDate": 1717692417.86144,
"hostOnly": false,
"httpOnly": true,
"name": "__Secure-3PSIDCC",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "AP8dLtxT_Rw_UCObHbCi4Jab87loYlTcYbvqglhQ9Auncos-3jJxI8lSYGmp2mfLIJHs41sTdQ",
"id": 7
},
{
"domain": ".google.com",
"expirationDate": 1717692032.138932,
"hostOnly": false,
"httpOnly": true,
"name": "__Secure-3PSIDTS",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "sidts-CjEBLFra0pi602FUuDQKuuGJ9hYiBaOo75-qG7xARkL1xHY7CvNGqYWLysWOesogZD0FEAA",
"id": 8
},
{
"domain": ".google.com",
"expirationDate": 1688748416.96123,
"hostOnly": false,
"httpOnly": false,
"name": "1P_JAR",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "2023-06-07-16",
"id": 9
},
{
"domain": ".google.com",
"expirationDate": 1701708416.266443,
"hostOnly": false,
"httpOnly": true,
"name": "AEC",
"path": "/",
"sameSite": "lax",
"secure": true,
"session": false,
"storeId": "0",
"value": "AUEFqZdpg1oWpE5K6nanbU2IN9KaY4Y9-y1S5oFKZ77gJysUxrvjk60BEQ",
"id": 10
},
{
"domain": ".google.com",
"expirationDate": 1720692511.866016,
"hostOnly": false,
"httpOnly": false,
"name": "APISID",
"path": "/",
"sameSite": "unspecified",
"secure": false,
"session": false,
"storeId": "0",
"value": "aQOjK6fOGGrrcF4e/Appce7TNc6obXcejp",
"id": 11
},
{
"domain": ".google.com",
"expirationDate": 1720692511.865996,
"hostOnly": false,
"httpOnly": true,
"name": "HSID",
"path": "/",
"sameSite": "unspecified",
"secure": false,
"session": false,
"storeId": "0",
"value": "ApZ9wo5erf3tfsD6P",
"id": 12
},
{
"domain": ".google.com",
"expirationDate": 1701967616.788204,
"hostOnly": false,
"httpOnly": true,
"name": "NID",
"path": "/",
"sameSite": "no_restriction",
"secure": true,
"session": false,
"storeId": "0",
"value": "511=V2B5r7ZprujY5Bf3zJUj5jTFZClpU-ZpRjeAK3l6X_LleHkzV5oYzFI4KiUqtoD2EBXuyHZvOGZ37FJ7URe1JPJa47UDpLiggjCLwT89fRTMbok2Bq4b20GSKU7lOp1o9q51grGkBUT2vtYVmfoonEhDWY984dRkTbn1wmgQ1QdH_zOIY_O4c9Cb7nU80hAg3iffZHK5VUYpNLdS4VQuBXMvHkEKf_FdeBcPagcj_3kRQgnbcfU15xYZGi0",
"id": 13
},
{
"domain": ".google.com",
"expirationDate": 1720692511.866027,
"hostOnly": false,
"httpOnly": false,
"name": "SAPISID",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "jwwodBB_Lh0Hs7ZS/AC4Ex9QlednbpdGgQ",
"id": 14
},
{
"domain": ".google.com",
"expirationDate": 1701708416.266407,
"hostOnly": false,
"httpOnly": false,
"name": "SEARCH_SAMESITE",
"path": "/",
"sameSite": "strict",
"secure": false,
"session": false,
"storeId": "0",
"value": "CgQIu5gB",
"id": 15
},
{
"domain": ".google.com",
"expirationDate": 1720692511.865815,
"hostOnly": false,
"httpOnly": false,
"name": "SID",
"path": "/",
"sameSite": "unspecified",
"secure": false,
"session": false,
"storeId": "0",
"value": "XQjJqisiNRlJO_VKG3ZJM2C2rx_IME4xK-WcnU1tb4wpgUAlSRPHZSWJDY0gNCILO7Bn0w.",
"id": 16
},
{
"domain": ".google.com",
"expirationDate": 1717692417.861301,
"hostOnly": false,
"httpOnly": false,
"name": "SIDCC",
"path": "/",
"sameSite": "unspecified",
"secure": false,
"session": false,
"storeId": "0",
"value": "AP8dLtxD7XpF_-Z2RMtpZmEg6t8s-ySFPt5VxzQIeIMyveqLH8Qvp2E38lKLi7oqvU9qY-UV2dE",
"id": 17
},
{
"domain": ".google.com",
"expirationDate": 1720692511.866006,
"hostOnly": false,
"httpOnly": true,
"name": "SSID",
"path": "/",
"sameSite": "unspecified",
"secure": true,
"session": false,
"storeId": "0",
"value": "AlQ5PUXgQYyxojeTF",
"id": 18
}
]