Giter Club home page Giter Club logo

lambdaattack's Introduction

LambdaAttack

Description

Minecraft bot. Currently used for stress testing.

Features

  • Graphical user interface
  • Command line interface
  • Configurable amount and join delay
  • Configurable target
  • Configurable name format or name list
  • LogPanel to see errors directly
  • Test with Spigot, Paper
  • Disconnects gracefully after the end
  • Automatically registers for cracked servers
  • Supports SOCKS proxies
  • Free
  • Open source

Requirements

  • Java 9
  • Minecraft 1.11+ server

Downloads

https://github.com/games647/LambdaAttack/releases

Building

  1. Download Apache Maven
  2. Unpack it
  3. Optionally add the bin folder to your PATH variable to invoke Maven with mvn without specifying the complete path to the bin folder for every command
  4. Download this project with Git (git clone <URL/git@github:...>) or as zip
  5. Move to the top folder of the project conting the pom.xml
  6. Run mvn clean install
  7. The final version is inside the core/target folder

Images

Gui

Command Line Usage

To run LambdaAttack from the command line without a GUI, enter
java -jar lambdaattack.jar <options>.

These are the available options:

Name Description
-h, --host <arg> The hostname to connect to. Defaults to 127.0.0.1
-p, --port <arg> The port to connect to. Defaults to 25565
-c, --count <arg> The amount of bots to connect to the server. Defaults to 20
-d, --delay <arg> The delay between bot spawns, in milliseconds. Defaults to 1000
-n, --name <arg> The format for bot names. Requires exactly one integer placeholder %d. Defaults to Bot-%d
-v, --version <arg> The Minecraft version of the server to connect to. Defaults to 1.15.2
-r, --register Makes Bots run the /register and /login command after joining with username and password being LambdaAttack
--help Displays a help page

Dependencies

lambdaattack's People

Contributors

games647 avatar minidigger avatar piggypiglet avatar steven-peralta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lambdaattack's Issues

Cannot use proxy

Hey, I have this issue where I cannot connect to my test server using a proxy.

Btw I got the proxy from here https://www.socks-proxy.net

It always said connection timed out for no reason. Please help ;)

Compiler JAR version ?

Hello,

It's possible to get a jar of your LambaAttack for 1.8.8 ?
I've somes strange issues to compile it.

Thanks !

Can't complete installation (lamdbaattack-version folder fails)

Hello,
I'm trying to install this, but I keep getting an error when going through the lamdbaattack-version folder.
I installed apache maven successfully, I set up the paths as well, installed the latest version of java, installed MCProtocolLib(Don't know if it was needed but still did just in case, and this one did install without error), I tried everything, I keep rerunning the command but it can never install this folder.

Any help would be appreciated!
Here's the output:

Cmd output Microsoft Windows [Version 10.0.18362.836] (c) 2019 Microsoft Corporation. All rights reserved.

C:\Users\Groot>cd C:\Users\Groot\Desktop\LambdaAttack-master

C:\Users\Groot\Desktop\LambdaAttack-master>mvn clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] LambdaAttack [pom]
[INFO] lambdaattack-version [jar]
[INFO] lambdaattack-version-1-11 [jar]
[INFO] lambdaattack-version-1-12 [jar]
[INFO] lambdaattack-version-1-14 [jar]
[INFO] lambdaattack-version-1-15 [jar]
[INFO] lambdaattack-core [jar]
[INFO]
[INFO] ------------------< com.github.games647:lambdaattack >------------------
[INFO] Building LambdaAttack 2.4.0 [1/7]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lambdaattack ---
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ lambdaattack ---
[INFO] Installing C:\Users\Groot\Desktop\LambdaAttack-master\pom.xml to C:\Users\Groot.m2\repository\com\github\games647\lambdaattack\2.4.0\lambdaattack-2.4.0.pom
[INFO]
[INFO] --------------< com.github.games647:lambdaattack-version >--------------
[INFO] Building lambdaattack-version 2.4.0 [2/7]
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ lambdaattack-version ---
[INFO] Deleting C:\Users\Groot\Desktop\LambdaAttack-master\version\target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ lambdaattack-version ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Users\Groot\Desktop\LambdaAttack-master\version\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ lambdaattack-version ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\Users\Groot\Desktop\LambdaAttack-master\version\target\classes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for LambdaAttack 2.4.0:
[INFO]
[INFO] LambdaAttack ....................................... SUCCESS [ 0.328 s]
[INFO] lambdaattack-version ............................... FAILURE [ 0.618 s]
[INFO] lambdaattack-version-1-11 .......................... SKIPPED
[INFO] lambdaattack-version-1-12 .......................... SKIPPED
[INFO] lambdaattack-version-1-14 .......................... SKIPPED
[INFO] lambdaattack-version-1-15 .......................... SKIPPED
[INFO] lambdaattack-core .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.108 s
[INFO] Finished at: 2020-05-19T12:41:03-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project lambdaattack-version: Fatal error compiling: invalid target release: 1.9 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :lambdaattack-version

