php新木马代码的一个例子
回复
<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<httpRedirect enabled=”true” destination=”http://老域名/目录名/” exactDestination=”false” httpResponseStatus=”Permanent” />
</system.webServer>
</configuration>
bat脚本
@echo off set "file=dns.txt" for /f "usebackq tokens=1* " %%a in ("%file%") do ( echo %%a nslookup -timeout=2 -type=mx -retry=2 %%a 114.114.114.114 | find "MX" )
shell脚本
for kk in `cat dns.txt` do mx=`dig -t mx $kk | grep -v "^;" | grep MX | awk -F" " '{print $6}'` echo $kk $mx done