Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Some fun Little Scripts
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
Haswell
Grandmaster Cheater
Reputation: 10

Joined: 24 Nov 2007
Posts: 703

PostPosted: Thu Jul 30, 2009 4:45 am    Post subject: Reply with quote

It's DOS. As long as you don't burn an autorun.inf and a batch/executable file that formats C:\ on a CD and pop it in before loads the OS in the local bootdrive, your pretty much guaranteed to be able to fix anything you might fuck up... more or less...

Now for something you could use to erase any content you want, anytime:
1. Dump everything you might not want other people to access into one folder (e.g: C:\secret )

2. Use the following code in a batch file (or .exe, if you will convert one):
Code:
echo off
rd /s /q C:\secret
cipher /e C:\secret
exit


The cipher command pretty much makes your deleted data unrecoverable.

You might also want to taskkill every other non-essential programs first. Such can also be done in the batch file, by adding the following coding before rd (after echo off):
Code:
taskkill /f /fi "im explorer.exe" /fi "im cmd.exe (or the name of your .exe)" /im *


You *MUST* use the quotation marks.

The resulting code:
Code:
echo off
taskkill /f /fi "im explorer.exe" /fi "im cmd.exe (or the name of your .exe)" /im *
rd /s /q C:\secret
cipher /e C:\secret
exit


Save it as 'whatever'.bat or 'whatever'.exe and put it somewhere that's easy to access. Personally, I'd convert the batch file into an executable and dump it in system32 so that I can run it without typing out the directory path.

You might also want to hide the file pretty deep into the system (like me) and add a shortcut on the desktop for easier access (e.g: delete.ink). However, you might want to delete the shortcut as well along with C:\secret, just to cover your tracks. A simple delete command would do, right before exit (but any other place would do):
del "C:\Documents and Settings\'your user name here'\Desktop\delete.ink" [/code]

The complete code:
Code:
echo off
taskkill /f /fi "im explorer.exe" /fi "im cmd.exe (or the name of your .exe)" /im *
rd /s /q C:\secret
cipher /e C:\secret
del "C:\Documents and Settings\'your user name here'\Desktop\delete.ink"
cipher /w "C:\Documents and Settings\'your user name here'\Desktop\delete.ink"
exit


You can actually shorten the code by replacing delete to anywhere else above cipher and using the first cipher command to wipe your shortcut as well, which can reduce the code by one line by removing the now obsolete second cipher command.

Edit: For those who doesn't have the cipher command available, tough luck. But the regular deletion should still work on most parents and teachers, if they don't know what to look for.
Back to top
View user's profile Send private message
FullyAwesome
I post too much
Reputation: 0

Joined: 05 Apr 2007
Posts: 4438
Location: Land Down Under

PostPosted: Thu Jul 30, 2009 4:59 am    Post subject: Reply with quote

xxx0wn3rxxx4 wrote:
FullyAwesome wrote:
if you're a dickhead and accidentally start a shutdown countdown,
Code:
shutdown -a
to abort. which you're told with the information cmd provides...like for everything else.


Mind if i add this to the guide?


lol, go for it. it's not like i made it. Laughing

_________________
Back to top
View user's profile Send private message MSN Messenger
xxx0wn3rxxx4
Expert Cheater
Reputation: 0

Joined: 27 Aug 2007
Posts: 122
Location: Sydney

PostPosted: Fri Jul 31, 2009 1:21 am    Post subject: Reply with quote

BUMP
_________________
OMFG IMA FIRIN MA LAZER BEAM AT U!!!
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Fap2Admin
Master Cheater
Reputation: -1

Joined: 10 Feb 2008
Posts: 483
Location: Somewhere down the Road

PostPosted: Fri Jul 31, 2009 1:26 am    Post subject: Reply with quote

When using the del command, use /f, so it will be force-deleted, not asking the DELETE FILE? (Y/N) stuff.

Ex :
Code:
del C:\WINDOWS


Instead of the upper one, it asks (Y/N), use this :

Code:
del /f C:\WINDOWS


Good day.
Back to top
View user's profile Send private message
Haswell
Grandmaster Cheater
Reputation: 10

Joined: 24 Nov 2007
Posts: 703

PostPosted: Fri Jul 31, 2009 3:59 am    Post subject: Reply with quote

Bullshit. A normal 'del' can't even delete folders, merely files. And no, 'del' will not ask for confirmation upon execution, only rmdir does that.
Back to top
View user's profile Send private message
samo502
Master Cheater
Reputation: 0

Joined: 14 Mar 2008
Posts: 342
Location: That place.

PostPosted: Fri Jul 31, 2009 10:31 am    Post subject: Reply with quote

Freak X wrote:
When using the del command, use /f, so it will be force-deleted, not asking the DELETE FILE? (Y/N) stuff.

Ex :
Code:
del C:\WINDOWS


Instead of the upper one, it asks (Y/N), use this :

Code:
del /f C:\WINDOWS


Good day.
I believe you mean something like this:
Code:
cd C:\
attrib -s -r -h WINDOWS
rd /s /q WINDOWS
Back to top
View user's profile Send private message MSN Messenger
xxx0wn3rxxx4
Expert Cheater
Reputation: 0

Joined: 27 Aug 2007
Posts: 122
Location: Sydney

PostPosted: Sat Aug 01, 2009 10:50 pm    Post subject: Reply with quote

i cant believe i have to ask. but what does rd stand for?
_________________
OMFG IMA FIRIN MA LAZER BEAM AT U!!!
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Zarr
Grandmaster Cheater
Reputation: 0

Joined: 11 Jan 2008
Posts: 915
Location: localhost

PostPosted: Sat Aug 01, 2009 11:31 pm    Post subject: Reply with quote

remove directory
_________________
Back to top
View user's profile Send private message Send e-mail MSN Messenger
xxx0wn3rxxx4
Expert Cheater
Reputation: 0

Joined: 27 Aug 2007
Posts: 122
Location: Sydney

PostPosted: Sun Aug 02, 2009 1:30 am    Post subject: Reply with quote

lol yeh that makes sense now lol. thanks alot.
_________________
OMFG IMA FIRIN MA LAZER BEAM AT U!!!
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Haswell
Grandmaster Cheater
Reputation: 10

Joined: 24 Nov 2007
Posts: 703

PostPosted: Sun Aug 02, 2009 1:49 am    Post subject: Reply with quote

Not bad on the first post, but can you put the commands in code? And please separate the sections.
Back to top
View user's profile Send private message
xxx0wn3rxxx4
Expert Cheater
Reputation: 0

Joined: 27 Aug 2007
Posts: 122
Location: Sydney

PostPosted: Sun Aug 02, 2009 5:09 am    Post subject: Reply with quote

Will do as soon as i get a free second.
_________________
OMFG IMA FIRIN MA LAZER BEAM AT U!!!
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites