Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.2
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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
/
var /
www /
html /
sms-core-ui-code /
app /
utils /
[ HOME SHELL ]
Name
Size
Permission
Action
history.ts
112
B
-rwxrwxr-x
loadable.tsx
489
B
-rwxrwxr-x
redux-injectors.tsx
463
B
-rwxrwxr-x
request.ts
1.42
KB
-rwxrwxr-x
role-check.tsx
240
B
-rwxrwxr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : request.ts
export class ResponseError extends Error { public response: Response; constructor(response: Response) { super(response.statusText); this.response = response; } } /** * Parses the JSON returned by a network request * * @param {object} response A response from a network request * * @return {object} The parsed JSON from the request */ function parseJSON(response: Response) { if (response.status === 204 || response.status === 205) { return null; } return response.json(); } /** * Checks if a network request came back fine, and throws an error if not * * @param {object} response A response from a network request * * @return {object|undefined} Returns either the response, or throws an error */ function checkStatus(response: Response) { if (response.status >= 200 && response.status < 300) { return response; } const error = new ResponseError(response); error.response = response; throw error; } /** * Requests a URL, returning a promise * * @param {string} url The URL we want to request * @param {object} [options] The options we want to pass to "fetch" * * @return {object} The response data */ export default async function request( url: string, options?: RequestInit, ): Promise<{} | { err: ResponseError }> { const fetchResponse = await fetch(url, options); const response = await checkStatus(fetchResponse); return parseJSON(response); }
Close