Mafia Scene - Mafia I & II Game Fan Site

Community Related => General, Off Topic => Topic started by: Cole Phelps on February 18, 2012, 09:28:12 PM

Title: Re: Test your AV with ease
Post by: Cole Phelps on February 18, 2012, 09:28:12 PM
Hi!


 




I wanted to show you little script, which could let you test if your AV is set-up properly.


 


 




It's enough to paste this code to Notepad and save it with any name you want with *.bat extension.


 







<pre class="ipsCode">X5O!P%@AP[4PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*</pre>






 


 




IMPORTANT NOTE:


 




If you have set your AV up properly, it will block that file (considering it as a virus).


 




But that file is NOT a virus - it's quite harmless, so don't worry about your machine :lol:


 


 




Here (http://en.wikipedia.org/wiki/EICAR_test_file:392z4mik) you can read more about that file.


 


 




And now surprise - how to open DVD drive using VBScript ?


 




Open Notepad and paste this code in it. Then save it with any name you want with *.vbs extension.


 







<pre class="ipsCode">Set oWMP = CreateObject("WMPlayer.OCX.7" )

Set colCDROMs = oWMP.cdromCollection

if colCDROMs.Count >= 1 then

For i = 0 to colCDROMs.Count - 1

colCDROMs.Item(i).Eject

Next ' cdrom

End If</pre>






 




Double click to execute that script.


 


 


 




Have fun  (//wp-content/uploads/invision_emoticons/tongue.png)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/tongue@2x.png 2x" width="20" height="20">
Title: Re: Test your AV with ease
Post by: lpg_unit on February 19, 2012, 01:21:38 AM
I actually tried that waaay back during my high school days, but imo I'd settle for a virtual machine and some real live viruses, just to see what happens for the lulz.
Title: Re: Test your AV with ease
Post by: johncena1 on February 19, 2012, 08:16:40 PM
Mine blocked it  <img src="/wp-content/uploads/invision_emoticons/biggrin.png" alt="(//bigsmile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/biggrin@2x.png 2x" width="20" height="20">


 


 




DVD open didn't work for me though
Title: Re: Test your AV with ease
Post by: Cole Phelps on February 19, 2012, 08:32:13 PM
QuoteMine blocked it :lol:

 




That's good :cheer:


 







QuoteDVD open didn't work for me though

 




Have you done everything properly ? You got to save it with VBS extension.


 


 


 




However, they didn't discover script for closing it :lol:
Title: Re: Test your AV with ease
Post by: johncena1 on February 19, 2012, 08:51:38 PM
Yeah, says, Error: Expected end of statement




Code: 800A0401




Source: Microsoft VBScript Compilation Error
Title: Re: Test your AV with ease
Post by: Cole Phelps on February 19, 2012, 09:13:59 PM
Strange, which OS do you own ?
Title: Re: Test your AV with ease
Post by: johncena1 on February 19, 2012, 09:34:05 PM
Windows 7 32 bit
Title: Re: Test your AV with ease
Post by: Cole Phelps on February 19, 2012, 09:59:50 PM
Maybe that doesn't work under your OS. I've asked about it author of this video and I'm awaiting reply.
Title: Re: Test your AV with ease
Post by: johncena1 on February 19, 2012, 10:04:35 PM
thanks Cole
Title: Re: Test your AV with ease
Post by: Cole Phelps on February 20, 2012, 09:03:32 PM
You'll have to be patient, 'cause it will last a bit long  <img src="/wp-content/uploads/invision_emoticons/smile.png" alt="(//smile.gif)" data-emoticon="" srcset="/wp-content/uploads/invision_emoticons/smile@2x.png 2x" width="20" height="20">