how to install tls in windrop?
#1
anyone have idea how to install tls in windrop?
Répondre Avertir
#2
I don't think it's possible.
A workaround would be to use a web hosting and put a little php script on it, that would fetch the https webpage and send it back to your Eggdrop in http.

Some examples :
Code :
<?php
foreach($_GET as $k => $v) {
 if (!isset($param))
   $param = '?'.$k.'='.$v;
 else
   $param .= '&'.$k.'='.$v;
}
function get_youtube_content($url)
{
   if(!function_exists('curl_init'))
   {
       die('CURL is not installed!');
   }
   $ch = curl_init();
   curl_setopt($ch, CURLOPT_URL, $url);
   curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
   $output = curl_exec($ch);
   $http_status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
   curl_close($ch);
   return ($http_status == '403') ? false : $output;
}
echo get_youtube_content('https://www.googleapis.com/youtube/v3/videos'.$param);
?>

Code :
<?php

foreach($_GET as $k => $v) {
 if (!isset($param))
   $param = '?'.$k.'='.$v;
 else
   $param .= '&'.$k.'='.$v;
}

echo file_get_contents('https://en.wikipedia.org/w/index.php'.$param);

?>

Your Eggdrop will just have to send the request to the php script and will get unencrypted http.
Répondre Avertir
#3
hi...

tls167.dll for Cygwin/Windows : http://teapot.activestate.com/package/na...6/file.zip

Download this .zip file and extract all of'em , to ./Windrop/lib and restart the bot.
Répondre Avertir
#4
Thanks heartbroken, that's good to know !

I looked for such a dll some times ago and didn't find anything.
Répondre Avertir
#5
heartbroken windrop lib have 2 folder tcl8 and tcl8.5 where paste tls167.dll?
Répondre Avertir


Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté