X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Bots%2FPHPGod.class.php;h=dac07e8e50ec31df8914999e7f74b6ce88f11a28;hp=e0ee13ef4709d1969a283549e59811d5e2639d0f;hb=7d2c933a8ce834dab49278a4e2e74b3bd916f9ee;hpb=d77e4b83051cbb8b013f7343cab0213d2969518c diff --git a/Bots/PHPGod.class.php b/Bots/PHPGod.class.php index e0ee13e..dac07e8 100644 --- a/Bots/PHPGod.class.php +++ b/Bots/PHPGod.class.php @@ -105,6 +105,11 @@ class {$_NAME} extends Bot { return; } $code = $codecontent; + } elseif(preg_match("#scriptpaste\.(com|de)/([a-zA-Z0-9]*)$#i", $exp[1])) { + $pasteid = explode("/", $exp[1]); + $pasteid = $pasteid[count($pasteid)-1]; + $codecontent = file_get_contents("http://scriptpaste.com/".$pasteid."/download"); + $code = $codecontent; } else { $code = "<"."?php " . $exp[1] . " ?".">"; };