Bot-Factory 602 Posted March 1, 2015 Report Share Posted March 1, 2015 fixed this bug http://bugs.ubot-plugins.com/view.php?id=22and couple of other commands/functions with similar errorsThanks Aymen, did you have time to look into the cookie errors I sent you? Dan Quote Link to post Share on other sites
Sodaubotguru 0 Posted March 1, 2015 Report Share Posted March 1, 2015 clear list(%abvde)clear list(%b)set(#abc,$next list item(%abvde),"Global")set(#abc,"searchType=4&value={#abc}¤tPage=&sort=","Global")plugin command("HTTP post.dll", "http set encoding", "UTF8")plugin command("HTTP post.dll", "http cookiecontainer mode", "Basic")plugin command("HTTP post.dll", "http cookies string", "xxxxxxx")load html($plugin function("HTTP post.dll", "$http post", "http://xxx", #abc, $plugin function("HTTP post.dll", "$http useragent string", "Chrome 32.0 Win7 64-bit"), "http://xxx", "", "")) can't use parameter via http post.dll it should be fixed but when i use set(#abc,"a","Global")it is working fine with static command Quote Link to post Share on other sites
Bot-Factory 602 Posted March 1, 2015 Report Share Posted March 1, 2015 Can you please post the complete parameter string that is not sent correctly? Quote Link to post Share on other sites
Aymen 385 Posted March 3, 2015 Author Report Share Posted March 3, 2015 Thanks Aymen, did you have time to look into the cookie errors I sent you? Dan Sorry can't seem to have it reproduced with other sites yet , still tracking down few things related to cookies handling! clear list(%abvde)clear list(%b)set(#abc,$next list item(%abvde),"Global")set(#abc,"searchType=4&value={#abc}¤tPage=&sort=","Global")plugin command("HTTP post.dll", "http set encoding", "UTF8")plugin command("HTTP post.dll", "http cookiecontainer mode", "Basic")plugin command("HTTP post.dll", "http cookies string", "xxxxxxx")load html($plugin function("HTTP post.dll", "$http post", "http://xxx", #abc, $plugin function("HTTP post.dll", "$http useragent string", "Chrome 32.0 Win7 64-bit"), "http://xxx", "", "")) can't use parameter via http post.dll it should be fixed but when i use set(#abc,"a","Global")it is working fine with static command I'm not sure i understand your issue , can you elaborate ? Quote Link to post Share on other sites
Sodaubotguru 0 Posted March 3, 2015 Report Share Posted March 3, 2015 set(#abc,"searchType=4&value={#abc}¤tPage=&sort=","Global") it is bugbut when i use set(#abc,"searchType=4&value=A¤tPage=&sort=","Global") it is not bug in http post can' put any parameter to pass http post as u see in set(#abc,$next list item(%abvde),"Global") u can use next list or dynamic parameter with http post but when use statsic it is okdynamic mean i use list from text add to lists frist and next use next list to pass http post form Quote Link to post Share on other sites
Bot-Factory 602 Posted March 3, 2015 Report Share Posted March 3, 2015 set(#abc,"searchType=4&value={#abc}¤tPage=&sort=","Global") it is bugbut when i use set(#abc,"searchType=4&value=A¤tPage=&sort=","Global") it is not bug in http post can' put any parameter to pass http post as u see in set(#abc,$next list item(%abvde),"Global") u can use next list or dynamic parameter with http post but when use statsic it is okdynamic mean i use list from text add to lists frist and next use next list to pass http post form Using a variable as input for the http post parameters works perfectly fine. Your example is missing some important informations. We need to know how the final parameter looks like in your variable.So when you use:set(#abc,$next list item(%abvde),"Global") Waht's the content of #abc before you use it for the http plugin? There is probably an issue with the stuff you have in your variable. But not with the http post plugin. Dan Quote Link to post Share on other sites
Aymen 385 Posted March 5, 2015 Author Report Share Posted March 5, 2015 set(#abc,"searchType=4&value={#abc}¤tPage=&sort=","Global") it is bugbut when i use set(#abc,"searchType=4&value=A¤tPage=&sort=","Global") it is not bug in http post can' put any parameter to pass http post as u see in set(#abc,$next list item(%abvde),"Global") u can use next list or dynamic parameter with http post but when use statsic it is okdynamic mean i use list from text add to lists frist and next use next list to pass http post form can you paste some code ? Quote Link to post Share on other sites
Sodaubotguru 0 Posted March 10, 2015 Report Share Posted March 10, 2015 can you paste some code ?as you can see i use ubot 4 lastest version you have to put code like cookie plugin command("HTTP post.dll", "http set encoding", "UTF8")plugin command("HTTP post.dll", "http cookiecontainer mode", "Basic")plugin command("HTTP post.dll", "http cookies string", "xxxxxxx") before pass via parameter to them (SET) Quote Link to post Share on other sites
acamso 55 Posted March 16, 2015 Report Share Posted March 16, 2015 Aymen - a little while back I was having trouble with the cookies string command where it was cutting off cookies as if there were a limit on the amount of cookies. I forgot where I had left off, but I have hit this issue again. It seems that the command only sets up a max of 20 cookies. It looks as though each time I add a new cookie, it will erase the 1st cookie. Can you look into this please? Quote Link to post Share on other sites
acamso 55 Posted March 20, 2015 Report Share Posted March 20, 2015 Still receiving clear objects null error http://content.screencast.com/users/acamso/folders/Snagit/media/9b4e07e1-2bc3-4d92-8a54-5597c5f3f788/03.19.2015-21.09.png Quote Link to post Share on other sites
Aymen 385 Posted March 21, 2015 Author Report Share Posted March 21, 2015 Aymen - a little while back I was having trouble with the cookies string command where it was cutting off cookies as if there were a limit on the amount of cookies. I forgot where I had left off, but I have hit this issue again. It seems that the command only sets up a max of 20 cookies. It looks as though each time I add a new cookie, it will erase the 1st cookie. Can you look into this please? I'm not sure why it is happening for you , can you please send me the code snippet of this issue ? Still receiving clear objects null error http://content.screencast.com/users/acamso/folders/Snagit/media/9b4e07e1-2bc3-4d92-8a54-5597c5f3f788/03.19.2015-21.09.png Can you tell me what are the steps to reproduce it ? Quote Link to post Share on other sites
Monovski 4 Posted March 21, 2015 Report Share Posted March 21, 2015 Hello aymen, I have question, today I try check response status in ubot 5 rev 13 but it's not working please check my code. ui button("Open List Urls") { clear table(&Open Urls to Check Live) set(#Open Urls to Check Live,$plugin function("File Management.dll", "$open file dialog"),"Global") create table from file(#Open Urls to Check Live,&Open Urls to Check Live)}loop($table total rows(&Open Urls to Check Live)) { set(#Get,$plugin function("HTTP post.dll", "$http get", $table cell(&Open Urls to Check Live,0,0), $plugin function("HTTP post.dll", "$http useragent string", "Random"), "http://google.com/", "", 15),"Global") set(#Check Response,$plugin function("HTTP post.dll", "$http response status"),"Local") wait(2) plugin command("TableCommands.dll", "delete from table", &Open Urls to Check Live, "Row", 0)} http://oi57.tinypic.com/xm4d38.jpg Quote Link to post Share on other sites
Monovski 4 Posted March 21, 2015 Report Share Posted March 21, 2015 I use same code in ubot rev 12 but it's work Quote Link to post Share on other sites
acamso 55 Posted March 21, 2015 Report Share Posted March 21, 2015 I'm not sure why it is happening for you , can you please send me the code snippet of this issue ? Can you tell me what are the steps to reproduce it ? Here is an example of adding 20 cookies, making a request, adding a 21st cookie, making the same request. It removes the 1st cookie as if it only allows 20 cookies. plugin command("HTTP post.dll", "http cookiecontainer mode", "Basic") set(#cookies string,"cookie1=test; cookie2=test; cookie3=test; cookie4=test; cookie5=test; cookie6=test; cookie7=test; cookie8=test; cookie9=test; cookie10=test; cookie11=test; cookie12=test; cookie13=test; cookie14=test; cookie15=test; cookie16=test; cookie17=test; cookie18=test; cookie19=test; cookie20=test;","Global") plugin command("HTTP post.dll", "http cookies string", #cookies string) set(#get google,$plugin function("HTTP post.dll", "$http get", "http://google.com", "", "", "", ""),"Global") plugin command("HTTP post.dll", "http cookies string", "{#cookies string} cookie21=test;") set(#get google,$plugin function("HTTP post.dll", "$http get", "http://google.com", "", "", "", ""),"Global") First request:http://content.screencast.com/users/acamso/folders/Snagit/media/b1499676-15af-4513-ab89-c71ae9908852/03.21.2015-13.24.png Second request: http://content.screencast.com/users/acamso/folders/Snagit/media/95684b33-a170-4035-a08a-2321dfac54ce/03.21.2015-13.24.png The http clear objects error is simply produced when running the command when no http requests have been made. Quote Link to post Share on other sites
Bot-Factory 602 Posted March 21, 2015 Report Share Posted March 21, 2015 Could someone please test if the following command works with 2.5.6 (http plugin)plugin command("HTTP post.dll", "http auto redirect", "Yes") ThanksDan Quote Link to post Share on other sites
sunny9495 42 Posted March 22, 2015 Report Share Posted March 22, 2015 http://i.imgur.com/BYmu7ia.pngCould someone please test if the following command works with 2.5.6 (http plugin)plugin command("HTTP post.dll", "http auto redirect", "Yes") ThanksDan 1 Quote Link to post Share on other sites
Black Automation 20 Posted March 23, 2015 Report Share Posted March 23, 2015 Yeah Dan, it does not.I get the same errors as above. 1 Quote Link to post Share on other sites
ilovepizza 2 Posted March 25, 2015 Report Share Posted March 25, 2015 Hi guys, I am just starting out with the http post plugin and have tried to find the answer for the following question on the forum but no luck. I am on Ubot 5.5 revision 13. Can you let me know why I get a 403 error if I try "http get" from this site: http://myip.is/ while it works perfectly fine with google? This works with google: ui text box("Keyword:",#Keyword) set(#google_results,$plugin function("HTTP post.dll", "$http get", "https://www.google.com/search?q={#Keyword}", $plugin function("HTTP post.dll", "$http useragent string", "Firefox 27.0 Win7 64-bit"), "", #Proxy, ""),"Global") But not with myip.is (403) set(#myipis,$plugin function("HTTP post.dll", "$http get", "http://myip.is/", $plugin function("HTTP post.dll", "$http useragent string", "IE 11.0 Win7 64-bit"), " ", #Proxy, 5),"Global") Sorry I guess this is a noob question... Can anyone confirm you get the same error scraping myip.is with http get using Ubot 5.5 rev 13? PS: The proxy is working of course - the error is the same with or without the proxy Quote Link to post Share on other sites
gavind 6 Posted March 25, 2015 Report Share Posted March 25, 2015 Not really sure if this is it but Google is https and the other site is http. Just throwing out ideas. Quote Link to post Share on other sites
Bot-Factory 602 Posted March 26, 2015 Report Share Posted March 26, 2015 Try to load without proxy. Maybe the site is blocking the proxy ip? Or something like fiddler is intercepting your http port 80 requests. Could be many things. Quote Link to post Share on other sites
ilovepizza 2 Posted March 26, 2015 Report Share Posted March 26, 2015 Thank you guys for the suggestions. I was using private proxies and even tried without any proxy. The site wasnt blocking / refusing requests when I navigated straight to it without http get. Since I am new to socks I was wondering if the site could potentially block requests when no browser is used. Could that be the case - theoretically? Quote Link to post Share on other sites
Bot-Factory 602 Posted March 26, 2015 Report Share Posted March 26, 2015 I will test it later today when I'm back at my computer. Dan Quote Link to post Share on other sites
Bot-Factory 602 Posted March 26, 2015 Report Share Posted March 26, 2015 Hi guys, I am just starting out with the http post plugin and have tried to find the answer for the following question on the forum but no luck. I am on Ubot 5.5 revision 13. Can you let me know why I get a 403 error if I try "http get" from this site: http://myip.is/ while it works perfectly fine with google? This works with google:ui text box("Keyword:",#Keyword)set(#google_results,$plugin function("HTTP post.dll", "$http get", "https://www.google.com/search?q={#Keyword}", $plugin function("HTTP post.dll", "$http useragent string", "Firefox 27.0 Win7 64-bit"), "", #Proxy, ""),"Global") But not with myip.is (403)set(#myipis,$plugin function("HTTP post.dll", "$http get", "http://myip.is/", $plugin function("HTTP post.dll", "$http useragent string", "IE 11.0 Win7 64-bit"), " ", #Proxy, 5),"Global") Sorry I guess this is a noob question... Can anyone confirm you get the same error scraping myip.is with http get using Ubot 5.5 rev 13? PS: The proxy is working of course - the error is the same with or without the proxy You have to add an Accept header to make it work: plugin command("HTTP post.dll", "http set headers", "Accept", "text/html")set(#myipis,$plugin function("HTTP post.dll", "$http get", "http://myip.is/", "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.101 Safari/537.36", " http://www.google.com", "", 30),"Global")load html(#myipis) Troubleshooting Steps: 1. Sniff a good (working request) with fiddler.2. Execute your request with ubot and sniff with fiddler as well.3. Compare those two request.4. Add all the headers and missing cookies to your ubot request (one at a time)5. Test it. Every time add another header.. After you added all headers, start with the cookies. Then you find what's missing. That's the method I use every time, something is working in the browser that is not working via HTTP plugin. If you are looking for more tricks:http://www.ubotstudio.com/forum/index.php?/topic/16544-sell-http-plugin-tutorial-video-series/ Sorry for the advertising guys :-) CheersDan 1 Quote Link to post Share on other sites
ilovepizza 2 Posted March 27, 2015 Report Share Posted March 27, 2015 Fantastic Dan, will try it later! Thank you! Quote Link to post Share on other sites
Bot-Factory 602 Posted March 30, 2015 Report Share Posted March 30, 2015 Hello Aymen, could you please send us: V2.5.7? Looks like Auto Redirect is fixed there?http://bugs.ubot-plugins.com/view.php?id=31 My old dropbox link doesn't work anymore. :-( ThanksDan Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.