2002-07-30 Robin Johnson <robbat2@users.sourceforge.net>
* scripts/decode_bug.php3: Parser BUG decoder merged
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2002-07-30 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
* scripts/decode_bug.php3: Parser BUG decoder merged
|
||||
|
||||
2002-07-30 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* config.inc.php3: how to test auto-detect
|
||||
* lang/turkish: update, thanks to Bora Alioglu
|
||||
|
39
scripts/decode_bug.php3
Normal file
39
scripts/decode_bug.php3
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/* $Id$ */
|
||||
|
||||
/** Parser BUG decoder
|
||||
* This is the parser bug decoder system
|
||||
* Throw the bug data in teh query box, and hit submit for output.
|
||||
*
|
||||
* Copyright 2002 Robin Johnson <robbat2@users.sourceforge.net>
|
||||
*/
|
||||
?>
|
||||
<html>
|
||||
<h4>Parser BUG decoder</h4>
|
||||
<form method="post" action="decode_bug.php3">
|
||||
<textarea name="foo" cols="72" rows="10">
|
||||
</textarea>
|
||||
<br />
|
||||
<input type="submit" />
|
||||
<input type="hidden" name="bar" value="<?php echo rand(); ?>" />
|
||||
</form>
|
||||
|
||||
<hr />
|
||||
<?php
|
||||
if(isset($_REQUEST['foo']))
|
||||
{
|
||||
$foo = $_REQUEST['foo'];
|
||||
} else {
|
||||
$foo = "";
|
||||
}
|
||||
|
||||
$foo = eregi_replace("[[:space:]]", "", $foo);
|
||||
$bar = base64_decode($foo);
|
||||
if(substr($foo,0,2) == 'eN')
|
||||
{
|
||||
$bar = gzuncompress($bar);
|
||||
}
|
||||
echo "Decoded:<br />".$bar."<br />";
|
||||
|
||||
?>
|
||||
</html>
|
Reference in New Issue
Block a user