中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-08-03 17:13
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » 自动切换外网IP的应用--刷woyaofacai.com的积分 查看 2,200 回复 5
楼 主 自动切换外网IP的应用--刷woyaofacai.com的积分 发表于 2007-03-17 20:44 ·  中国 北京 海淀区 联通
银牌会员
★★★★
[b]看你妹啊[/b]
积分 1,488
发帖 1,357
注册 2006-05-20 12:00
20年会员
UID 55770
状态 离线
自动切换外网IP的应用--刷woyaofacai.com的积分
如果推荐别人通过你的宣传链接,你就会得到10分,每个IP得到10分,下面就是我的宣传连接,^_^:
http://www.woyaofacai.com/?User=%e4%be%9d%e5%b1%b1%e5%b1%85

通过脚本自动切换IP地址,自己访问自己的宣传连接,这样就能刷积分了.


看代码,bat.bat 的内容:

prompt 运行中...
:yishanju
title 网关为192.168.1.1
netsh interface ip set address name="本地连接" gateway=192.168.1.1 gwmetric=0
nc 192.168.1.2 80 <d2.txt
ping 127.0.0.1 -n 1>nul
nc 192.168.1.2 80 <l2.txt
nc www.woyaofacai.com 80 <duijian.txt
ping 127.0.0.1 >nul
title 网关为192.168.1.2
netsh interface ip set address name="本地连接" gateway=192.168.1.2 gwmetric=0
nc 192.168.1.1 80 <d1.txt
ping 127.0.0.1 -n 1>nul
nc 192.168.1.1 80 <l1.txt
nc www.woyaofacai.com 80 <duijian.txt
ping 127.0.0.1 >nul
set /a a=%time:~0,2%
set /a b=8
if %a% geq %b% shutdown -s -f -t 100 & exit
goto yishanju



我们公司有两条ADSL,通过切换网关,可以实现轮流通过两根ADSL 上网,这样刷得快些.
2 发表于 2007-03-17 20:47 ·  中国 北京 海淀区 联通
银牌会员
★★★★
[b]看你妹啊[/b]
积分 1,488
发帖 1,357
注册 2006-05-20 12:00
20年会员
UID 55770
状态 离线
d1.txt 的内容:

GET /userRpm/StatusRpm.htm?Disconnect=断%20线&wan=1 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Referer: http://192.168.1.1/
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; Maxthon; KuGooSoft; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: 192.168.1.1
Connection: Keep-Alive
Authorization: Basic YWRtaW46YWRtaW4=













3 发表于 2007-03-17 20:48 ·  中国 北京 海淀区 联通
银牌会员
★★★★
[b]看你妹啊[/b]
积分 1,488
发帖 1,357
注册 2006-05-20 12:00
20年会员
UID 55770
状态 离线
l1.txt 的内容:


GET /userRpm/StatusRpm.htm?Connect=连%20接&wan=1 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Referer: http://192.168.1.1/
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; Maxthon; KuGooSoft; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: 192.168.1.1
Connection: Keep-Alive
Authorization: Basic YWRtaW46YWRtaW4=






4 发表于 2007-03-17 20:49 ·  中国 北京 海淀区 联通
银牌会员
★★★★
[b]看你妹啊[/b]
积分 1,488
发帖 1,357
注册 2006-05-20 12:00
20年会员
UID 55770
状态 离线
d2.txt 的内容:

GET /userRpm/StatusRpm.htm?Disconnect=断%20线 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Referer: http://192.168.1.2/
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; Maxthon; KuGooSoft; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: 192.168.1.2
Connection: Keep-Alive
Authorization: Basic YWRtaW46YWRtaW4=















5 发表于 2007-03-17 20:50 ·  中国 北京 海淀区 联通
银牌会员
★★★★
[b]看你妹啊[/b]
积分 1,488
发帖 1,357
注册 2006-05-20 12:00
20年会员
UID 55770
状态 离线
l2.txt 的内容:

GET /userRpm/StatusRpm.htm?Connect=连%20接 HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-shockwave-flash, */*
Referer: http://192.168.1.2/
Accept-Language: zh-cn
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; Maxthon; KuGooSoft; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Host: 192.168.1.2
Connection: Keep-Alive
Authorization: Basic YWRtaW46YWRtaW4=










6 发表于 2007-03-17 20:51 ·  中国 北京 海淀区 联通
银牌会员
★★★★
[b]看你妹啊[/b]
积分 1,488
发帖 1,357
注册 2006-05-20 12:00
20年会员
UID 55770
状态 离线
d1.txt , l1.txt,d2.txt,l2.txt 的内容是用WinSock Expert v0[1].6 beta1汉化版 抓包得到的

nc.exe 和WinSock Expert v0[1].6 beta1汉化版工具可以在各大黑客网站上下载得到,由于两个工具长期被广大滴所谓滴黑客们使用,所以杀毒报警在所难免.
论坛跳转: