Skip to content

Instantly share code, notes, and snippets.

View remyarajeshpaedh's full-sized avatar

Remya Rajesh remyarajeshpaedh

View GitHub Profile
@remyarajeshpaedh
remyarajeshpaedh / Private.bat
Created September 21, 2012 07:27
Private Folder Locker
cls
@ECHO OFF
title Folder Private
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Private goto MDLOCKER
:CONFIRM
echo Are you sure you want to lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
@remyarajeshpaedh
remyarajeshpaedh / CDRomEjectVirus.vbs
Created August 27, 2012 12:13
Programe a Virus Yourself:Rom Ejecter
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
@remyarajeshpaedh
remyarajeshpaedh / disabled right click function.js
Created August 20, 2012 09:11
disabled right click function
<script type="text/javascript">
var message="You Fool! I am not willing!";
function clickIE4(){if (event.button==2){alert(message);return false;}}
function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(message);return false;}}}
if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}