/account-spammer

A Java library for sending POST data to a script.

Primary LanguageJavaGNU General Public License v2.0GPL-2.0

AccountSpammer

A program written in Java that sends POST requests to any PHP script.

Usage

Make a new instance of AccountSpammer as such:

AccountSpammer accountSpammer = new AccountSpammer("http://website.com/script.php", "argument1=test", "argument2=lol");

Then call the method AccountSpammer#postData after this instance has been called:

accountSpammer.postData();

Finally, get the reply from the POST request:

String[] reply = accountSpammer.getReply();

If you'd like an example on how to spam a register page using this library, then check out SpamExample#main. But, if you'd like an example on how to get the reply from the POST data, then check out ReplyExample#main

Installation

Maven users:

<repositories>
    <repository>
        <id>latematt</id>
        <name>latematt's Repository</name>
        <url>http://latematt.pw/maven</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>pw.latematt</groupId>
        <artifactId>account-spammer</artifactId>
        <version>1.2.0</version>
    </dependency>
</dependencies>

Otherwise, include the library provided here.