Jump to content

Proxies wont work


Recommended Posts

#include <String.au3>
#include <Array.au3>
#include <File.au3>

Local $usr = Null
Local $pass = Null
Local $aProxy = Null
Local $proxies = "ssl.txt"
Local $PING = Null
Local $emails = "email.txt" ;sets file path
Local $pwd = "pwd.txt" ;sets file path

_FileReadToArray($emails, $usr)
_FileReadToArray($pwd, $pass)
_FileReadToArray($proxies, $aProxy)

For $i = 1 To UBound($aProxy) - 1
    $PING = Ping($aProxy[$i], 1000)
    If $PING <> 0 Then
        $oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
        For $e = 1 To UBound($usr) - 1
            For $b = 1 To UBound($pass) - 1
                $oHTTP.Open("POST", "https://www..com/?username=" & $usr[$e] & '&password=' & $pass[$b], False) ; Post urlt
                $oHTTP.SetProxy($aProxy[$i])

So this is some of my code, I launch the program and it runs and shortly closes afterwards.
I can get it to work without proxies but it is as if it doesn't work when I use proxies.
Do you have any idea why this code does not work?
Thanks in advance.

Link to comment
Share on other sites

  • Developers

@RyukShini,

What is the purpose of this script as it seems you are trying to login with multiple userids/Passwords and now which to hide your source IP address?

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

6 hours ago, Jos said:

@RyukShini,

What is the purpose of this script as it seems you are trying to login with multiple userids/Passwords and now which to hide your source IP address?

Jos

Yea I am simple making a script that tries multiple combinations for testing on my website.
This is strictly for educational purposes.

Link to comment
Share on other sites

  • Moderators

@RyukShini please explain how this request is any different from the one I locked here:

 

 

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

  • Jos locked this topic
Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...