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

imacros help

Discussion in 'Black Hat SEO' started by chaitu9916, Jun 22, 2010.

  1. chaitu9916

    chaitu9916 Registered Member

    Joined:
    Jun 21, 2010
    Messages:
    56
    Likes Received:
    1
    hello everyone ....
    i need some help with coding part in imacros
    i hav learnt coding imacros from basics in this site .......

    i am confused of how retrieving data from exeternal text files works and fills the corresponding columns
    SET !DATASOURCE C:\t1.txt
    SET !DATASOURCE_COLUMNS 1
    SET !LOOP 2
    SET !DATASOURCE_LINE {{!LOOP}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:first_name CONTENT={{!COL1}}

    dats d code normally i use to fetching data from text file and filing it in form ,as u can see above its frst name

    the problem im facing is
    wen i have multiple fields like frst name ,last name email id and i need to source data from multiple text files(each file corresponds to each field)
    the imacros is fetching it randomly rather than one by one

    lets say i want to create 100 accounts in xxxxxx.com
    wat im trying here to achieve is :
    1)go to gmail
    2)login
    3)again in here fetch username and password from 2 lists
    3)open d first mail
    4)click on the "click on this" (its an invite sent by xxxx.com)
    5)move to the newly opened tab
    6)fill in form by geting data from various text files(frst name,last name etc)
    7)prompt for typing in the captcha
    8)submit


    diz is wat im planning to achieve starting from 100 acounts and if succesful move onto large scale creation
    am prepared to type in captcha since i cant afford 40$ bypasscaptcha

    here s the code i kinda tried

    VERSION BUILD=6240709 RECORDER=FX
    TAB T=1
    URL GOTO=https://www.google.com/accounts
    SET !DATASOURCE C:\guser.txt
    SET !DATASOURCE_COLUMNS 1
    SET !LOOP 2
    SET !DATASOURCE_LINE {{!LOOP}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:username CONTENT={{!COL1}}

    SET !DATASOURCE C:\gpassword.txt
    SET !DATASOURCE_COLUMNS 1
    SET !LOOP 2
    SET !DATASOURCE_LINE {{!LOOP}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:password CONTENT={{!COL1}}



    URL GOTO=https://mail.google.com/mail/h
    i still have figure out how auto open mail and click on the invitation link

    TAB=2
    SET !DATASOURCE C:\t1.txt
    SET !DATASOURCE_COLUMNS 1
    SET !LOOP 2
    SET !DATASOURCE_LINE {{!LOOP}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:first_name CONTENT={{!COL1}}

    SET !DATASOURCE C:\t2.txt
    SET !DATASOURCE_COLUMNS 1
    SET !LOOP 2
    SET !DATASOURCE_LINE {{!LOOP}}
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:last_name CONTENT={{!COL1}}



    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:country_code CONTENT=%IN
    TAG POS=1 TYPE=LABEL ATTR=TXT:Zip/Postal<SP>Code:
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:postal_code CONTENT=50001
    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:time_zone CONTENT=%19800
    TAG POS=1 TYPE=INPUT:RADIO FORM=NAME:NoFormName ATTR=ID:gender_m
    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:birth_date_month CONTENT=%4
    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:birth_date_day CONTENT=%19
    TAG POS=1 TYPE=SELECT FORM=NAME:NoFormName ATTR=ID:birth_date_year CONTENT=%1980
    SET !ENCRYPTION NO
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=NAME:NoFormName ATTR=ID:password CONTENT=123456
    SET !ENCRYPTION NO
    TAG POS=1 TYPE=INPUT:pASSWORD FORM=NAME:NoFormName ATTR=ID:password_confirm CONTENT=123456
    TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:NoFormName ATTR=ID:phone_number CONTENT=43545435
    PROMPT Please<SP>enter<SP>the<SP>captcha !VAR1
    TAG POS=1 TYPE=INPUT:TEXT ATTR=NAME:recaptcha_response_field CONTENT={{!VAR1}}
    TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:NoFormName ATTR=NAME:submit&&VALUE:Submit
    TAG POS=1 TYPE=IMG ATTR=ID:check-in-banner
    TAG POS=1 TYPE=A ATTR=TXT:Sign<SP>Out


    I JUS LOOP d whole thing for number of account i can make

    is the code correct for retriving data from files........password and username should match dats important right

    and also if anyones got any list of names wich i can use as first name and last name it would be great (jus to cover d fact that they are illegal)

    i tried my best to explain ...any help would really help me
    thank you
     
    Last edited: Jun 22, 2010