Files
crm.twinpol.com/metagen.php
2025-05-12 15:44:39 +00:00

26 lines
771 B
PHP
Executable File

<?php
error_reporting(E_ERROR);
ini_set('display_errors',1);
// connect via SSL, but don't check cert
$handle=curl_init('https://system.saas-systems.pl:444');
curl_setopt($handle, CURLOPT_VERBOSE, true);
curl_setopt($handle, CURLOPT_RETURNTRANSFER, true);
curl_setopt($handle, CURLOPT_SSL_VERIFYPEER, false);
$headers = array();
$headers[] = "GET / HTTP/1.1\r\n";
$headers[] = 'Connection: Upgrade';
$headers[] = 'Upgrade: websocket';
$headers[] = 'Host: system.saas-systems.pl:444';
$headers[] = 'Origin: https://localhost:444';
$headers[] = "\x00" . 'asdasdasd' . "\xff";
$headers[] = 'Connection: Close';
$headers[]='asdasdas';
curl_setopt($handle, CURLOPT_HTTPHEADER, $headers);
$content = curl_exec($handle);
echo $content.'aaa'; // show target page
?>