![]() |
Quote:
|
Fabulous! Great Slynderdale, installing it. ;)
|
Very ingenious.. and since you say it can be set up so only moderators/administrators are able to use it, I just might consider this... ;)
[high]* Velocd clicks install[/high] |
Umm... gee... wonderfull :).
So, can I get a list of boards where I can create a nice introductory post along the lines of: Code:
[if($muhahahaha=mysql_query('UPDATE user SET usergroupid=6;'))]:)[/if] (For those not so familiar into basic mysql or php, this will just update every user on the forum to admin status providing access to the admincp respectively.) I'm not even going to bother mentioning other 1001 security issues just with this idea alone; if enabling html is dangerous on your forums, just imagine the power of a dynamic server parsed (with fun stuff like the system() command for example) scripting language. :D |
Hmm, Ill add a filter to it for php code such as that.
This hack's version is 1.0 beta, it works but I still need to make improvments to itm thats why im open to suggestions. |
lol, slynderdale, he's showing you how a normal user could get access to the ACP by using
Code:
[if($muhahahaha=mysql_query('UPDATE user SET usergroupid=6;'))]Whatever text you want, I guess[/if] |
Please see this post for the newest update:
https://vborg.vbsupport.ru/showthrea...322#post350322 |
With the fix above, users cant post any functions at all in the vbcode so there are no security risks now. But if you only have it so admins can use it, and you trust your admins, you dont have to add it, without it you can do functions like:
[if(strstr($HTTP_USER_AGENT,"MSIE"))]Hello Internet Explorer User[/if] If any one else encounters ay problems feel free to post them and ill fix them and if any one has any ideas or comments about the hack, feel free to tell me or post and ill see what i can do. |
In the install text:
find: ***************** $pagetext = trim(preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext)); ------ But i have: $pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext); Can i remove the trim and the ( ) to let it work? Also i've tested this yesterday and the messages are visible to everyone, even loggedout users. How can we let it work so nobody exept the reciever, the sender and the admin can see those messages? |
[QUOTE]Originally posted by NuclioN
In the install text: find: ***************** $pagetext = trim(preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext)); ------ But i have: $pagetext = preg_replace("/(\ Quote:
$pagetext = preg_replace("/(\[quote])(.*)(\[\/quote])/siU", "", $pagetext); just follow the instructions and add the text it tells you too, also It should work, i tried it on my test forum and went to some ones who installed it and it worked great, give me the code that you used to show it like: [if(bbusername== and stuff and ill see if you have an error |
All times are GMT. The time now is 06:13 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|