1. [代码]
//filename: dns.php //GET dns.php?mm=helong <?php $content = file_get_contents('ip.txt'); if($_GET["mm"]=='helong')//简单认证 { $ip = $_SERVER["REMOTE_ADDR"]; if($content!=$ip) { $xieru= fopen('ip.txt','w'); $result=fwrite($xieru,$ip); fclose($xieru); if($fwrite === false) { echo "update error!<br/>"; //飞信通知等代码.... } else echo "Change to ".$ip; } else echo "No change ".$ip; } else { echo "Sorry,you don't have permission<br/>"; echo "Server ip: ".$content; } //dns.php文件上传到外部空间 //建立windows计划任务,执行下面的 bat
2. [代码]计划任务 批处理
@echo off rem 关闭回显命令 cd C:\Program Files\Internet Explorer\ rem 跳入IE所在目录 start iexplore.exe "http://yourdomain.org/dns.php?mm=helong" rem 启动IE GET提交到外部空间 ping 127.1 -n 4 >nul rem 延时4秒 taskkill /im iexplore.exe /f rem 关闭IE rem 将以上代码保存到 postip.bat

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Chinese version
Chinese version, very easy to use
