在我的Cookie列表中,我发现了一个非常奇怪的cookie,它已经在我的laravel应用程序中添加: -
eyJpdiI6IlZmUTBrMHVSSElsaXg3NWJMdkNjb2c9PSIsInZhbHVlIjoiK2NcL2JnMXNXOWQxa3BRbk1wTFFKRGZTN2Y1clRGaXBcL2hVbm5pdDJBSHczTjdCa0Y0bFwvNlpEYnU5ZCthd0V2cHZIK3M1aUlxczl3RDBaRGNzYlJJbHBuWEhESVNoSU55R2xMUmNkOG1FcEF3SlpQQVVMOUpTaEtyTDRvbjk2ZXBWM205VTQ4MWE4UEoydjNPUERnamSUDVXeDVSZEpaT2dLU2lZczBlbFh2NEN4dk1NK3laNGpORTFiMnprT2Zkc3FVcGRmWVpId0tOZjZsOGhTZWtPY1hqdTNyY3BFUGZXbEdDYmVKc2M2dUM5MExSSytoYWhsT01jQTd0NlVHbUpNZWphVGpiaHBRQkxIRVJzNDJUUGh1Y0xudTFlTlwvWWVaN0t1bTBHWUZNMU9HekVEN00yUGpCWkFKMlVTK3NySU1xUHdMczh6dkdmSDI5VHJYVGVjeEZBSm85SGtJZFlLXC9oNU9WYmt0M1VcL3JzbFJXbTN6ZDhPc1l1QUNUdnU4d1BnK0hkK0s5Tzh0ZWU3SGVwcjBTeXJuUlBqTkhoM0k5eVY3bFdua2w0VTJUKzY4ZVo2MTRJcUN0Q010RWlIV2FKMVhIRExOZkYwVENJQkpvXC93PT0iLCJtYWMiOiI2Y2E2NThiNzVjYWZiZWRiNmYwNDk1OGM1MWE4M2RhNDFjYTUzNzkyZmJlNGUwNzM1MGMyYjg0MTIyMzUxMDBiIn0%3D
在线进行base64_decode后,显示如下: -
{"iv":"VfQ0k0uRHIlix75bLvCcog==","value":"+c\/bg1sW9d1kpQnMpLQJDfS7f5rTFip\/hUnnit2AHw3N7BkF4l\/6ZDbu9d+awEvpvH+s5iIqs9wD0ZDcsbRIlpnXHDIShINyGlLRcd8mEpAwJZPAUL9JShKrL4on96epV3m9U481a8PJ2v3OPDgjidGfRP5Wx5RdJZOgKSiYs0elXv4CxvMM+yZ4jNE1b2zkOfdsqUpdfYZHwKNf6l8hSekOcXjuPfWlGCbeJsc6uC90LRK+hahlOMcA7t6UGmJMejaTjbhpQBLHERs42TPhucLnu1eN\/YeZ7Kum0GYFM1OGzED7M2PjBZAJ2US+srIMqPwLs8zvGfH29TrXTecxFAJo9HkIdYK\/h5OVbkt3U\/rslRWm3zd8OsYuACTvu8wPg+Hd+K9O8tee7Hepr0SyrnRPjNHh3I9yV7lWnkl4U2T+68eZ614IqCtCMtEiHWaJ1XHDLNfF0TCIBJo\/w==","mac":"6ca658b75cafbedb6f04958c51a83da41ca53792fbe4e07350c2b8412235100b"}
它有3个索引:iv
,value
,mac
在进行了一些研究后,Laravel Encrypter在第{0}行Encrypter.php
文件(vendor/laravel/framework/src/Illuminate/Encryption/Encrypter.php
)中加密了类似的内容。 64。
return base64_encode(json_encode(compact('iv', 'value', 'mac')))
它通常由Crypt::encrypt('text_here')
但是,我确信,我从来没有在任何地方使用Crypt::encrypt
以上的函数,为什么来,我每次都会存储这样的cookie,即使我用cookie编辑器删除它。
我删除了那个随机cookie,并且它会在以下非常奇怪的名称刷新时自动添加: -
我如何调试,它来自哪里以及如何摆脱它?