1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

using HMA! with iMacros

Discussion in 'Black Hat SEO Tools' started by Ruriko, Jan 4, 2013.

  1. Ruriko

    Ruriko Power Member

    Joined:
    May 4, 2008
    Messages:
    505
    Likes Received:
    12
    Anyone know a way to make HMA Pro work with imacros?
     
  2. nycdude

    nycdude Jr. VIP Jr. VIP Premium Member

    Joined:
    Oct 1, 2009
    Messages:
    485
    Likes Received:
    557
    Location:
    Mazatlán
    What are you trying to do? I can't think how they could interact with each other.
     
  3. ultra.marine

    ultra.marine Registered Member

    Joined:
    Oct 5, 2012
    Messages:
    80
    Likes Received:
    101
    Location:
    Macedonia
    Yes it could be made, since the HMA has option for sending "-changeip" through command prompt, it can be done. Then a piece of code is needed [inside the imacro] to check whether is the old ip, original pc ip or the new ip obtained , if all that pass then go back to work. That's the pretty basic logic.

    Edit: I may be able to help you.
     
    Last edited: Jan 4, 2013
  4. soccerff22

    soccerff22 Newbie

    Joined:
    May 6, 2011
    Messages:
    12
    Likes Received:
    0
    a lot of HMA's IP addresses and blacklisted. You may want to take that into consideration.
     
  5. sathyavcs

    sathyavcs Regular Member

    Joined:
    Oct 7, 2012
    Messages:
    268
    Likes Received:
    558
    Location:
    India
    Wow this is great info, but if you can explain better that will be double great. Why because when ever I install HMA I can see something happening in command prompt but not sure how we manually change ip using CMD prompt
     
  6. entrecote

    entrecote Newbie

    Joined:
    Sep 6, 2010
    Messages:
    28
    Likes Received:
    4
    Q. Is HMA even an option anymore? I stopped using them a year ago because they were slow slow slow.

    Now using various proxy providers with way better performance.
     
  7. ultra.marine

    ultra.marine Registered Member

    Joined:
    Oct 5, 2012
    Messages:
    80
    Likes Received:
    101
    Location:
    Macedonia
    Well you should try entering the location of the hma, something like "Location of hma bin folder ->c:\prog\HMA\bin -changeip
    Well nothing should happen to the command prompt, you can m "saying changing ip address" by sending the above command in cmd [command prompt]
    I am sure there is some examples on the hma webpage/forums in case that doesn't help.
     
  8. Ruriko

    Ruriko Power Member

    Joined:
    May 4, 2008
    Messages:
    505
    Likes Received:
    12
    What I'm trying to do is auto change ip on each macro loop. Since imacros support vbscript I don't know how I would call HMA in vbscript to auto change ip
     
  9. ultra.marine

    ultra.marine Registered Member

    Joined:
    Oct 5, 2012
    Messages:
    80
    Likes Received:
    101
    Location:
    Macedonia
    Ok, try something like this

    Code:
    'This is vb.net but I am assuming it's nearly the same, function for sending change ip command
      Public Sub sendIpChangingCommand()
            Dim CMD As New Process
            Dim SW As System.IO.StreamWriter
            Dim SR As System.IO.StreamReader
            CMD.StartInfo.FileName = "cmd"
            CMD.StartInfo.UseShellExecute = False
            CMD.StartInfo.RedirectStandardInput = True
            CMD.StartInfo.RedirectStandardOutput = True
            CMD.StartInfo.CreateNoWindow = True
            CMD.Start()
            SW = CMD.StandardInput
            SR = CMD.StandardOutput
    
    
            SW.WriteLine("""" + "C:\Program Files (x86)\HMA! Pro VPN\bin" + """" + " -changeip")
            CMD.Dispose()
            SW.Dispose()
            Do Until SR.EndOfStream = True
                Application.DoEvents()
                Dim pom As String = SR.ReadLine
            Loop
            SR.Dispose()
        End Sub
    
    
     
  10. HatIsBlacked

    HatIsBlacked Regular Member

    Joined:
    Dec 30, 2010
    Messages:
    223
    Likes Received:
    57
    the problem is you wont get a callback when hma has changed the ip. you can only sleep for a period and hope that itmconnects in that period.
     
  11. ultra.marine

    ultra.marine Registered Member

    Joined:
    Oct 5, 2012
    Messages:
    80
    Likes Received:
    101
    Location:
    Macedonia
    Yeah that's why he has to check his original ip, current ip and keep them in memory. Then sleep for few seconds, and check if the ip match the original, match the old hma ip, or it's new hma ip. Depending what's the ip, do something, either wait more or continue the tasks or trigger new ip changing [if the waiting for change is too long]