Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't decrypt cookie (v11 -0x763131) #17

Open
thanhthuy40 opened this issue Sep 20, 2023 · 0 comments
Open

Can't decrypt cookie (v11 -0x763131) #17

thanhthuy40 opened this issue Sep 20, 2023 · 0 comments

Comments

@thanhthuy40
Copy link

Hi friend,
i try decrypt cookie by you are lib. but when decyrpt i receiver a messsage:
Data encrypt:v11��͏���m� ԅ����v�_���ü����o�,�5�m��*��}�j����
Cookie [name=REC_T_ID (encrypted)]
javax.crypto.AEADBadTagException: Tag mismatch
at java.base/com.sun.crypto.provider.GaloisCounterMode$GCMDecrypt.doFinal(GaloisCounterMode.java:1545)
at java.base/com.sun.crypto.provider.GaloisCounterMode.engineDoFinal(GaloisCounterMode.java:417)
at java.base/javax.crypto.Cipher.doFinal(Cipher.java:2244)
at vn.votam.seoshopeeapp.cookie.ChromeCookie.decrypt(ChromeCookie.java:183)
at vn.votam.seoshopeeapp.cookie.ChromeCookie.parseCookieFromResult(ChromeCookie.java:139)
at vn.votam.seoshopeeapp.cookie.ChromeCookie.processCookies(ChromeCookie.java:100)
at vn.votam.seoshopeeapp.cookie.Browser.getCookiesForDomain(Browser.java:30)
at TestCookie.main(TestCookie.java:9)

my test is:
ChromeCookie chromeCookie = new ChromeCookie("E:\10. Du an\14. Nghien cuu\seoShopeeApp\etc\profile\test101\Local State", "E:\10. Du an\14. Nghien cuu\seoShopeeApp\etc\profile\test101\Default\Network\Cookies");
Set ssl = chromeCookie.getCookiesForDomain("shopee.vn");
for (Cookie c : ssl) {
System.out.println(c.getName());
}

@thanhthuy40 thanhthuy40 changed the title Can't decrypt cookie Can't decrypt cookie (v11 -0x763131) Sep 20, 2023
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

No branches or pull requests

1 participant