Results 1 to 5 of 5

Thread: Simba getPage SSL

  1. #1
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default Simba getPage SSL

    Trying to use getPage on a https URL, it's returning empty string.

    Did a search, and made sure to have the OpenSSL libeay32.dll and libssl32.dll in my Simba folder (tried Plugins folder too).

    Simba is installed through WINE.

    Any idea what's up, any more info I could provide, workaround/alternate method suggestions?
    Last edited by YoHoJo; 06-20-2017 at 04:44 AM.

  2. #2
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Three Characters

  3. #3
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    You can use socks for that, check Brandon's git
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

  4. #4
    Join Date
    Feb 2006
    Location
    Tracy/Davis, California
    Posts
    12,631
    Mentioned
    135 Post(s)
    Quoted
    418 Post(s)

    Default

    Quote Originally Posted by Joopi View Post
    You can use socks for that, check Brandon's git
    @Brandon is awesome, thanks for the suggestion.
    Getting an error when including the dll unfortunately.

  5. #5
    Join Date
    Sep 2014
    Location
    C:\Simba\
    Posts
    565
    Mentioned
    9 Post(s)
    Quoted
    71 Post(s)

    Default

    Yeah I remember having some issues, I think he just made some errors writing the example for them like inserting the string directly when requesting a variable.

    I don't know about include errors though.
    here's an example that works for me when using ProSocks v0.5 (not 0.6) on both my simba versions:

    Simba Code:
    program new;
    {$loadlib prosocks5}

    var
      MY_URL: String := 'https://villavu.com/forum/showthread.php?t=117623';

    function G(var url: String): String;
    var
        sock: SSLSocket;
        data: ProMemoryStruct;
    begin
        sock.Init();
        sock.setURL(url);
        sock.setSecurityPolicy(false, false, true);
        sock.setURLFollow(false);
        sock.doGet(data);

        SetLength(result, data.size);
        MemMove(data.memory^, result[1], data.size);

        sock.Free();
    end;

    begin
      writeLn(G(MY_URL));
    end.
    Feel free to ask me any questions, I will do my best to answer them!

    Previously known as YouPee.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •