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

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

Thread Status:
Not open for further replies.
[PHP] Automated RuneScape account generator (35000 accounts/year)
  1. Unread #1 - Nov 4, 2008 at 3:14 PM
  2. moederkoek
    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0

    moederkoek Member

    [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]
     
  3. Unread #2 - Nov 4, 2008 at 3:16 PM
  4. LittleBear
    Joined:
    Nov 3, 2008
    Posts:
    239
    Referrals:
    0
    Sythe Gold:
    0

    LittleBear Active Member
    Banned

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

    nice lol you could be rich
     
  5. Unread #3 - Nov 4, 2008 at 3:25 PM
  6. moederkoek
    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0

    moederkoek Member

    [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
     
  7. Unread #4 - Nov 5, 2008 at 3:32 PM
  8. .Void
    Referrals:
    0

    .Void Guest

    [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.
     
  9. Unread #5 - Nov 5, 2008 at 10:27 PM
  10. Dreadsthegreat
    Joined:
    Apr 19, 2006
    Posts:
    119
    Referrals:
    0
    Sythe Gold:
    4

    Dreadsthegreat Active Member

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

    best part of all that is :D you wont get ip banned lol
     
  11. Unread #6 - Nov 6, 2008 at 10:38 AM
  12. moederkoek
    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0

    moederkoek Member

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

    <deleted post>
     
  13. Unread #7 - Nov 9, 2008 at 6:11 PM
  14. lumentec_dark
    Joined:
    Nov 9, 2008
    Posts:
    52
    Referrals:
    0
    Sythe Gold:
    0

    lumentec_dark Member
    Banned

    [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.
     
  15. Unread #8 - Nov 14, 2008 at 4:50 PM
  16. moederkoek
    Joined:
    Jun 29, 2007
    Posts:
    49
    Referrals:
    0
    Sythe Gold:
    0

    moederkoek Member

    [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
     
  17. Unread #9 - Dec 1, 2008 at 9:23 PM
  18. AADude
    Joined:
    Apr 3, 2008
    Posts:
    43
    Referrals:
    0
    Sythe Gold:
    0

    AADude Member

    [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?
     
  19. Unread #10 - Dec 3, 2008 at 6:08 PM
  20. FartKnocker
    Joined:
    Sep 3, 2007
    Posts:
    285
    Referrals:
    0
    Sythe Gold:
    5

    FartKnocker Forum Addict

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

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

    edit;;

    Works like a charm.
     
  21. Unread #11 - Dec 27, 2008 at 6:09 PM
  22. Exe
    Joined:
    Oct 31, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0

    Exe Member

    [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
     
  23. Unread #12 - Dec 28, 2008 at 3:21 AM
  24. Zyloch
    Joined:
    Apr 21, 2005
    Posts:
    63
    Referrals:
    0
    Sythe Gold:
    0

    Zyloch Member

    [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.
     
  25. Unread #13 - Dec 28, 2008 at 12:50 PM
  26. Exe
    Joined:
    Oct 31, 2008
    Posts:
    46
    Referrals:
    0
    Sythe Gold:
    0

    Exe Member

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

    I literally coped and pasted...:p
     
  27. Unread #14 - Jan 16, 2009 at 10:32 PM
  28. sw1tchez
    Joined:
    Oct 6, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0

    sw1tchez Member

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

    I get that error too...
     
  29. Unread #15 - Jan 25, 2009 at 10:06 PM
  30. Eluveitie
    Joined:
    Dec 15, 2008
    Posts:
    2,177
    Referrals:
    2
    Sythe Gold:
    0

    Eluveitie Grand Master
    Banned

    [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.
     
  31. Unread #16 - Jan 26, 2009 at 5:49 PM
  32. simtoon
    Joined:
    Sep 29, 2007
    Posts:
    129
    Referrals:
    1
    Sythe Gold:
    0

    simtoon Active Member
    Banned

    [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?
     
  33. Unread #17 - Jan 26, 2009 at 11:55 PM
  34. i am wcutter
    Joined:
    Jan 24, 2009
    Posts:
    192
    Referrals:
    0
    Sythe Gold:
    0

    i am wcutter Active Member

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

    nice work?

    i no wat scripting u did


    good job
     
  35. Unread #18 - Apr 15, 2009 at 11:58 PM
  36. Renegades009
    Joined:
    Feb 28, 2007
    Posts:
    274
    Referrals:
    0
    Sythe Gold:
    0

    Renegades009 Forum Addict

    [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.
     
  37. Unread #19 - Apr 16, 2009 at 3:21 PM
  38. Skateboard
    Joined:
    Jan 21, 2007
    Posts:
    393
    Referrals:
    0
    Sythe Gold:
    0

    Skateboard Forum Addict

    [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.
     
  39. Unread #20 - Apr 16, 2009 at 3:26 PM
  40. Skateboard
    Joined:
    Jan 21, 2007
    Posts:
    393
    Referrals:
    0
    Sythe Gold:
    0

    Skateboard Forum Addict

    [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] >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site