GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Bypass_Disable_functions_Shell/function_check.php at master · secgithub/Bypass_Disable_functions_Shell

Expand file tree

/

function_check.php

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
46 lines (25 loc) · 1.73 KB
/

function_check.php

Copy path

File metadata and controls

46 lines (25 loc) · 1.73 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
msg("php enable_functions enumeration script");
$func_arr=array('disk_total_space','disk_free_space','exec','passthru','shell_exec','system','popen','show_source','pclose','proc_open','dl','chmod','php_real_logo_guid','php_egg_logo_guid','php_ini_scanned_files','php_ini_loaded_file','readlink','linkinfo','symlink','link','set_file_buffer','exec','system','escapeshellcmd','escapeshellarg','passthru','proc_close','proc_terminate','proc_get_status','proc_nice','getmyuid','getmygid','getmyinode','putenv','getopt','sys_getloadavg','get_current_user','magic_quotes_runtime','set_magic_quotes_runtime','import_request_variables','debug_zval_dump','ini_alter','dl','pclose','popen','stream_socket_client','stream_socket_server','stream_socket_accept','stream_socket_pair','stream_get_transports','stream_wrapper_restore','get_headers','mail','mb_send_mail','openlog','syslog','closelog','flock','pfsockopen','posix_kill','apache_child_terminate','apache_get_modules','apache_get_version','apache_lookup_uri','apache_reset_timeout','apache_response_headers','virtual');
$dis_func_arr = explode(",",get_cfg_var("disable_functions"));
if($dis_func_arr[0]){
foreach ($func_arr as $func) {
if(!in_array($func,$dis_func_arr)){
msg("Function: <strong><a href=http://www.php.net/manual/zh/function.$func.php target=blank > $func </strong> </a> enable",1);
}
}
}else{
msg("disable_functions none !!!",1);
}
function msg($text,$type=0){
$def="[*]";
$color="green";
if($type ==1){
$def="[+]" ;
$color="red";
}else if ($type==-1){
$def="[-]";
}
echo "<font color=$color>$def $text</font> <br>";
}
?>
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.