Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * This file is a part of the miniorange-saml-20-single-sign-on plugin. * ..
Decoded Output download
<?php
/**
* This file is a part of the miniorange-saml-20-single-sign-on plugin.
*
* @link https://plugins.miniorange.com/
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
namespace RobRichards\XMLSecLibs\Utils;
class XPath
{
const ALPHANUMERIC = "\w\d";
const NUMERIC = "\d";
const LETTERS = "\w";
const EXTENDED_ALPHANUMERIC = "\w\d\s\-_:\.";
const SINGLE_QUOTE = "'";
const DOUBLE_QUOTE = """;
const ALL_QUOTES = "['"]";
public static function filterAttrValue($Hr, $US = self::ALL_QUOTES)
{
return preg_replace("#" . $US . "#", '', $Hr);
}
public static function filterAttrName($TK, $V4 = self::EXTENDED_ALPHANUMERIC)
{
return preg_replace("#[^" . $V4 . "]#", '', $TK);
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file is a part of the miniorange-saml-20-single-sign-on plugin.
*
* @link https://plugins.miniorange.com/
* @author miniOrange
* @package miniorange-saml-20-single-sign-on
*/
namespace RobRichards\XMLSecLibs\Utils;
class XPath
{
const ALPHANUMERIC = "\x5c\167\134\144";
const NUMERIC = "\x5c\x64";
const LETTERS = "\134\167";
const EXTENDED_ALPHANUMERIC = "\134\167\x5c\x64\134\x73\x5c\55\137\72\x5c\x2e";
const SINGLE_QUOTE = "\47";
const DOUBLE_QUOTE = "\x22";
const ALL_QUOTES = "\x5b\47\x22\135";
public static function filterAttrValue($Hr, $US = self::ALL_QUOTES)
{
return preg_replace("\43" . $US . "\43", '', $Hr);
}
public static function filterAttrName($TK, $V4 = self::EXTENDED_ALPHANUMERIC)
{
return preg_replace("\x23\x5b\x5e" . $V4 . "\135\43", '', $TK);
}
}
Function Calls
None |
Stats
MD5 | cdd801c3e9853d4ea15581c52d2cb49f |
Eval Count | 0 |
Decode Time | 154 ms |