代码拉取完成,页面将自动刷新
同步操作将从 duyisu/微擎goto反混淆辅助工具 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#!/usr/bin/env php
<?php
//========================================================================
// Author: Pascal KISSIAN
// Resume: http://pascal.kissian.net
//
// Copyright (c) 2015-2019 Pascal KISSIAN
//
// Published under the MIT License
// Consider it as a proof of concept!
// No warranty of any kind.
// Use and abuse at your own risks.
//========================================================================
//if (isset($_SERVER["SERVER_SOFTWARE"]) && ($_SERVER["SERVER_SOFTWARE"]!="") ){ echo "<h1>Comand Line Interface Only!</h1>"; die; }
//D:\phpstudy\Extensions\php\php7.3.4nts\php.exe -f "D:\Work\pinquduo\yakpro-po-master\yakpro-po-master\yakpro-po-reverse.php"
const PHP_PARSER_DIRECTORY = 'PHP-Parser';
require_once 'include/check_version.php';
require_once 'include/get_default_defined_objects.php'; // include this file before defining something....
require_once 'include/classes/config.php';
require_once 'include/classes/scrambler.php';
require_once 'include/functions.php';
require_once 'version.php';
include 'include/retrieve_config_and_arguments.php';
require_once 'include/classes/parser_extensions/my_autoloader.php';
require_once 'include/classes/parser_extensions/my_reverse_pretty_printer.php';
require_once 'include/classes/parser_extensions/my_reverse_node_visitor.php';
if ($clean_mode && file_exists("$target_directory/yakpro-po/.yakpro-po-directory") )
{
if (!$conf->silent) fprintf(STDERR,"Info:\tRemoving directory\t= [%s]%s","$target_directory/yakpro-po",PHP_EOL);
remove_directory("$target_directory/yakpro-po");
exit;
}
use PhpParser\Error;
use PhpParser\ParserFactory;
use PhpParser\NodeTraverser;
use PhpParser\PrettyPrinter;
switch($conf->parser_mode)
{
case 'PREFER_PHP7': $parser_mode = ParserFactory::PREFER_PHP7; break;
case 'PREFER_PHP5': $parser_mode = ParserFactory::PREFER_PHP5; break;
case 'ONLY_PHP7': $parser_mode = ParserFactory::ONLY_PHP7; break;
case 'ONLY_PHP5': $parser_mode = ParserFactory::ONLY_PHP5; break;
default: $parser_mode = ParserFactory::PREFER_PHP5; break;
}
$parser = (new ParserFactory)->create($parser_mode);
$traverser = new NodeTraverser;
if ($conf->obfuscate_string_literal) $prettyPrinter = new myReversePrettyprinter;
else $prettyPrinter = new PrettyPrinter\Standard;
$t_scrambler = array();
foreach(array('variable','function','method','property','class','class_constant','constant','label') as $scramble_what)
{
$t_scrambler[$scramble_what] = new Scrambler($scramble_what, $conf, ($process_mode=='directory') ? $target_directory : null);
}
if ($whatis!=='')
{
if ($whatis{0} == '$') $whatis = substr($whatis,1);
foreach(array('variable','function','method','property','class','class_constant','constant','label') as $scramble_what)
{
if ( ( $s = $t_scrambler[$scramble_what]-> unscramble($whatis)) !== '')
{
switch($scramble_what)
{
case 'variable':
case 'property':
$prefix = '$';
break;
default:
$prefix = '';
}
echo "$scramble_what: {$prefix}{$s}".PHP_EOL;
}
}
exit;
}
$traverser->addVisitor(new MyReverseNodeVisitor);
switch($process_mode)
{
case 'file':
$obfuscated_str = reverse_obfuscate($source_file);
if ($obfuscated_str===null) { exit; }
if ($target_file ==='' ) { echo $obfuscated_str.PHP_EOL.PHP_EOL; exit; }
file_put_contents($target_file,$obfuscated_str);
exit;
case 'directory':
if (isset($conf->t_skip) && is_array($conf->t_skip)) foreach($conf->t_skip as $key=>$val) $conf->t_skip[$key] = "$source_directory/$val";
if (isset($conf->t_keep) && is_array($conf->t_keep)) foreach($conf->t_keep as $key=>$val) $conf->t_keep[$key] = "$source_directory/$val";
reverse_obfuscate_directory($source_directory,"$target_directory/yakpro-po/obfuscated");
exit;
}
?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。