Team_LX 3 Posted May 19, 2014 Report Share Posted May 19, 2014 (edited) I can't do personal coaching via Skype. That's to time consuming. DanNot asking for that just help with the issue i am having them we be on our way and the issue is just how to get data to post via http etc.... as i stated above would be willing to give you a little $$ too help me out Edited May 19, 2014 by Team_LX Quote Link to post Share on other sites
Bot-Factory 602 Posted May 19, 2014 Report Share Posted May 19, 2014 Not asking for that just help with the issue i am having them we be on our way and the issue is just how to get data to post via http etc.... as i stated above would be willing to give you a little $$ too help me out Please post the url and infos where you struggle here, than we might be able to take a look. Everything else is not possible at the moment Sorry. Dan Quote Link to post Share on other sites
Team_LX 3 Posted May 19, 2014 Report Share Posted May 19, 2014 Please post the url and infos where you struggle here, than we might be able to take a look. Everything else is not possible at the moment Sorry. Danhttp://ssl.skittles.com/ only part i have issues with is entering in the code needed on the first page i think after i get some help doing that i can finish off the second page that has more data to fill in Also if anyone is going to help here is a valid code to use : 45QS9 Quote Link to post Share on other sites
Bot-Factory 602 Posted May 19, 2014 Report Share Posted May 19, 2014 http://ssl.skittles.com/ only part i have issues with is entering in the code needed on the first page i think after i get some help doing that i can finish off the second page that has more data to fill in Also if anyone is going to help here is a valid code to use : 45QS9Could you share your example code please? What have you tried already? Dan Quote Link to post Share on other sites
Team_LX 3 Posted May 19, 2014 Report Share Posted May 19, 2014 Could you share your example code please? What have you tried already? Dani got info from Fiddler and got it going it going to the site that is about it after that i got lost on how to go about setting the form info via http Quote Link to post Share on other sites
Bot-Factory 602 Posted May 19, 2014 Report Share Posted May 19, 2014 In Fiddler you will see that the post request has 5 options: __VIEWSTATE __EVENTVALIDATION Header$ecCode$txtCode Header$ecCode$btnCodeSubmit ecCode$txtCode The first two are hidden fields. So you have to scrape them from the page before you can send the post.Then you have Header$ecCode$txtCode. That holds your code.And the other two are just static fields. I have to be honest with you. This is not a complicated post request. So there are hundreds of examples like this in the source code package. If you can't figure it out, please post your ubot code here. And we can work from there. Dan Quote Link to post Share on other sites
Team_LX 3 Posted May 19, 2014 Report Share Posted May 19, 2014 (edited) In Fiddler you will see that the post request has 5 options:__VIEWSTATE __EVENTVALIDATION Header$ecCode$txtCode Header$ecCode$btnCodeSubmitecCode$txtCode The first two are hidden fields. So you have to scrape them from the page before you can send the post.Then you have Header$ecCode$txtCode. That holds your code.And the other two are just static fields. I have to be honest with you. This is not a complicated post request. So there are hundreds of examples like this in the source code package. If you can't figure it out, please post your ubot code here. And we can work from there. Dandan if you read this i have found out that the two things that need scrapped you said the items are the same so no reason to scrape every time correct ? "__VIEWSTATE": "/wEPDwUKMTM3MzcxNTUxMWRk98uVYSH/Fcb/aEvnRUbp0ncpwZedUhk5SX2f8FFGlG8=", "__EVENTVALIDATION": "/wEdAAUwMVjG2H3BbfJ0wlDfx7623Twzb0wcG7vrvoctnN/yQYGoKCxsMmUgu93pK8RvrKI1U9wZLUyWnRLPmE/wo9Pt8eqlh0p3sFqEXpY7UbH4nj50t2iNMOUt5ydgzobE7Fbyt2Of4KdG3NhhFawGlqva", Edited May 20, 2014 by Team_LX Quote Link to post Share on other sites
Bot-Factory 602 Posted May 20, 2014 Report Share Posted May 20, 2014 You can figure it out yourself. Just try it twice and look at fiddler. If they change, you have to scrape them every time. If not, you can use the same ones. Don't forget to clear your browser cookies in between your tests. And you also can test it with ubot. If you can login successfully with the same tokens all the time, then fine. If not, you probably need to scrape them. But from my experience. It's very unlikely that stuff like this will be reused for different sessions. That looks more like authentication cookies or session information. So you probably have to find them on the page somehow. Dan Quote Link to post Share on other sites
botoballs 2 Posted May 20, 2014 Report Share Posted May 20, 2014 Hi Newbie here. HTTP post is the same as sockets right?Also could this plugin multithreading using my pro version? Thanks Quote Link to post Share on other sites
Aymen 385 Posted May 20, 2014 Author Report Share Posted May 20, 2014 Hi Newbie here. HTTP post is the same as sockets right?Also could this plugin multithreading using my pro version? Thanks Yes http post and sockets are the same thing!yes this plugin can be multi threaded! Regards Quote Link to post Share on other sites
Team_LX 3 Posted May 20, 2014 Report Share Posted May 20, 2014 You can figure it out yourself. Just try it twice and look at fiddler. If they change, you have to scrape them every time. If not, you can use the same ones. Don't forget to clear your browser cookies in between your tests. And you also can test it with ubot. If you can login successfully with the same tokens all the time, then fine. If not, you probably need to scrape them. But from my experience. It's very unlikely that stuff like this will be reused for different sessions. That looks more like authentication cookies or session information. So you probably have to find them on the page somehow. Danthey stay the same as far as i can tell the only problem i am having the too know what commands to use i know you sadi http upload but not sure what goes where Quote Link to post Share on other sites
Bot-Factory 602 Posted May 20, 2014 Report Share Posted May 20, 2014 they stay the same as far as i can tell the only problem i am having the too know what commands to use i know you sadi http upload but not sure what goes where No need for file upload in this case. It's just a pure POST command. Dan Quote Link to post Share on other sites
Team_LX 3 Posted May 20, 2014 Report Share Posted May 20, 2014 No need for file upload in this case. It's just a pure POST command. DanSo some what like this plugin command("HTTP post.dll", "http container") { set(#post, $plugin function("HTTP post.dll", "$http post", "http://ssl.skittles.com/Default.aspx", "__EVENTVALIDATION\": \"/wEdAAUwMVjG2H3BbfJ0wlDfx7623Twzb0wcG7vrvoctnN/yQYGoKCxsMmUgu93pK8RvrKI1U9wZLUyWnRLPmE/wo9Pt8eqlh0p3sFqEXpY7UbH4nj50t2iNMOUt5ydgzobE7Fbyt2Of4KdG3NhhFawGlqva\",", "", "http://ssl.skittles.com", "", 30), "Global") and like i said thats the only thing i am confused about it how to set the Commands but etccc Quote Link to post Share on other sites
Bot-Factory 602 Posted May 20, 2014 Report Share Posted May 20, 2014 So some what like this plugin command("HTTP post.dll", "http container") { set(#post, $plugin function("HTTP post.dll", "$http post", "http://ssl.skittles.com/Default.aspx", "__EVENTVALIDATION\": \"/wEdAAUwMVjG2H3BbfJ0wlDfx7623Twzb0wcG7vrvoctnN/yQYGoKCxsMmUgu93pK8RvrKI1U9wZLUyWnRLPmE/wo9Pt8eqlh0p3sFqEXpY7UbH4nj50t2iNMOUt5ydgzobE7Fbyt2Of4KdG3NhhFawGlqva\",", "", "http://ssl.skittles.com", "", 30), "Global") and like i said thats the only thing i am confused about it how to set the Commands but etcccYes, something like this. But you need the other variables as well. Dan Quote Link to post Share on other sites
Team_LX 3 Posted May 20, 2014 Report Share Posted May 20, 2014 Yes, something like this. But you need the other variables as well. Danso i would set each Variable within its on Http post command within that same set command ? Quote Link to post Share on other sites
Bot-Factory 602 Posted May 20, 2014 Report Share Posted May 20, 2014 so i would set each Variable within its on Http post command within that same set command ?No, it's a single Post command. One command which needs all parameters.Just look at the request in fiddler. You see everything in there. And if you don't understand it, then you definitely have to go back to the examples first and work through them. I will not send you the final code. Because it's really easy. And if you have looked through the examples, you will know how to do it. But it doesn't make sense to discuss this further before you don't know the basics. And you will get the basics from the examples. Dan Quote Link to post Share on other sites
Team_LX 3 Posted May 20, 2014 Report Share Posted May 20, 2014 (edited) anyone else that could help me get this completed i will be willing to pay you via paypal for help getting this all working goes for you dan i will pay you to help me get this all done Edited May 20, 2014 by Team_LX Quote Link to post Share on other sites
Bot-Factory 602 Posted May 20, 2014 Report Share Posted May 20, 2014 Aymen, how should the HTTP Container be used exactly?Should I only have the GET / POSTs commands in it? I currently have a relatively large define with loops and other stuff. And I have one single HTTP container throughout the whole define. With multiple get and post commands. But they all belong together. But I'm doing some stuff with the data in-between. And I'm getting some strange errors. Have you seen that before? Dan Quote Link to post Share on other sites
Aymen 385 Posted May 20, 2014 Author Report Share Posted May 20, 2014 Aymen, how should the HTTP Container be used exactly?Should I only have the GET / POSTs commands in it? I currently have a relatively large define with loops and other stuff. And I have one single HTTP container throughout the whole define. With multiple get and post commands. But they all belong together. But I'm doing some stuff with the data in-between. And I'm getting some strange errors. Have you seen that before? Dan What kind of errors ? Quote Link to post Share on other sites
Team_LX 3 Posted May 21, 2014 Report Share Posted May 21, 2014 ok anyone know why when i add HTTP Container into my script it will not allow the ui Text boxes and ui open file fields to be seen ? Quote Link to post Share on other sites
Bot-Factory 602 Posted May 21, 2014 Report Share Posted May 21, 2014 Is the plugin always sending all cookies automatically? In my case it's missing some. Happens with and without http container:ASP.NET_SessionId=xtkagvnhvm4pn0cllyukpm34; Code=azua878; popup=0; _ga=GA1.2.1186369989.1400537584 It's only sending Code in my example. Dan Quote Link to post Share on other sites
Aymen 385 Posted May 21, 2014 Author Report Share Posted May 21, 2014 ok anyone know why when i add HTTP Container into my script it will not allow the ui Text boxes and ui open file fields to be seen ? You shouldn't put ui controls inside the http container regards Quote Link to post Share on other sites
Bot-Factory 602 Posted May 22, 2014 Report Share Posted May 22, 2014 What kind of errors ?IndexOutOfRangeException It's not happening all the time. Mostly when I stop and start the bot multiple times. I was not able to fully isolate the issue yet. But I'm not doing anything fancy within the cookies container. Only using http get and xpath parser indexWithin a http container. No other commands are used from your plugin. Dan Quote Link to post Share on other sites
zharfan 0 Posted May 22, 2014 Report Share Posted May 22, 2014 Hey bro if there error massage when i use $http get "The remote server returned an error: (503) Server Unavailable." what the soluton? Quote Link to post Share on other sites
Bot-Factory 602 Posted May 22, 2014 Report Share Posted May 22, 2014 Hey bro if there error massage when i use $http get "The remote server returned an error: (503) Server Unavailable." what the soluton?Website?Ubot Code? Dan 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.