C:\Users\Groot\Desktop\LambdaAttack-master>

Here's the output when doing mvn -e

mvn -e output C:\Users\Groot\Desktop\LambdaAttack-master>mvn -e [INFO] Error stacktraces are turned on. [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] LambdaAttack [pom] [INFO] lambdaattack-version [jar] [INFO] lambdaattack-version-1-11 [jar] [INFO] lambdaattack-version-1-12 [jar] [INFO] lambdaattack-version-1-14 [jar] [INFO] lambdaattack-version-1-15 [jar] [INFO] lambdaattack-core [jar] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for LambdaAttack 2.4.0: [INFO] [INFO] LambdaAttack ....................................... SKIPPED [INFO] lambdaattack-version ............................... SKIPPED [INFO] lambdaattack-version-1-11 .......................... SKIPPED [INFO] lambdaattack-version-1-12 .......................... SKIPPED [INFO] lambdaattack-version-1-14 .......................... SKIPPED [INFO] lambdaattack-version-1-15 .......................... SKIPPED [INFO] lambdaattack-core .................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.149 s [INFO] Finished at: 2020-05-19T12:59:19-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1] org.apache.maven.lifecycle.NoGoalSpecifiedException: No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:97) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/NoGoalSpecifiedException

Bungee

I try to test my bungeecord, but it only lets join 3 bots then it says.

2:40 PM INFO [0] Received Message: [+] 0
2:40 PM INFO [0] Received Message: [+] 1
2:40 PM INFO [1] Received Message: [+] 1
2:40 PM INFO [2] Received Message: [+] 2
2:40 PM INFO [1] Received Message: [+] 2
2:40 PM INFO [0] Received Message: [+] 2
2:40 PM INFO [3] Disconnected: Connection closed.
2:40 PM INFO [4] Disconnected: Connection closed.
2:40 PM INFO [5] Disconnected: Connection closed.
2:40 PM INFO [1] Disconnected: Disconnect

First time im stress testing so it could also be an fault on my site but i just wanna test

Bots don't generate chunks or spawn mobs around them

I'm trying to use this tool to stress test my server to see how many players I can support but it seems minecraft is only half loading them in. What I mean by that is the players are indeed there and they load chunks, but they do not seem to generate new chunks or spawn hostile mobs around them. They also ignore gravity and knockback from taking damage but that part doesn't really matter as much. The no gravity part reminds me of when a player who has terrible ping first joins.

Proxy

Proxy doesn't work. When i load the proxy file and click start, it wont do anything!

Support for random nicknames

Could you add support for random nicknames please? like it would randomly generate nicknames without us loading "valid" nicknames?

Does LambdaAttack do anything else more than just creating fake player and login?

Hi, I am just using LambdaAttack as a fake player creator for continuous chunckloading in order to make some farms or red-stone machines keep running on my server.
However I have found that it causes a strong tps drop to even 5-10 tps when I create just 3 players using LambdaAttack.
Does this program do anything else more than just creating players and login? Like lag datapack sending or something else. If the answer is no, I may find some hardware reasons because I run LambdaAttack and my server on the same PC.
LambdaAttack really helps me a lot but I just cannot suffer such a low tps. I wish you can reply me as soon as possible.
Thanks in advance.

Proxy not work

You can improve the proxy system because it really doesn't work ?

Update to 1.16.1

Maybe you update this instrument on new minecraft version for testing my protect?

Errors importing the project

Hi, I have learnt how to use maven just to be able to use this project but still it doesnt want to work properly when imported... I was wondering if i could contact you somewere like discord or skype to try fix this?

Auto Register not working

Im trying to bot spam a server but your auto register does not work

the way to register to this server is as follows

/register password confirmpassword

i dont know if your auto register does this but i tick the box and still does nothing

wtf i was a skid

Hello, i was checking for security my server but i need a working proxy because the txt that i donwloaded from here: socks-proxy.net, but it just says timed out and shows a socks error.
Thanks in advanced

Support for console?

Hello, it's me again :), i was busy & i couldn't add myself a console version of this, could you release one?

