Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[TuT] BSOD Triggering Program
#1
1. Make a new application.
2. Place a button on the form.
3. Put this code into the button:
Code:
For Each I In Process.GetProcesses
    Try
    If Not I.ProcessName = Application.ExecutablePath.Split("\")(Application.ExecutablePath.Split("\").Length - 1).Split(".")(0) Then
    I.Kill()
    End If
    Catch ex As Exception
    End Try
  Next

Run it and press the button, you will get a nice BSOD Smile

Reply
#2
Code:
If Not I.ProcessName = Application.ExecutablePath.Split("\")(Application.ExecutablePath.Split("\").Length - 1).Split(".")(0) Then

you didn't need all that extra typing lol. This could have been used as well:
Code:
Path.GetFileName(Application.ExecutablePath)
As long as you Import the System.IO namespace, otherwise, you're going to have to put it directly in there like this:
Code:
IO.Path.GetFileName(Application.ExecutablePath)

Or you could have just split it at the last index of "\" instead, also it's only accurate for form applications. But it wouldn't work for a module or a service.

But this is only accurate for windows form applications (executables), and it wouldn't be very good to use for a service or a module.
Use this instead of the code above:
Code:
Dim AppProcess As String = Process.GetCurrentProcess.MainModule.FileName
Reply
#3
(07-03-2011, 03:30 AM)Ace Wrote:
Code:
If Not I.ProcessName = Application.ExecutablePath.Split("\")(Application.ExecutablePath.Split("\").Length - 1).Split(".")(0) Then

you didn't need all that extra typing lol. This could have been used as well:
Code:
Path.GetFileName(Application.ExecutablePath)
As long as you Import the System.IO namespace, otherwise, you're going to have to put it directly in there like this:
Code:
IO.Path.GetFileName(Application.ExecutablePath)

Or you could have just split it at the last index of "\" instead, also it's only accurate for form applications. But it wouldn't work for a module or a service.

But this is only accurate for windows form applications (executables), and it wouldn't be very good to use for a service or a module.
Use this instead of the code above:
Code:
Dim AppProcess As String = Process.GetCurrentProcess.MainModule.FileName

LOL... So what is it doing technically?... Explain please Ace
[Image: t5BWm.png]
Reply
#4
(07-03-2011, 01:48 PM)Resistance Wrote: LOL... So what is it doing technically?... Explain please Ace

It kills every process other than the one that is currently working.
Reply
#5
(07-03-2011, 04:59 PM)cody8295 Wrote: It kills every process other than the one that is currently working.

That is an unwise decision to make! It needs administrator privileges to function, no?
[Image: t5BWm.png]
Reply
#6
(07-03-2011, 05:02 PM)Resistance Wrote: That is an unwise decision to make! It needs administrator privileges to function, no?

Only one way to find out.
Reply
#7
(07-03-2011, 05:02 PM)Resistance Wrote: That is an unwise decision to make! It needs administrator privileges to function, no?

I doubt that it would cause a BSOD either, as you typically can't even delete the important processes anyway even with admin privilleges though. And some can't be deleted because they are in use, and will start back up upon killing it's process.

(07-03-2011, 01:48 PM)Resistance Wrote: LOL... So what is it doing technically?... Explain please Ace

You should have been able to figure that out. The first 3 are the same, only the last is the shortest, and the best method is the last one, as it doesn't just look for a filepath to an executable form. Not all services are executables in forms

Reply
#8
real bsod try this :

Code:
'Release Date   :   10/5/2010
'Credits        :   AeonHack,Devil's Child,Wrox Programming
'Purpose    :   Instant Bluescreen Of Death(BSOD)

Imports System
Imports System.Diagnostics
Imports System.Runtime.InteropServices

Public Class mBlueScreen

    <DllImport("ntdll")> _
    Shared Function NtSetInformationProcess(ByVal p As IntPtr, ByVal c As Integer, ByRef i As Integer, ByVal l As Integer) As Integer
    End Function

    Public Shared Sub BSOD()
        Dim mProc As Process = Process.GetCurrentProcess()
        NtSetInformationProcess(mProc.Handle, 29, 1, 4)
        mProc.Kill()
    End Sub

End Class
Reply
#9
(07-04-2011, 06:39 PM)t0fxREAL Wrote: real bsod try this :

Code:
'Release Date   :   10/5/2010
'Credits        :   AeonHack,Devil's Child,Wrox Programming
'Purpose    :   Instant Bluescreen Of Death(BSOD)

Imports System
Imports System.Diagnostics
Imports System.Runtime.InteropServices

Public Class mBlueScreen

    <DllImport("ntdll")> _
    Shared Function NtSetInformationProcess(ByVal p As IntPtr, ByVal c As Integer, ByRef i As Integer, ByVal l As Integer) As Integer
    End Function

    Public Shared Sub BSOD()
        Dim mProc As Process = Process.GetCurrentProcess()
        NtSetInformationProcess(mProc.Handle, 29, 1, 4)
        mProc.Kill()
    End Sub

End Class

All you need for imports on the code I see is
Code:
Imports System.Runtime.InteropServices

The rest is useless, but that's not going to give you a real bluescreen, killing the process of that dll if you managed wouldn't be the same as deleting it. Although i'd advise not to.
Reply
#10
(07-04-2011, 06:54 PM)Ace Wrote:
(07-04-2011, 06:39 PM)t0fxREAL Wrote: real bsod try this :

Code:
'Release Date   :   10/5/2010
'Credits        :   AeonHack,Devil's Child,Wrox Programming
'Purpose    :   Instant Bluescreen Of Death(BSOD)

Imports System
Imports System.Diagnostics
Imports System.Runtime.InteropServices

Public Class mBlueScreen

    <DllImport("ntdll")> _
    Shared Function NtSetInformationProcess(ByVal p As IntPtr, ByVal c As Integer, ByRef i As Integer, ByVal l As Integer) As Integer
    End Function

    Public Shared Sub BSOD()
        Dim mProc As Process = Process.GetCurrentProcess()
        NtSetInformationProcess(mProc.Handle, 29, 1, 4)
        mProc.Kill()
    End Sub

End Class

All you need for imports on the code I see is
Code:
Imports System.Runtime.InteropServices

The rest is useless, but that's not going to give you a real bluescreen, killing the process of that dll if you managed wouldn't be the same as deleting it. Although i'd advise not to.

I know that, it's just a c/p with credits, search my codes u'll never find useless declarations.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [TUT] How to make a simple WebBrowser in VB 2010! [TUT] - [ Pictures] Statics 95 61,887 10-07-2012, 06:56 AM
Last Post: a99
  AutoBlue - BSOD Tool - Preview Only AceInfinity 4 1,501 02-24-2012, 09:06 PM
Last Post: AceInfinity
  DriveList Helper - BSOD Drive Query Crash Dump Debugging Tool AceInfinity 5 1,900 02-14-2012, 07:02 AM
Last Post: AceInfinity
  [TUT]Auto-Update System[TUT] HB Virus 3 2,428 01-07-2012, 02:21 PM
Last Post: Mastermrz
  [TUT]Enable and Disable TaskManger in vb.net [TUT] HB Virus 4 3,174 12-19-2011, 10:10 AM
Last Post: euverve

Forum Jump:


Users browsing this thread: 1 Guest(s)