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

Imacros proxy loop

Discussion in 'General Scripting Chat' started by carlfisher, Aug 9, 2012.

  1. carlfisher

    carlfisher Registered Member

    Joined:
    Aug 7, 2012
    Messages:
    92
    Likes Received:
    32
    Ive searched the forum and I haven't found a helpful way to do this, there any many different suggestions from users and many saying they dont work.
    I am basically wanting to loop my imacro to create accounts on the same page from a data csv file which I've done and it works. The only problem is the proxy is not changing from my proxy.csv , I dont know if its my coding or the proxy.csv Here is my code, if anyone can repair it that would be great :)

    VERSION BUILD=7500718 RECORDER=FX
    TAB T=1
    SET !DATASOURCE C:\proxy.csv
    SET !DATASOURCE_COLUMNS 1
    SET !DATASOURCE_LINE {{!LOOP}}
    PROXY ADDRESS={{!COL1}}
    SET !DATASOURCE signup.csv
    SET !DATASOURCE_COLUMNS 3
    SET !DATASOURCE_LINE {{!LOOP}}
    SET !ERRORIGNORE YES
    URL GOTO=Website here
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=A ATTR=ID:signup-link
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:Website here/signup ATTR=ID:user_email CONTENT={{!COL1}}
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=ACTION:Website here/signup ATTR=ID:user_password CONTENT={{!COL2}}
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=ACTION:Website here/signup ATTR=ID:user_password_confirmation CONTENT={{!COL3}}
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:Website here/signup ATTR=ID:user_terms_of_use CONTENT=YES
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:signup-form ATTR=ID:user-submit
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=A ATTR=TXT:Log<SP>out
    WAIT SECONDS=1.5
    CLEAR
     
  2. kvmcable

    kvmcable Supreme Member

    Joined:
    Dec 28, 2010
    Messages:
    1,355
    Likes Received:
    2,815
    Occupation:
    24 year business owner - old school dude
    Location:
    KFC - BW3
    Second loop runs ignoring first loop is the reason it's not looping proxies. Add a column in signup.csv for proxies and remove first loop. Set proxy from signup.csv.

    Investigate textpipe pro if you want to assign multiple text files to a csv for your bot.
     
    • Thanks Thanks x 1
  3. carlfisher

    carlfisher Registered Member

    Joined:
    Aug 7, 2012
    Messages:
    92
    Likes Received:
    32
    Thanks for the quick reply, so my code should look like this...?

    VERSION BUILD=7500718 RECORDER=FX
    TAB T=1
    SET !DATASOURCE signup.csv
    SET !DATASOURCE_COLUMNS 4
    SET !DATASOURCE_LINE {{!LOOP}}
    SET !ERRORIGNORE YES
    PROXY ADDRESS={{!COL4}}
    URL GOTO=Website here
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=A ATTR=ID:signup-link
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:Website here/signup ATTR=ID:user_email CONTENT={{!COL1}}
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=ACTION:Website here/signup ATTR=ID:user_password CONTENT={{!COL2}}
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=ACTION:Website here/signup ATTR=ID:user_password_confirmation CONTENT={{!COL3}}
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:CHECKBOX FORM=ACTION:Website here/signup ATTR=ID:user_terms_of_use CONTENT=YES
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:signup-form ATTR=ID:user-submit
    WAIT SECONDS=1.5
    TAG POS=1 TYPE=A ATTR=TXT:Log<SP>out
    WAIT SECONDS=1.5
    CLEAR
     
  4. kvmcable

    kvmcable Supreme Member

    Joined:
    Dec 28, 2010
    Messages:
    1,355
    Likes Received:
    2,815
    Occupation:
    24 year business owner - old school dude
    Location:
    KFC - BW3
    Looks much better. You can do nested loops with iMacros but you have to use VB or another language to loop the iim files. If you want to run a single iim file in FF or iMacros browser you're limited to one loop.
     
    • Thanks Thanks x 1
  5. carlfisher

    carlfisher Registered Member

    Joined:
    Aug 7, 2012
    Messages:
    92
    Likes Received:
    32
    I'll stick to this if it does the job. One more question if you can help. Am i better to buy some high annonymous proxies to do this? I have been using proxy switcher to get proxies and when testing it them out on whatismyip sites it gives my own proxy then an additional proxy which is the one from the csv. How can I make it only detect the proxy from the csv? Thanks alot for your help :)
     
  6. kvmcable

    kvmcable Supreme Member

    Joined:
    Dec 28, 2010
    Messages:
    1,355
    Likes Received:
    2,815
    Occupation:
    24 year business owner - old school dude
    Location:
    KFC - BW3
    Private proxies are best. Sounds like your proxies are transparent or send the proxy header. For account creation that's not good.

    Your next hurdle if you purchase or create private proxies is the user:password authentication. Although iMacros has a tag for this, I've never had it work consistently. My method around this is to download the proxy authentication plugin for Firefox. Enter your username and password for your private proxies and you'll never see the pop-up box again. Of course this assumes all your private proxies have the same user:password combination.

    Good luck but if your proxies are leaking your real IP you need to solve that.
     
  7. carlfisher

    carlfisher Registered Member

    Joined:
    Aug 7, 2012
    Messages:
    92
    Likes Received:
    32
    Proxies are very expensive, especially when Im talking 500-1000 accounts. I have something run from my desktop like a bot it would hide my proxy. I tried tor browser and that worked but even when using that proxy macro on it, it still asks for captcha after 3 accounts created because its finding the same ip from tor browser. Any suggestions or is it private proxies final solution? Thanks ;)