Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default cPanel Email Acc maker

    Saw Dave wanted something to make accounts so I thought i'd code this up if he liked it or not looool. Customize it to your wants and needs.

    PHP Code:
    <?php

    /**
     * @author James Rozee
     * @desc cPanel acc maker
     */

    /* You need to edit the configurations below */
    $cPanelVersion 'x';    // eg :2082/frontend/x/ <-- version X skin for example.
    $cPanelLogin 'Name';    // Your cpanel login (username)
    $cPanelPassword 'Password';    // Your cpanel login (password)
    $cPanelDomain '92.48.100.21';    // your site or IP
    $emailDomain 'jamesrozee.com'// if you want to make more available, you'll have to customize.
    $emailQuota 10// in Meg

    /* Im using GET to get the information this can be changed etc. */
    if( $_GET'username' ] == '' || $_GET'password' ] == '' )
    {
        echo( 
    'Please go back and fill in all the details...' );    
    }
    elseif( 
    $_GET'username' ] != '' || $_GET'password' ] != '' )
    {
        
    $ch curl_init();
        
    curl_setopt($chCURLOPT_URL'http://' $cPanelDomain ':2082/frontend/' $cPanelVersion '/mail/doaddpop.html');
        
    curl_setopt($chCURLOPT_USERPWD$cPanelLogin ':' $cPanelPassword);
        
    curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse);
        
    curl_setopt($chCURLOPT_RETURNTRANSFER1);
        
    curl_setopt($chCURLOPT_POSTFIELDS'email=' $_GET'username' ] . '&domain=' $emailDomain '&password=' $_GET'password' ] . '&quota=' $emailQuota);
        
    $result curl_exec($ch);
        if( 
    preg_match'/exists/i'$result ) == true )
        {
            echo( 
    'Account taken' );
        } else {
            
    header'Location: wearedoneetc.html' );
        }
        
    curl_close($ch);
    }
    ?>
    Last edited by --ss--; 11-05-2008 at 12:29 PM.
    Hi, names James. I am a web developer.

  2. #2
    Join Date
    Dec 2006
    Location
    Swindon
    Posts
    3,299
    Tokens
    215
    Habbo
    dunko

    Latest Awards:

    Default

    Thanks for your cpanel info

  3. #3
    Join Date
    May 2008
    Location
    Newport
    Posts
    14
    Tokens
    0

    Default

    Lol, i loged onto ur cpanel a min ago
    Peace, Love, Skate

  4. #4
    Join Date
    Sep 2005
    Posts
    5,253
    Tokens
    3,625

    Latest Awards:

    Default

    sure there was a script posted on the forum before that did that, i don't plan on checking to see if this one works

    but +Rep for helping out the community

  5. #5
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    I blame my mum for that, shes been ******** me all day and I just posted it forgetting to remove it. At least you didn't **** with my **** lool

    http://www.habboxforum.com/search.php?searchid=2561940
    Last edited by Protege; 11-05-2008 at 12:26 PM.
    Hi, names James. I am a web developer.

  6. #6
    Join Date
    Aug 2005
    Location
    London
    Posts
    9,773
    Tokens
    146

    Latest Awards:

    Default

    I've removed your Cpanel name and Password for you .
    Also nice script , will come handy, a shame someone will end up leeching it ^^.

  7. #7
    Join Date
    Oct 2006
    Location
    BUXTON
    Posts
    2,191
    Tokens
    0

    Latest Awards:

    Default

    Don't work.

  8. #8
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    Thanks man lol, yea and likely

    @Jamie
    It does. You need to configure it to work for your cPanel my version is put down to X as I don't like the other versions lol

    My hostname isn't resolving properly today so you'd have to use my IP
    http://92.48.100.21/~jrozee/emailAccs.php?username=jew&password=god etc - Im limiting my accounts to 4 so you can't flood my account with emails.

    Edited by --ss-- (Forum Super Moderator): Accidental double post merged .
    Last edited by --ss--; 11-05-2008 at 12:44 PM.
    Hi, names James. I am a web developer.

  9. #9
    Join Date
    Oct 2006
    Location
    BUXTON
    Posts
    2,191
    Tokens
    0

    Latest Awards:

    Default

    http://208.84.150.179/~jamie/email.php
    dont work

    PHP Code:
    /* You need to edit the configurations below */
    $cPanelVersion 'X';    // eg :2082/frontend/x/ <-- version X skin for example.
    $cPanelLogin 'jamie';    // Your cpanel login (username)
    $cPanelPassword 'PASSWORD';    // Your cpanel login (password)
    $cPanelDomain '208.84.150.179';    // your site or IP
    $emailDomain 'jinglesboard.com'// if you want to make more available, you'll have to customize.
    $emailQuota 10// in Meg 

  10. #10
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    Hi, names James. I am a web developer.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •