Author Topic: Learning to program internet connections  (Read 14142 times)

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Learning to program internet connections
« Reply #20 on: March 07, 2016, 08:25:52 AM »
Classilla and MacSSH are open source and contain code for secure connections.
This can be used to write an SSL stream reader and writer.
I found several versions of REALbasic 2007 and 2008 for OSX on a Polish site.
I think that they all can run on OSX 10.4.
Hopefully I find a good password in a serial box.
Then I have several options.

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Learning to program internet connections
« Reply #21 on: March 07, 2016, 08:30:04 AM »
My idea was to use SSL stripping where possible, or else man-in-the-middle (when the URL is built by a script).
So the proxy would replace "https://abc.com/x" with "http://s.abc.com/x" in the HTML.
If the proxy receives a request for "http://s.abc.com/x" then it makes a secure connection to "https://abc.com/x".
If the proxy receives a request for "https://abc.com/x" then it does man-in-the-middle.
What do you think of it?

Offline nanopico

  • Platinum Member
  • *****
  • Posts: 767
Re: Learning to program internet connections
« Reply #22 on: March 07, 2016, 11:03:31 AM »
That sounds like how a proxy server should generally work.
Sound like it should work.
If it ain't broke, don't fix it, or break it so you can fix it!

Offline OS923

  • Platinum Member
  • *****
  • Posts: 888
Re: Learning to program internet connections
« Reply #23 on: March 09, 2016, 05:49:08 AM »
Which is the first version with full SSL support?
From the manual:
Quote
Beginning with version 2006 Release 4, SSLSocket supports secure listening sockets.