Navigation X
ALERT
Click here to register with a few steps and explore all our cool stuff we have to offer!



   1844

Getting Fake Cookies?

by KRYSIS - 30 May, 2020 - 09:13 PM
This post is by a banned member (KRYSIS) - Unhide
KRYSIS  
Registered
30
Posts
2
Threads
5 Years of service
#1
So, I make bots within VB.NET and Python.
My main issue is the cookies. Lots of websites use cookies to detect wherever you are a bot or not. (Also lots of other things, but that's not where I am going)

Is there any way to generate fake cookies, that you simply are able to import to your Selenium instance?

All answers are much appreciated, since this is a big downer for me, that I simply cannot solve.

Thanks!
This post is by a banned member (TheDebianGuy) - Unhide
61
Posts
8
Threads
5 Years of service
#2
Guy on this forum bypassed it by porting his python selenium using program in open bullet that in a strange way could bypass the selenium detection, use the loli script. I've tried to hide the selenium using my profile and other additional arguments and it didnt work, open bullet is the only way I think.
Main website: https://thedebianguy.keybase.pub
[Image: ezgif.com-crop091ec57da105d927.gif]
Ehtical hacker and app developer...
   
This post is by a banned member (KRYSIS) - Unhide
KRYSIS  
Registered
30
Posts
2
Threads
5 Years of service
#3
(31 May, 2020 - 10:03 AM)TheDebianGuy Wrote: Show More
Guy on this forum bypassed it by porting his python selenium using program in open bullet that in a strange way could bypass the selenium detection, use the loli script. I've tried to hide the selenium using my profile and other additional arguments and it didnt work, open bullet is the only way I think.

If you are using Python, you can use this repo to make an undetected selenium instance.

I'm just not able to solve the fake cookies mystery yet, but I hope something will come up soon!
This post is by a banned member (TheDebianGuy) - Unhide
61
Posts
8
Threads
5 Years of service
#4
(This post was last modified: 31 May, 2020 - 01:11 PM by TheDebianGuy.)
Ah thx for explaination, here are some tutorials I found so far:
https://pypi.org/project/pycookiecheat/ - if you are willing to use RAW requests
https://wiki.saucelabs.com/display/DOCS/...on+Dialogs - selenium tutorial
https://www.guru99.com/handling-cookies-...river.html - this one seems to be the best

EDIT: I used the selenium in c# and java too, if you slightly modify the samples, you should be able to run it with vb.net too
Main website: https://thedebianguy.keybase.pub
[Image: ezgif.com-crop091ec57da105d927.gif]
Ehtical hacker and app developer...
   
This post is by a banned member (KRYSIS) - Unhide
KRYSIS  
Registered
30
Posts
2
Threads
5 Years of service
#5
(31 May, 2020 - 01:10 PM)TheDebianGuy Wrote: Show More
Ah thx for explaination, here are some tutorials I found so far:
https://pypi.org/project/pycookiecheat/ - if you are willing to use RAW requests
https://wiki.saucelabs.com/display/DOCS/...on+Dialogs - selenium tutorial
https://www.guru99.com/handling-cookies-...river.html - this one seems to be the best

EDIT: I used the selenium in c# and java too, if you slightly modify the samples, you should be able to run it with vb.net too

Thanks for the share! I will definitely check them out.
This post is by a banned member (clap) - Unhide
clap  
Godlike
515
Posts
134
Threads
6 Years of service
#6
Why don't you just send a get to your page(s)/main_page and parse & use the cookies from there?
Always confirm via PM before dealing with me.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
or
Sign in
Already have an account? Sign in here.


Forum Jump:


Users browsing this thread: 1 Guest(s)