Simple Trick Using Proxy List on iMacros for Firefox
Simple Trick Using Proxy List on iMacros for Firefox
So, I made any "bot(s)" with this trick.
Reqruitments:
- Mozilla Firefox
- iMacros for Firefox Addon
- Proxy Tool Addon
The simple trick is just add this code on every end of iMacros code:
And make sure, check "Rotate Proxy on every new window/tab" in Proxy Tool Addon under Settings. This code will automatically Open and Close the Tab and in one time will Rotate Proxy. How it works? Follow this steps:Code:TAB OPEN TAB T=2 TAB CLOSE TAB T=1
For example 1: Twitter Signup
1. Create file called TwitterSIgnup.iim and put on Macros folder following this code:
2. Create file called "twsignup.csv" and put in Datasources folder following this code:Code:VERSION BUILD=7110203 RECORDER=FX TAB T=1 CMDLINE !DATASOURCE twsignup.csv SET !DATASOURCE_COLUMNS 4 SET !DATASOURCE_LINE {{!LOOP}} SET !ERRORIGNORE YES URL GOTO=https://mobile.twitter.com/signup TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/signup ATTR=ID:oauth_signup_client_fullname CONTENT={{!COL1}} TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/signup ATTR=ID:oauth_signup_client_screen_name CONTENT={{!COL2}} TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/signup ATTR=ID:oauth_signup_client_email CONTENT={{!COL3}} SET !ENCRYPTION NO TAG POS=1 TYPE=INPUT:PASSWORD FORM=ACTION:/signup ATTR=ID:oauth_signup_client_password CONTENT={{!COL4}} TAG POS=1 TYPE=INPUT:TEXT FORM=ACTION:/signup ATTR=ID:captcha_response_field WAIT SECONDS=20 TAG POS=1 TYPE=INPUT:SUBMIT FORM=ACTION:/signup ATTR=VALUE:Create<SP>my<SP>account CLEAR TAB OPEN TAB T=2 TAB CLOSE TAB T=1
3. Add your proxies in Proxy Tool (max 100 proxies for each HTTP, Socks 4 or Socks 5). For example, add 10 live proxies in HTTP.Code:FullName1,username1,email1,password1 FullName2,username2,email2,password2 FullName3,username3,email3,password3 .................................................... FullName10,username10,email10,password10
4. Check "Rotate Proxy on every new window/tab" in Proxy Tool Addon under Settings.
5. Then fill 10 above "Play (Loop)" under "Max" then click "Play (Loop)"
6. Done. Don't forget to fill every chaptcha.
For example 2: Youtube Views
1. Create file YTviews.iim or something following this code, then put in Macros folder.
Code:VERSION BUILD=7110203 RECORDER=FX TAB T=1 SET !ERRORIGNORE YES TAB OPEN TAB T=2 TAB CLOSE TAB T=1 URL GOTO=http://www.youtube.com/blablabla.. CLEAR REFRESH
2. Add your proxies in Proxy Tool (max 100 proxies for each HTTP, Socks 4 or Socks 5). For example, add 100 live proxies in HTTP.
3. Check "Rotate Proxy on every new window/tab" in Proxy Tool Addon under Settings.
4. In Proxy Tool, with right click "Referrer" then choose Rotate. Right click again, click "User Agent" and choose Randomize All.
5. Then fill 100 or more above "Play (Loop)" under "Max" then click "Play (Loop)"
6. Done.
Your Mozilla Firefox now like a bot
This is a sample macro on how to set the http proxies in iMacros for Firefox (Proxies are called from a proxy list file named proxylist.csv)
VERSION BUILD=6240709 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !DATASOURCE proxylist.csv
SET !DATASOURCE_COLUMNS 2
'Increase the current position in the file with each loop
SET !DATASOURCE_LINE {{!LOOP}
'clear cookies and cache:
CLEAR
URL GOTO=about:config
'some proxies are slow, set the timeout to 90 seconds:
URL GOTO=javascript:gPrefBranch.setIntPref("network.http.keep-alive.timeout",900);
URL GOTO=about:config
'set the proxy URL
URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{!COL1}}";prefb.setComplexValue("network.proxy.http",<SP>Components.interfaces.nsISupportsString,<SP>str);
URL GOTO=about:config
'set the proxy port:
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.http_port",{{!COL2}});
URL GOTO=about:config
'turn the proxy on
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.type",1)
TAB T=1
SET !ERRORIGNORE YES
SET !DATASOURCE proxylist.csv
SET !DATASOURCE_COLUMNS 2
'Increase the current position in the file with each loop
SET !DATASOURCE_LINE {{!LOOP}
'clear cookies and cache:
CLEAR
URL GOTO=about:config
'some proxies are slow, set the timeout to 90 seconds:
URL GOTO=javascript:gPrefBranch.setIntPref("network.http.keep-alive.timeout",900);
URL GOTO=about:config
'set the proxy URL
URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{!COL1}}";prefb.setComplexValue("network.proxy.http",<SP>Components.interfaces.nsISupportsString,<SP>str);
URL GOTO=about:config
'set the proxy port:
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.http_port",{{!COL2}});
URL GOTO=about:config
'turn the proxy on
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.type",1)
This is a sample macro on how to set the socks proxies in iMacros for Firefox (Proxies are called from a proxy list file named proxylist-socks.csv)
VERSION BUILD=6240709 RECORDER=FX
TAB T=1
SET !ERRORIGNORE YES
SET !DATASOURCE proxylist-socks.csv
SET !DATASOURCE_COLUMNS 2
'Increase the current position in the file with each loop
SET !DATASOURCE_LINE {{!LOOP}
'clear cookies and cache:
CLEAR
URL GOTO=about:config
'some proxies are slow, set the timeout to 90 seconds:
URL GOTO=javascript:gPrefBranch.setIntPref("network.http.keep-alive.timeout",900);
URL GOTO=about:config
'set the proxy URL
URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{!COL1}}";prefb.setComplexValue("network.proxy.socks",<SP>Components.interfaces.nsISupportsString,<SP>str);
URL GOTO=about:config
'set the proxy port:
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.socks_port",{{!COL2}});
URL GOTO=about:config
'turn the proxy on
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.type",1)
TAB T=1
SET !ERRORIGNORE YES
SET !DATASOURCE proxylist-socks.csv
SET !DATASOURCE_COLUMNS 2
'Increase the current position in the file with each loop
SET !DATASOURCE_LINE {{!LOOP}
'clear cookies and cache:
CLEAR
URL GOTO=about:config
'some proxies are slow, set the timeout to 90 seconds:
URL GOTO=javascript:gPrefBranch.setIntPref("network.http.keep-alive.timeout",900);
URL GOTO=about:config
'set the proxy URL
URL GOTO=javascript:var<SP>prefb<SP>=<SP>Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefBranch);var<SP>str<SP>=<SP>Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);str.data<SP>=<SP>"{{!COL1}}";prefb.setComplexValue("network.proxy.socks",<SP>Components.interfaces.nsISupportsString,<SP>str);
URL GOTO=about:config
'set the proxy port:
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.socks_port",{{!COL2}});
URL GOTO=about:config
'turn the proxy on
URL GOTO=javascript:gPrefBranch.setIntPref("network.proxy.type",1)
posted on 2012-12-14 14:45 Richard.FreeBSD 阅读(4742) 评论(0) 编辑 收藏 举报