Exemplo n.º 1
0
        //foreach($ClassArray as $key)
        //  echo "Class = $key<br>";
        // remove class names from functions
        // this way we also remove all constructors
        $tempFuncArray = array();
        foreach ($FuncArray as $Key => $Value) {
            if (!in_array($Key, $ClassArray)) {
                $tempFuncArray[$Key] = $Value;
            }
        }
        $FuncArray = $tempFuncArray;
    }
    ShowArrays();
    WriteTargetFiles();
} else {
    ShowScreen();
}
function ShowScreen()
{
    global $TimeOut, $FileExtArray, $JSFileExtArray, $TargetDir, $SourceDir, $UdExcFuncArray, $UdExcVarArray, $UdExcConstArray, $StdObjRetFunctionsArray;
    global $ReplaceFunctions, $ReplaceConstants, $ReplaceVariables, $RemoveComments, $RemoveIndents, $ConcatenateLines;
    global $FilesToReplaceArray, $UdExcFileArray, $UdExcDirArray;
    ?>
  
    <TABLE CELLPADDING=0 WIDTH=100% CELLSPACING=0 BORDER=0>
        <TR>
            <TD BGCOLOR=#6699CC VALIGN=TOP><A HREF="http://pobs.mywalhalla.net" TARGET=_new><IMG SRC="pobslogo.gif" HSPACE=20 WIDTH=150 HEIGHT=61 BORDER=0></A><TD>
            <TD BGCOLOR=#6699CC VALIGN=TOP><br><b>A PHP Obfuscator<br>Version 0.99</TD>
        </TR>
    </TABLE>
    <?php 
Exemplo n.º 2
0
}
if (isset($_SESSION['color_green'])) {
    $color_green = $_SESSION["color_green"];
} else {
    $color_green = "FF";
    $_SESSION["color_green"] = $color_green;
}
if (isset($_SESSION['color_blue'])) {
    $color_blue = $_SESSION["color_blue"];
} else {
    $color_blue = "FF";
    $_SESSION["color_blue"] = $color_blue;
}
//var_dump($colors->getcolors(0));
//print "TEST : " .  $colors->getcolors(0)[0];
ShowScreen($username, $color_red, $color_green, $color_blue, $join_code_check);
//,$color_red,$color_green,$color_blue
function ShowScreen($username, $color_red, $color_green, $color_blue, $join_code_check)
{
    //var_dump($jsondata);
    $stringdata = "";
    $stringdata = $stringdata . "<HTML>";
    $stringdata = $stringdata . "<HEAD>";
    //	$stringdata = $stringdata . "<meta http-equiv=\"refresh\" content=\"5\";charset=\"ISO-8859-1\">";
    $stringdata = $stringdata . "<style>";
    $stringdata = $stringdata . "\t\n\tinput {\n\t-webkit-appearance: none;\n    width:800px;\n    border:2px solid #dadada;\n    border-radius:7px;\n    font-size:80px;\n    font-style:veranda; \n\tfont-weight:bold;\n    padding:5px;\n    margin-top:-10px;    \n    text-align:center;\n    background-color:#000;\n    color:#FFF;\n}\n\ninput:focus { \n    outline:none;\n    border-color:#99F;\n    box-shadow:0 0 200px #99F;\n    background-color:#AAF;\n    color:black;\n}\n\n\n\n\n";
    $stringdata = $stringdata . "</style>";
    $stringdata = $stringdata . "</HEAD>";
    $stringdata = $stringdata . "<BODY style='background-color:#000000;' >";
    $stringdata = $stringdata . "<CENTER>";
    $stringdata = $stringdata . "<BR>";