Forum

Wmsauth don't found

sergio 2015-12-01 00:10:16 UTC in WMSPanel functionality

Hi,
When I put a password on the panel the key generated don't allow reproduce my m3u8 with his wmsauth, but when I don't put any password the m3u8+wmsauth found!

How can I fix it? The code php
<?php

$today = gmdate("n/j/Y g:i:s A");
$initial_url = "http://188.166.68.203:8081/tugoleada/tugoleada/playlist.m3u8";
//Part of the stream name which is being use in signature
$signed_stream = "tugoleada/tugoleada";
$ip = $_SERVER['188.166.68.203'];
$key = "lol";
$validminutes = 5;
$str2hash = $ip . $key . $today . $validminutes . $signed_stream;
$md5raw = md5($str2hash, true);
$base64hash = base64_encode($md5raw);
$urlsignature = "server_time=" . $today ."&hash_value=" . $base64hash. "&validminutes=$validminutes" . "&strm_len=" . strlen($signed_stream);
$base64urlsignature = base64_encode($urlsignature);

 echo $base64urlsignature;
?>
(now the server is off)
Regards and sorry for my english,

Alex Pokotilo 2015-12-01 00:56:00 UTC 

please start your server and email help@wmspanel.com describing your problem. This analysis may require some sensitive information exchange.

Post a reply


Post a new question

Categories:

This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.