Nojus0 / G2G-Account-Auto-Deliver

G2G Marketplace instant auto delivery bot.
MIT License
7 stars 2 forks source link

Need help. #2

Closed Gallahar closed 1 year ago

Gallahar commented 1 year ago

Good day sir, sorry noy finded your email or smth like this, trying to use your app, but cannot find right cookies, ( mostly encoded url)

Gallahar commented 1 year ago

The www.shasso.com site is no longer working, it has completely moved to g2g, and apparently they completely renamed their cookies as a random string with a dot notation in the middle I found, but emeil is a complete mystery to me)

Nojus0 commented 1 year ago

I Updated the application to only use the G2GSESID_V4 cookie and removed the Shasso authentication that was previously used to renew the G2GSESID_V4 cookie every few hours. Now it appears that the G2GSESID_V4 expires in a year. I currently don't use G2G, and I don't have any orders so I can't inspect what requests the browser is making if this latest fix didn't work I would mark this project as outdated and maybe update it whenever I need to use G2G again.

Nojus0 commented 1 year ago

Comment if the update worked and if it didn't write what error you received.

Gallahar commented 1 year ago

Thanks, ill check it out if its works, waiting till some1 proceed some oder ;)

Gallahar commented 1 year ago

Everything works thanks, I was able to figure it out.

The only problem is that G2GSESID_V4 cookies had a strange session duration, and I can't figure out which one.

That is, it is indicated that these cookies work for a session, but I cannot understand how long the session lasts and how it is updated. I don't log out of my account, I don't turn off desktop, and I don't close the G2G page - but the cookies change themselves, and soft stops working - cookies have to be updated. here's screenshout :

Gallahar commented 1 year ago

https://i.gyazo.com/e2b69b74215d389aa10beb3baa7e2e2f.png

Gallahar commented 1 year ago

each update or page change creates a new cookie, and the program stops working:(

Gallahar commented 1 year ago

I noticed that cookies change when idle for more than 10-30 minutes on the page (this is not accurate, but it seems like it), I set the script to auto-refresh the page for every minute, if you are interested, I will give the results. after someone buys an account from me, cookie automatically changes and soft stops working.

probably G2G did everything. to bypass your soft:(

Nojus0 commented 1 year ago

Fixed