Communauté Eggdrop
how to install tls in windrop? - Version imprimable

+- Communauté Eggdrop (https://forum.eggdrop.fr)
+-- Forum : Eggdrop et TCL (https://forum.eggdrop.fr/forumdisplay.php?fid=8)
+--- Forum : Eggdrop (https://forum.eggdrop.fr/forumdisplay.php?fid=3)
+--- Sujet : how to install tls in windrop? (/showthread.php?tid=1609)



how to install tls in windrop? - EvilHeart - 30/01/2016

anyone have idea how to install tls in windrop?


RE: how to install tls in windrop? - MenzAgitat - 31/01/2016

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.


RE: how to install tls in windrop? - heartbroken - 01/02/2016

hi...

tls167.dll for Cygwin/Windows : http://teapot.activestate.com/package/name/tls/ver/1.6.7/arch/win32-ix86/file.zip

Download this .zip file and extract all of'em , to ./Windrop/lib and restart the bot.


RE: how to install tls in windrop? - MenzAgitat - 01/02/2016

Thanks heartbroken, that's good to know !

I looked for such a dll some times ago and didn't find anything.


RE: how to install tls in windrop? - EvilHeart - 15/02/2016

heartbroken windrop lib have 2 folder tcl8 and tcl8.5 where paste tls167.dll?