Skip to content
← Back to Community
How to crash server
Profile icon
JaydonGaal

Teach how crash server fast please!

Voters
Profile icon
GulfaamAli
Profile icon
19jlove1
Profile icon
24lewisleo
Profile icon
cainya
Profile icon
RowanKinsey
Profile icon
jivgym
Profile icon
AlejandroWhetst
Profile icon
JaydonGaal
Comments
hotnewtop
Profile icon
ash15khng
  1. why do you want to crash a server
  2. what server are you trying to crash
  3. your code has nothing to do with crashing servers?
Profile icon
Vandesm14

Just do a

while True

That should do the trick

Please mark this as answered if I helped your problem 👍

Profile icon
sgcoder1337

@Vandesm14 nope maybe nested while True and some calculations might work

Profile icon
mwilki7

You would either have to:
• send it more information than it can handle (not always the effective since servers these days always allocate a thread per client).
• send it more clients than it can handle (threads take up system resources, will lock up a single server if it's dumb to accept any client) This is the basis for SYN attacks but this is largely mitigated by forcing the client to partially complete the TCP handshake before the server agrees to hold the socket open.
• disrupt it internally by making it crash or something (tampering with user input)
• different point of attack, other programs may be vulnerable that you might use to crash the server

Such information is publicly available, mostly for public knowledge and building better security.
But don't try to perform on real systems! You will either: crash your own computer, crash someone else's, get charged with serious offenses or even jail time.