PDA

View Full Version : By Passing the White list check


caciocode
07-08-2013, 04:00 PM
I have a script that creates a post when data is sent. It works fine when no POST request is sent but when a POST request is sent I get the following.

In order to accept POST request originating from this domain, the admin must add this domain to the whitelist.

Is there anyway to by pass this. I have added the domain name to the white but Vbulletin won't recognise them. The script is an external script that includes some Vbulletin files such as global.php The data that I am sending won't be used in Vbuleltin. All I want is for Vbulletin to make a quick post confirming it that is all.

Also why can't I disable the Whitelist if I want to, isn't that up to me?

kh99
07-08-2013, 04:53 PM
Try putting
define('SKIP_REFERRER_CHECK', true);


before including global.php.