arungeek
Hacks and Tweaks



Uncategorized

October 18, 2009

How To Become A Hacker : Cool Easy Code Tricks To Try Out

More articles by »
Written by: arunenigma
How To Become A Hacker : Cool Easy Code Tricks To Try Out



1. Toggle your friend’s Caps Lock button simultaneously:

Open Notepad and Type :

Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{CAPSLOCK}”
loop

Save it as “Anything.VBS” and send it to your friends.

2. Continuously pop out your friend’s CD Drive. If he/she has more than one, it pops out all of them !

Open Notepad and Type :

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
End If
wscript.sleep 5000
loop

Save it as “Anything.VBS” and send it to your friends.

3. Hack your friend’s keyboard and make him type “You are a fool” simultaneously:

Open Notepad and Type :

Set wshShell = wscript.CreateObject(“WScript.Shell”)

do
wscript.sleep 100
wshshell.sendkeys “You are a fool.”
loop

Save it as “Anything.VBS” and send it to your friends.

4. Frustrate your friend by making this VBScript hit Enter simultaneously:

Open Notepad and Type :

Set wshShell = wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “~(enter)”
loop

Save it as “Anything.VBS” and send it to your friends.

5. Opens Notepad, slowly type “Hello, how are you? I am good thanks” and freak your friend out:

Open Notepad and Type :

WScript.Sleep 180000
WScript.Sleep 10000
Set WshShell = WScript.CreateObject(“WScript.Shell”)
WshShell.Run “notepad”
WScript.Sleep 100
WshShell.AppActivate “Notepad”
WScript.Sleep 500
WshShell.SendKeys “Hel”
WScript.Sleep 500
WshShell.SendKeys “lo “
WScript.Sleep 500
WshShell.SendKeys “, ho”
WScript.Sleep 500
WshShell.SendKeys “w a”
WScript.Sleep 500
WshShell.SendKeys “re “
WScript.Sleep 500
WshShell.SendKeys “you”
WScript.Sleep 500
WshShell.SendKeys “? “
WScript.Sleep 500
WshShell.SendKeys “I a”
WScript.Sleep 500
WshShell.SendKeys “m g”
WScript.Sleep 500
WshShell.SendKeys “ood”
WScript.Sleep 500
WshShell.SendKeys ” th”
WScript.Sleep 500
WshShell.SendKeys “ank”
WScript.Sleep 500
WshShell.SendKeys “s! “

Save it as “Anything.VBS” and send it to your friends.

6. Frustrate your friend by making this VBScript hit Backspace simultaneously:

Open Notepad and Type :

MsgBox “Let’s go back a few steps”
Set wshShell =wscript.CreateObject(“WScript.Shell”)
do
wscript.sleep 100
wshshell.sendkeys “{bs}”
loop

Save it as “Anything.VBS” and send it to your friends.

7. Cycle a message in your friend’s computer:

Open Notepad and Type :

@ECHO off
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * Because you have been o-w-n-e-d
GOTO BEGIN

Save it as “Anything.BAT” and send it to your friends.

8. Convey your friend a lil’ message and shut down his/her computer:

Open Notepad and Type :

@echo off
msg * I don’t like you
shutdown -c “Error! You are too stupid!” -s

Save it as “Anything.BAT” in All Files and send it to your friends.

9. Open Notepad continually in your friend’s computer:

Open Notepad and Type :

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Save it as “Anything.BAT” and send it to your friends.

10. Hard prank: Pick your poison batch file. It asks your friend to choose a number between 1-5 and then does a certain action:

1: Shutdown
2: Restart
3: Wipes out your hard drive (BEWARE)
4: Net send
5: Messages then shutdown

Open Notepad and Type :

@echo off
title The end of the world
cd C:\
:menu
cls echo I take no responsibility for your actions. Beyond this point it is you that has the power to kill yourself. If you press ‘x’ then your PC will be formatted. Do not come crying to me when you fried your computer or if you lost your project etc…
pause
echo Pick your poison:
echo 1. Die this way (Wimp)
echo 2. Die this way (WIMP!)
echo 3. DO NOT DIE THIS WAY
echo 4. Die this way (you’re boring)
echo 5. Easy way out
set input=nothing
set /p input=Choice:
if %input%==1 goto one
if %input%==2 goto two

Save it as “Anything.BAT” and send it to your friends.

Reply Me If You Like The Post




About the Author

arunenigma
Computer Science Graduate Student @ Case Western Reserve University, Cleveland, USA




 
 

 
Factory_1

Python Factory Design Patterns using Switch Case

I googled for Factory Method Design Pattern in Python but couldn’t find a good resource. So, I  am sharing an example program to demonstrate this design pattern in Python which I frequently use. The factory method pattern is...
by arunenigma
 

 
 
Gospers_glider_gun

Conway’s Game of Life Implemetation in Python with cool patterns

he Game of Life (or simply Life) is not a game in the conventional sense. There are no players, and no winning or losing. Once the “pieces” are placed in the starting position, the rules determine everything that ha...
by arunenigma
 

 
 
bin-tree

Python AVL Tree Implementation with ASCII visualization

n computer science, an AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any tim...
by arunenigma
 

 

 
bst

Binary Search Tree in Python with ASCII art visualization

Binary search tree implementation in Python with: in, post and pre-order traversals. Also includes methods for insertion, deletion and search of nodes. Deletion is fairly complex and is made possible by keeping track of parents...
by arunenigma
 

 
 
fibonacci

Python, Memoization, Dynamic Programming, Fibonacci Series and some Fun!

ython can implement the recursive formulation directly, caching return values. Memoization is a method where if a call is made more than once with the same arguments, and the result is returned directly from the cache. For exam...
by arunenigma
 

 




0 Comments


Be the first to comment!


You must be logged in to post a comment.