Adblock breaks this site

[PHP] Automated RuneScape account generator (35000 accounts/year)

Discussion in 'Archives' started by moederkoek, Nov 4, 2008.

Thread Status:
Not open for further replies.
  1. moederkoek

    moederkoek Member

    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    Had nothing to do so I've made an Automated RuneScape account generator in php, even though I havn't played RS for 2 years

    How this works:

    There's a .txt file with keywords.
    For example you have the keyword "PK"
    The script asks the RuneScape database which accounts are available.
    It returns "Hex Pk Hope" and creates that account.
    The username, password and more stuff is saved in a mysql database.

    Because jagex only allows you to make an account each 15 minutes, we'll have to set a cron job to 15 minutes. The script should then create about 35000 accounts/year.

    I made this script because I wanted to build an automated character name-selling shop but as I already got a real-life global (lifestyle furniture) company's so dont have the time for some crappy one

    --note: I must admit that the code is a bit ugly--
    I've removed the script as attachment to prevent ppls abusing and hidden a url

    PHP:
    <?php
    //stuff
    $dbhost 'localhost'//database host, usually localhost
    $dbuser 'username'//database username
    $dbpass 'userpass'//database password
    $dbname 'database'// database name
    $search "search.txt"//file with keywords
    //end stuff

    function randomsearch($path){
    $words=file($path);
    shuffle($words);
    return 
    $words[0];
    }
    function 
    getRSpage($page){
        if (!
    function_exists('curl_init')){
            return 
    file_get_contents($page);
        }
        
    $curl curl_init($page);
        
    curl_setopt($curlCURLOPT_HEADERfalse);
        
    curl_setopt($curlCURLOPT_VERBOSEfalse);
        
    curl_setopt($curlCURLOPT_RETURNTRANSFERtrue);
        
    curl_setopt($curlCURLOPT_USERAGENTfalse);
        
    $output curl_exec($curl);
        if (
    curl_errno($curl)){
            
    trigger_error('CURL error: "' curl_error($curl) . '"'E_USER_WARNING);
            
    $output false;
        }
        
    curl_close($curl);
        return 
    $output;
    }
    function 
    getRSvalue($page){
        
    $value getRSpage($page);
        
    $value explode(","$value);
        
    $value str_replace(" ","_",$value[1]);
    return 
    $value;
    }
    function 
    cpass() {
        
    $chars "abcdefghijkmnopqrstuvwxyz0123456789";
        
    srand((double)microtime()*1000000);
        
    $i 0;
        
    $pass '' ;
        while (
    $i 8) {
            
    $num rand() % 33;
            
    $tmp substr($chars$num1);
            
    $pass $pass $tmp;
            
    $i++;
        }
        return 
    $pass;
    }
    //Create values
    $pass cpass();
    $asearch randomsearch($search);
    $name getRSvalue("<hidden>");
    $day rand(128);
    $month rand(111);
    $year rand(19851994);
    $country rand(100161);

    $exec getRSpage("<hidden>");
    //MYSQL CONNECTING
    $connect mysql_connect("$dbhost""$dbuser""$dbpass")
    or die (
    "Could not connect to server :" mysql_error());
    $db mysql_select_db("$dbname"$connect)
    or die (
    "Could not select db :" mysql_error());

    //CREATE MYSQL TABLE IF NOT EXISTS
    $createdb mysql_query("CREATE TABLE IF NOT EXISTS `account` (
      `account` text NOT NULL,
      `drowssap` varchar(20) NOT NULL,
      `day` tinyint(2) NOT NULL,
      `year` text NOT NULL,
      `month` tinyint(2) NOT NULL,
      `country` text NOT NULL,
      `status` tinyint(1) NOT NULL default '0',
      `timecreated` timestamp NOT NULL default CURRENT_TIMESTAMP,
      KEY `status` (`status`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1"
    );

    //INSERT VARS IN DB
    $sql mysql_query("INSERT INTO `".$dbname."`.`account` (`account`, `drowssap`, `day`, `year`, `month`, `country`, `status`) VALUES ('".$name."', '".$pass."', '".$day."', '".$year."', '".$month."', '".$country."', 'NULL')") or die ("Could not insert new data :" mysql_error());
    ?>
    screen of a view created accounts:
    data from left to right:
    <username><password><birthday><birthyear><birthmonth><countryid><status><date&time created>
    [​IMG]
     
  2. LittleBear

    LittleBear Active Member
    Banned

    Joined:
    Nov 3, 2008
    Posts:
    239
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    nice lol you could be rich
     
  3. moederkoek

    moederkoek Member

    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    already am....no rly...
    and its easy to make so I don't think anyone would buy
    plus i dont want jagex legal ppls after meh
     
  4. .Void

    .Void Guest

    Referrals:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    I will be sure to try this on my forums which I am currently working on. Thanks for the program. Would rep if I could.
     
  5. Dreadsthegreat

    Dreadsthegreat Active Member

    Joined:
    Apr 19, 2006
    Posts:
    119
    Referrals:
    0
    Sythe Gold:
    4
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    best part of all that is :D you wont get ip banned lol
     
  6. moederkoek

    moederkoek Member

    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    <deleted post>
     
  7. lumentec_dark

    lumentec_dark Member
    Banned

    Joined:
    Nov 9, 2008
    Posts:
    52
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    Moederk,

    Could you give me a little tut of how you created the cron? Damn cron jobs.
     
  8. moederkoek

    moederkoek Member

    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    don't have time for a good tut, but here's a screeny from mine (in cpanel -.-):
    [​IMG]
    it basicly is just "php /<path to file you want to run>"
    and then set the timer
     
  9. AADude

    AADude Member

    Joined:
    Apr 3, 2008
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    Why don't you just use cURL for proxies and allow users to upload a proxy list to avoid that 15 minute wait? I'm sure you could do it, and it would be a nice little function to the script.

    Anyway, since it goes to the site over and over to create new accounts, I'm guessing it's pretty slow, right?
     
  10. FartKnocker

    FartKnocker Forum Addict

    Joined:
    Sep 3, 2007
    Posts:
    285
    Referrals:
    0
    Sythe Gold:
    5
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    Lol very nice. Now to make a buy page :D.

    edit;;

    Works like a charm.
     
  11. Exe

    Exe Member

    Joined:
    Oct 31, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    I keep getting

    Parse error: parse error, unexpected '=' in /home/www/****.100webspace.net/Account Creator.php on line 11
     
  12. Zyloch

    Zyloch Member

    Joined:
    Apr 21, 2005
    Posts:
    63
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    For us to help, you'll need to post a snippet of what your code looks like around line 11.
     
  13. Exe

    Exe Member

    Joined:
    Oct 31, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    I literally coped and pasted...:p
     
  14. sw1tchez

    sw1tchez Member

    Joined:
    Oct 6, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    I get that error too...
     
  15. Eluveitie

    Eluveitie Grand Master
    Banned

    Joined:
    Dec 15, 2008
    Posts:
    2,177
    Referrals:
    2
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    How do you make this works? Copy and paste into a notepad file?

    I have no idea lol.
     
  16. simtoon

    simtoon Active Member
    Banned

    Joined:
    Sep 29, 2007
    Posts:
    129
    Referrals:
    1
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    im counfused what do i add and what hosting are you using and how do i add it?
     
  17. i am wcutter

    i am wcutter Active Member

    Joined:
    Jan 24, 2009
    Posts:
    192
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    nice work?

    i no wat scripting u did


    good job
     
  18. Renegades009

    Renegades009 Forum Addict

    Joined:
    Feb 28, 2007
    Posts:
    274
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    Wow idiots have taken over the web design forum YEAAAAAA!!!!!! In order for this to work you have to have a web host that supports php and mysql you have to have a site. Most importantly you need google.com as I'm not typing up everything you need to do step by step.
     
  19. Skateboard

    Skateboard Forum Addict

    Joined:
    Jan 21, 2007
    Posts:
    393
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    If you have no idea what PHP or MYsql is then you should not be using this. Its simple stuff.
     
  20. Skateboard

    Skateboard Forum Addict

    Joined:
    Jan 21, 2007
    Posts:
    393
    Referrals:
    0
    Sythe Gold:
    0
    [PHP] Automated RuneScape account generator (35000 accounts/year)

    How is the txt file formated? tab, enter, space?
     
< Amazing Runescape Stat Changer! | [$1]Water filled vial buyer[Verified by SuF] >
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site