PATH:
home
/
letacommog
/
letaweb
/
admin
/
classes
/
hosting
/
httpsocket
/
examples
<?php include 'httpsocket.php'; $sock = new HTTPSocket(); $sock->connect('yoursite.com', 2222); $sock->set_login('admin|{username}', '{admin_password}'); $sock->set_method('POST'); $sock->query('/CMD_DOMAIN', array( 'action' => 'create', 'domain' => '{new_domain}', 'ubandwidth' => 'unlimited', 'uquota' => 'unlimited', 'ssl' => 'ON', 'cgi' => 'ON', 'php' => 'ON', 'create' => 'Create', )); $result = $sock->fetch_body(); echo $result;
[+]
..
[-] example.show_user.php
[edit]
[-] example.add_subdomain.php
[edit]
[-] example.show_all_users.php
[edit]
[-] example.add_login_key.php
[edit]
[-] example.account_list_csv.php
[edit]
[-] example.add_domain.php
[edit]
[-] example.change_pass.php
[edit]
[-] example.add_database.php
[edit]
[-] example.suspend_user.php
[edit]
[-] example.unsubscribe.php
[edit]