├── .gitignore ├── README.md ├── ajax.php ├── config.php.simple ├── icon.png ├── index.php ├── logout.php ├── screenshots ├── Screenshot_1.png ├── Screenshot_2.png ├── Screenshot_3.png └── Screenshot_4.png └── terminal.php /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /.vscode 3 | config.php -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WoW Server Web Terminal 2 | 3 | Manage your World of Warcraft Server Console with Web. Support TrinityCore/Mangos/AzerothCore. 4 | 5 | Support : [AzerothCore](http://azerothcore.org) and [TrinityCore](http://TrinityCore.org). 6 | 7 | # Installation 8 | 9 | - Download project & unzip. 10 | - Change `config.php.sample` file name to `config.php` 11 | - Open config file and set your server data. 12 | - Enjoy that. 13 | 14 | ## Requirement : PHP >= 7.0 15 | 16 | ## Screenshots 17 | 18 | 19 | ![Login](https://raw.githubusercontent.com/masterking32/WoWServerWebTerminal/master/screenshots/Screenshot_1.png) 20 | ![Login With Recaptcha](https://raw.githubusercontent.com/masterking32/WoWServerWebTerminal/master/screenshots/Screenshot_4.png) 21 | ![Main](https://raw.githubusercontent.com/masterking32/WoWServerWebTerminal/master/screenshots/Screenshot_2.png) 22 | ![Command](https://raw.githubusercontent.com/masterking32/WoWServerWebTerminal/master/screenshots/Screenshot_3.png) 23 | 24 | ## Programmers 25 | 26 | Author : [Amin.MasterkinG](https://masterking32.com) 27 | 28 | -------------------------------------------------------------------------------- /ajax.php: -------------------------------------------------------------------------------- 1 | 'http://' . $soap_connection_info['soap_host'] . ':' . $soap_connection_info['soap_port'] . '/', 29 | 'uri' => $soap_connection_info['soap_uri'], 30 | 'style' => SOAP_RPC, 31 | 'login' => $soap_connection_info['soap_user'], 32 | 'password' => $soap_connection_info['soap_pass'] 33 | )); 34 | $result = $conn->executeCommand(new SoapParam($_POST['command'], 'command')); 35 | unset($conn); 36 | } catch (Exception $e) { 37 | if (!empty(Debug_Mode)) { 38 | $result = $e; 39 | } else { 40 | $result = 'Have error on soap!'; 41 | } 42 | if (strpos($e, 'There is no such command') !== false) { 43 | $result = 'There is no such command!'; 44 | } 45 | } 46 | $paragraphs = ''; 47 | foreach (explode("\n", $result) as $line) { 48 | if (trim($line)) { 49 | $paragraphs .= '

' . $line . '

'; 50 | } 51 | } 52 | 53 | echo $paragraphs; -------------------------------------------------------------------------------- /config.php.simple: -------------------------------------------------------------------------------- 1 | 'urn:TC', 18 | 'soap_host' => '127.0.0.1', 19 | 'soap_port' => '7878', 20 | 'soap_user' => 'admin', 21 | 'soap_pass' => 'password', 22 | ); 23 | 24 | $admin_username = 'admin'; 25 | $admin_password = '1234'; 26 | 27 | $enable_recaptcha = false; 28 | $recaptcha_key = 'https://google.com/recaptcha'; 29 | $recaptcha_secret = 'https://google.com/recaptcha'; 30 | 31 | if (!empty(Debug_Mode)) { 32 | @error_reporting(-1); 33 | @ini_set('display_errors', 1); 34 | } else { 35 | @ini_set('display_errors', 0); 36 | if (version_compare(PHP_VERSION, '5.3', '>=')) { 37 | @error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT & ~E_USER_NOTICE & ~E_USER_DEPRECATED); 38 | } else { 39 | @error_reporting(E_ALL & ~E_NOTICE & ~E_STRICT & ~E_USER_NOTICE); 40 | } 41 | } -------------------------------------------------------------------------------- /icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/masterking32/WoWServerWebTerminal/5989be3e94fa2199e7620eb6a0b55a0a0883e401/icon.png -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | 43 | 44 | 45 | 46 | 47 | 48 | Server Terminal Control 49 | 50 | 51 | 71 | 72 |
73 |

Login Panel

74 |
75 | 77 | 79 |
'; 82 | } 83 | ?> 84 | 86 | 87 |
88 | Designed by MasterkinG32.CoM 89 | 90 | 91 | -------------------------------------------------------------------------------- /logout.php: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 124 | 230 | 231 | 232 |
233 |
234 |

TrinityCore/Mangos/AzerothCore Management Terminal

235 |

Type 'commands' + Enter -- for available commands.

236 |

Type 'logout' or 'exit' + Enter -- logout from panel.

237 |
238 |
239 |
WorldServer:/$
240 |
241 | 242 | --------------------------------------------------------------------------------