9/16/2023 0 Comments Rick roll![]() ![]() They are named weirdly so the user will not delete them. These files come to be by this file that copies them from a flash drive and into that spot. ![]() And the one before referenced some unknown music file. In the last step you will notice that the file referenced some picture files called core(#).bmp. EDIT: yes this method is now copyrighted so if you used this include the rem command which is a comment command (it won't affect the script) and the stuff after it, Thanks You can get all of them, they are zipped. These pics are clipped from his music video and i didn't photoshop them at all.really. you also need make sure you have word wrap off. Also, when you copy this code make sure all the lines that say COPY extend all the way to the end in notepad( or whatever you are using to save this stuff as) to the character "d" at the end of the word failed. bmp otherwise this will not work! i will supply you with the 6 pictures that i used for my prank. You can use any pictures you want BUT the must be. I used 6 different pictures because the random limit divided almost evenly that way. the || msg * copy flailed will tell you whether or not the copy worked, this is only necessary for testing after you know it works you can remove this. :pic1) copies a picture file under the windows system32 root (this is safe to do, just don't delete anything that is there lol) and moves it to a spot where it will become the background if the user logs of and then back in leaving you time to escape : ). (In Batch programming the variable %RANDOM% put in a big random number so we want an even chance for each section of the number.) pic# is the name of the pic section that the GOTO.well goes to. The start creates a random number and the "if" commands splits the random to where it has an even chance of "landing" on all 6. This is sorta hard to explain unless you have a decent knowledge of batch commands. Rem and not HKEY edits is copyrighted(©) 2009-2059ĬOPY "%windir%\system32\core1.bmp" "%USERPROFILE%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp" || msg * copy failedĬOPY "%windir%\system32\core2.bmp" "%USERPROFILE%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp" || msg * copy failedĬOPY "%windir%\system32\core3.bmp" "%USERPROFILE%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp" || msg * copy failedĬOPY "%windir%\system32\core4.bmp" "%USERPROFILE%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp" || msg * copy failedĬOPY "%windir%\system32\core5.bmp" "%USERPROFILE%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp" || msg * copy failedĬOPY "%windir%\system32\core6.bmp" "%USERPROFILE%\Local Settings\Application Data\Microsoft\Wallpaper1.bmp" || msg * copy failed Rem This background changing method using COPY commands only Song (if you want to call it that lol) available to download, it is in stereo.įor the background we will use a batch file that changes it the next time a user logs in. This file calls upon an alert.mp3 which is copied and explained later. The Purpose of this is that we want to sound to run in the background, not in a visible window were the sound can be stopped. so if t1 was 17 and t2 was 31 we now have the variable TMAIN which equals 17:31, which is one minute after this code is ran! This new time variable TMAIN is now put into an AT (scheduler command) tells the song thing to play in one minute. Now we merge the two "t"'s with a colon in between them. it then adds one to t2 making it 31 Note: the colon (:) counts as a character (just in case you want to use this method for any of your own files. The next line does the same thing but takes it info from the 4th and 5th characters of TIME or the 30 from my example. Usually TIME is equal to something like 17:30:56.07 but we just have the first two digits or the 17 from my example. What it does is it creates the variable t1 and sets it to TIME (which is the current time what the code ran) and "extracts" the fist two characters. it might look a bit scary but once i figured it out it seemed simple. ![]() Of course the first thing to cover will be the song or whatever you want to call that is necessary for a rick roll! we want the song to play as soon as the user logs in so this takes some heavy code (at least for me) to do this.you can copy and paste this offĪt %TMAIN% cmd /c mpla圓2 /play /close "%windir%\system32\alert.mp3" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |