vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   PHP in BBCODE (https://vborg.vbsupport.ru/showthread.php?t=62600)

Karthick 03-19-2004 10:03 AM

What the?

You still haven't explained to me how its a security risk..!!!!

Karthick 03-19-2004 10:04 AM

BtW, I already coded it in manually

Zachery 03-19-2004 10:10 AM

Quote:

Originally Posted by Karthick
BtW, I already coded it in manually

Yes, we have :) if you can run a snippet of code in this bbcode and it will recgonize it, anything and i mean ANYTHING could be done to your forum :)

Karthick 03-19-2004 10:15 AM

That means you didn't read my posts properly.

What I wanted to do was execute MY PHP CODE in the bbcode. E.g

<?

$test = "{param}";

?>

Now if there is a flaw in that, then PHP is one big flaw. ;)

Zachery 03-19-2004 10:24 AM

Quote:

Originally Posted by Karthick
That means you didn't read my posts properly.

What I wanted to do was execute MY PHP CODE in the bbcode. E.g

<?

$test = "{param}";

?>

Now if there is a flaw in that, then PHP is one big flaw. ;)

<?

$test = "{param}";

?>
when {param} =

test"; bla bla more bad php code ";

Karthick 03-19-2004 10:26 AM

OMG.... vBulletin and PHP escape all harmful characters...

E.G GET $test (im bla"h) = im bla\"h after escaping.....

*bangs head on brick wall*

Zachery 03-19-2004 10:45 AM

Quote:

Originally Posted by Karthick
OMG.... vBulletin and PHP escape all harmful characters...

E.G GET $test (im bla"h) = im bla\"h after escaping.....

*bangs head on brick wall*

since its php use stripslashes ;)

Karthick 03-19-2004 10:56 AM

http://64.91.226.5/images/custom_smilies/eusa_wall.gif

Zachery 03-19-2004 11:01 AM

PHP Code:

removed :) 

whats your forum url now?
;)

im sure i can make it work with some trys ;)

Karthick 03-19-2004 11:39 AM

<a href="http://www.chesskit.com/community/" target="_blank">http://www.chesskit.com/community/</a>

Good Luck


All times are GMT. The time now is 07:44 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01167 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete