webshell
Ghost Exploiter Team Official
Mass Deface
Directory >>
/
home
/
whitjouh
/
public_html
/
core
/
vendor
/
hamcrest
/
hamcrest-php
/
tests
/
Hamcrest
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
+New File
Array
--
ren
Collection
--
ren
Core
--
ren
Number
--
ren
Text
--
ren
Type
--
ren
Xml
--
ren
AbstractMatcherTest.php
1.874KB
edt
ren
BaseMatcherTest.php
0.522KB
edt
ren
FeatureMatcherTest.php
1.622KB
edt
ren
InvokedMatcherTest.php
0.597KB
edt
ren
MatcherAssertTest.php
7.185KB
edt
ren
StringDescriptionTest.php
5.334KB
edt
ren
UtilTest.php
2.568KB
edt
ren
<?php namespace Hamcrest; use PHPUnit\Framework\TestCase; class SampleInvokeMatcher extends BaseMatcherTest { private $matchAgainst; public function __construct($matchAgainst) { $this->matchAgainst = $matchAgainst; } public function matches($item) { return $item == $this->matchAgainst; } } class InvokedMatcherTest extends TestCase { public function testInvokedMatchersCallMatches() { $sampleMatcher = new SampleInvokeMatcher('foo'); $this->assertTrue($sampleMatcher('foo')); $this->assertFalse($sampleMatcher('bar')); } }