import org.spacehq.mc.protocol.v1_10.packet.ingame.client.ClientChatPacket;

import org.spacehq.mc.protocol.v1_10.packet.ingame.client.ClientChatPacket;

I get this error, i have installed mcauthlib-1.0 ; opennbt-1.0; packetlib-1.0; mcprotocollib-1.10.2-20160628.203512-2.

How can i fix it? i have looked up on jenkins for the latest mcprotocollib libraries and i haven't found nothing besides those

1.11 support

Despite the fact that support has been added, in list doesn't include option.
(I building last version, from source)
default

How to

Can you make a .jar for library or can you write a installation guide for windows with intellij?

1.8 Connection issue

Disconnected: io.netty.handler.codec.DecoderException: java.lang.NoSuchMethodError: org.spacehq.opennbt.NBTIO.readTag(Ljava/io/DataInputStream;)Lorg/spacehq/opennbt/tag/builtin/Tag;

Server is on 1.8.8 (using custom name tags). Any ideas?

Namelist

Would you add nicknames support like "RANDOM, FAKE, NORMAL" and by normal i mean "kermit, xdproxd" and so on.. and proxy list download? like deathbot? and how many threads we can use too?

1.7/1.8 Support?

Any chance for 1.7/18 support for this stress test bot? I'd love to use it.

Proxy

When would proxy feature be added? (Bots that join with proxy?)

Proxies

Create a proxy checker that can check the proxies before it attempts to use them to connect to the server.

(Does this support SOCKS5 proxies?)

Cannot reconnect and disconnecting bots

After you disconnect bots from a server you cannot reconnect them unless you relaunch the application.
I have only ever used the bots on 1.8 mode if that is relevent.

Make bots move randomly

After logging in and registering, make the bots move around randomly. This could be used to really test active player movement, and it doesn't sound too hard to implement.

Altening support?

Hey, just found out about this and seems cool, do you think its possible to implement altening support to get accounts? Thanks

Update

Hello! :)
Very cool and convenient all done!

How does the "Auto Register" work?
I have a tick, but for some reason it does not register for version 1.11

On the versions below it gives an error.

For example, on version 1.10 error
io.netty.handler.codec.DecoderException: java.lang.NoSuchMethodError: org.spacehq.opennbt.NBTIO.readTag

Will minecraft 1.12 be added?

Error on 1.8 server using ViaVersion

11:21 PM INFO [Bot-0] Disconnected: io.netty.handler.codec.DecoderException: java.lang.IllegalArgumentException: Value achievement.openInventory has no mapping for key class com.github.steveice10.mc.protocol.v1_12.data.game.statistic.GenericStatistic.

I get that error when the bot connects to the server and gets disconnected right away.

I think it is a bug

Once the bot finishes with the proxy list, it simply stops & not looping trought it again!

Version

Can you add version selector? that would be great for servers that are 1.7;1.8;1.9! ๐Ÿ‘
EDIT: Also can you add a download link too?

Doesn't work for Linux

Hi, I have an error in console when trying to launch bots from my VDS.

Apr 11, 2020 12:06:17 AM com.github.games647.lambdaattack.LambdaAttack lambda$main$0 SEVERE: null java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. at java.desktop/sun.awt.X11GraphicsEnvironment.initDisplay(Native Method) at java.desktop/sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:102) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.desktop/sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:61) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.createGE(GraphicsEnvironment.java:101) at java.desktop/java.awt.GraphicsEnvironment$LocalGE.<clinit>(GraphicsEnvironment.java:83) at java.desktop/java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:129) at java.desktop/java.awt.Window.initGC(Window.java:487) at java.desktop/java.awt.Window.init(Window.java:507) at java.desktop/java.awt.Window.<init>(Window.java:549) at java.desktop/java.awt.Frame.<init>(Frame.java:423) at java.desktop/javax.swing.JFrame.<init>(JFrame.java:224) at com.github.games647.lambdaattack.gui.MainGui.<init>(MainGui.java:31) at com.github.games647.lambdaattack.LambdaAttack.main(LambdaAttack.java:37)

proxy use in console

Hi, can you please make proxies to work from console ? I want to give a .txt file as a parameter when I launch the .jar from console.
Thanks

How to launch the GUI ?

Hello,

I just want to have the options to launch the GUI but i don't have find this in the code.

Ty

Its not working 1.15.2

Any idea what im doing wrong? I added in a proxy list and some random names on a text file. It doesn't go through the server and no bot is coming in. Here's a screenshot. Cheers!
sss

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.