X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Bots%2FPHPGod.class.php;fp=Bots%2FPHPGod.class.php;h=dac07e8e50ec31df8914999e7f74b6ce88f11a28;hp=e0ee13ef4709d1969a283549e59811d5e2639d0f;hb=db4efc501d78e76da03e2a87513f3e18ee627978;hpb=f2518601341be698541f0a642aa750ef0187cfd4 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] . " ?".">"; };