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', '{admin_password}'); $sock->query('/CMD_SELECT_USERS', array( 'location' => 'CMD_SELECT_USERS', 'suspend' => 'Suspend', // note - this can also be 'Unsuspend' 'select0' => '{user}', )); $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]