Jump to content
UBot Underground

Problem With Referer


Recommended Posts

Am I doing something idiotic?

 

set user agent("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0")
set header("referer","https://www.dogs.com")
navigate("https://whatismyreferer.com","Wait")

 

I try to set the referer to something arbitary, but whatismyreferer.com doesn't see anything.

 

Using Ubot 5.9.50

 

Thanks for any help.

Steve

Link to post
Share on other sites

use Referrer, not referer

You mean like this:

set user agent("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0")

set header("Referrer","https://www.dogs.com")

navigate("https://whatismyreferer.com","Wait")

 

Nope - that doesn't work either.

Link to post
Share on other sites

You mean like this:

set user agent("Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0")

set header("Referrer","https://www.dogs.com")

navigate("https://whatismyreferer.com","Wait")

 

Nope - that doesn't work either.

i use this site and worked

https://www.whatismybrowser.com/detect/what-http-headers-is-my-browser-sending

i tried _https://whatismyreferer.com/

not working.

 

edit:

try use this :

set header("Referer","https://www.dogs.com")

navigate("https://whatismyreferer.com/","Wait")

 

i just tried it and it worked

 

  • Like 1
Link to post
Share on other sites

Both of those worked - thanks to @Varo and @bestmacros.

 

But, interesting - when I visit a site I own, with a fake referer URL using a script like this, neither Statcounter nor Google Analytics sees the referer URL, even though Whatismyreferer sees it.

 

Anyone know why?

Link to post
Share on other sites

Both of those worked - thanks to @Varo and @bestmacros.

 

But, interesting - when I visit a site I own, with a fake referer URL using a script like this, neither Statcounter nor Google Analytics sees the referer URL, even though Whatismyreferer sees it.

 

Anyone know why?

 

The reason most websites are able to see your referrer is due to it's way of Spoofing Referrer.

 

That also goes for the websites, that tries to spoof your referrer as well. But UBots browser is a well-known bot browser meaning, that it gets easily detected by most website anti-bot frameworks.

 

But if you really need to get past this sort of thing and you DO HAVE UBot Developer Edition, then check out this tutorial by UBot Docta(going for $0 atm.), which teaches you how to use something called Selenium with Python WITHIN UBot. It is basically a much better browser, which you are able to deeply customize with everything that's possible (and more) like UBots browser.

 

Having to use Selenium should not be required. But with UBot Developer Edition, you are able to combine UBot with Python and make them work together as one unit.

 

As for my final words, there's lots of tutorials on how to use the Selenium browser in Python. A simple Google should help you on your way, since it is not very hard to use, and the questions of other developers using the Selenium Browser has no end.

 

Good luck with your testing!  B)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...