close

 Version2: +++++++++++++++++++++++++++++++++++++++++++++++++++++++

1=======================================================

 @echo on

setlocal enableextensions enabledelayedexpansion

for /f "tokens=* delims=" %%a in (a150.txt) do (
echo ==============================%%a==============================
echo echo X5O^^!P%%%%%%@AP[4\PZX54(P^^^^^^^^^)7CC^)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE^^!$H+H* ^> vir-%%a.com > 1icar.bat
echo vir-%%a.com >> 1icar.bat
psexec \\%%a -u neilad\administrator -p P@ssw0rd -c -v -w c:\ 1icar.bat
check_clients_am_event.py %%a
)

 

2=a150.txt===================================================

w732a1159-120
w732a1159-121

.....

.....

 

 

 

 Version1: +++++++++++++++++++++++++++++++++++++++++++++++++++++++

 

1=======================================================

@echo on
setlocal enableextensions enabledelayedexpansion

for /f "tokens=* delims=" %%a in (122.txt) do (
echo %%a
psexec \\%%a -u neilad\administrator -p pass -c -w c:\ 1icar.bat
check_clients_am_event.py %%a
)

=======================================================

2=122.txt===================================================

w732a1159-120
w732a1159-121

.....

.....

=======================================================

 

3=1icar.bat===================================================

for /L %%i in ( 1 ,1, 1 ) do @echo X5O!P%%@AP[4\PZX54(P^^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H* > vir%%i.com

vir1.com

 =======================================================

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 hlolo 的頭像
    hlolo

    hlo日記

    hlolo 發表在 痞客邦 留言(0) 人氣()