BoxBilling custom licence server

Ciaossu,

REMEMBER IF YOU SUPPORT THEM AND HAVE THE MONEY, BUY THE REAL THING!

Because they using ionCube and a license on a remote server i just had to hack it (mainly because of there encrypted php files)

So here you go a mini tutorial for setting up a custom BoxBilling license server

Needed materials

  1. A server for installing BoxBilling
  2. Access to iptables
  3. Another webserver be it a vhost on this server or we(you) could create a general all purpose custom remote license server

Set up iptables:
This will redirect http://www.boxbilling.com/api/guest/servicelicense/check, http://api.boxbilling.com/license.php, http://api.boxbilling.com/license-valid.php, http://api.fordnox.com/license-valid.php to our internal IP 127.0.0.10

iptables -t nat -A OUTPUT -p tcp -d 212.1.209.3 –dport 80 -j DNAT –to-destination 127.0.0.10
iptables -t nat -A OUTPUT -p tcp -d 79.98.24.9 –dport 80 -j DNAT –to-destination 127.0.0.10

Create a vhost:
It will need to listen on ip 127.0.0.10 and forward all and any request to a specefic php file. I have done this for apache. Download this file!

<VirtualHost 127.0.0.10:80>
DocumentRoot /var/www/boxbilling
ServerName http://www.boxbilling.com
SecRuleEngine Off
RewriteEngine On
RewriteCond %{REQUEST_URI} !=/license.php
RewriteRule ^(.*)$ /license.php [L]
<Directory /var/www/boxbilling>
Order deny,allow
Allow from all
</Directory>
</VirtualHost>

Create the license.php file:
Now we just need to give boxbilling the right info, I wiped up this simple php script. Download this file!

<?
$license = array(
‘result’ => array(
‘licensed_to’ => ‘Intline9’,
‘created_at’ => ‘2011-01-06T11:07:01+00:00’,
‘expires_at’ => ”,
‘valid’ => true,
‘error’ => NULL,
‘error_code’ => NULL
),
‘error’ => NULL
);
echo json_encode($license);
?>

Change BoxBilling serial:
Now we just need to get our pro enabled this we can do by using a PRO-BLA serial in bb-config.php.

define(‘BB_LICENSE’, ‘PRO-INTLINE9’);

The end!

~Intline9

Advertisements

Tags: , , , ,

14 Responses to “BoxBilling custom licence server”

  1. Akira Akiyama Says:

    Regarding the vhost, what should I set if I am using DirectAdmin?

  2. sonuyosyos Says:

    Will it give me full access? and can u giv some more details? i have CPANEL with no root access but the admin is my friend…he can help me with it…i cant understand where to use that vhost file and where to keep the license.php pls help

  3. david Says:

    not working. i am using zpanel so i try to do it and not working any more

  4. David Says:

    I can hack boxbiling easy. Contact me datyokimphg@gmail.com
    See video: http://www.youtube.com/watch?v=jdtXvO1XASg

  5. krunox123 Says:

    Can I have video tutorial? Please 🙂

  6. krunox123 Says:

    -_- anyone?

  7. Anees Iqbal Says:

    You method is not working anymore

  8. BoxBilling easy | D Y K P Says:

    […] https://intline9.wordpress.com/2012/08/12/boxbilling-custom-licenceserver/ […]

  9. datyokimphg Says:

    Another way to hack boxbilling:
    http://dykp.wordpress.com/

  10. Nathan Says:

    Umm, I don’t really get this. Any chance you can make any kind of tutorial or more detailed text?

  11. zaba Says:

    iptables -t nat -A OUTPUT -p tcp -d 212.1.209.3 –dport 80 -j DNAT –to-destination 127.0.0.10

    iptables -t nat -A OUTPUT -p tcp -d 79.98.24.9 –dport 80 -j DNAT –to-destination 127.0.0.10

    valid entries iptable acting!

  12. Sam Says:

    I do not have a private server, i am using a shared hosting account with only cPanel access. How can i acheieve this?

  13. Rick Roy Says:

    I tried to implement this and found that the IP table commands need to change to

    iptables -t nat -A OUTPUT -p tcp -d 212.1.209.3 –dport 80 -j DNAT –to-destination 127.0.0.10
    iptables -t nat -A OUTPUT -p tcp -d 79.98.24.9 –dport 80 -j DNAT –to-destination 127.0.0.10

  14. Rz Says:

    in iptables v1.3.5: multiple -d flags not allowed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: