Aymen 385 Posted October 13, 2012 Report Share Posted October 13, 2012 Hey Guys ,so this morning i had this crazy idea , i wanted to see if i can run sockets inside ubot (the real sockets using http requests)so after some reading and digging and testing , i come up with this final code , which didn't work yet (don't get your hopes up yet ) navigate("http://animebeast.org/Ùيلم-الانمى-happy-feet-two-2011-مترجم-على-mediafire/", "Wait") run javascript("var mypostrequest=new ActiveXObject() var parameters=author=aymen99&email=aymen1%40cbscam.org&url=http%3A%2F%2Faymenbnr.tedsplans.hop.clickbank.net%3Ftid%3DBW&comment=this+is+a+great+website+%2C+keep+it+up+BLABLA&submit=%D8%A5%D8%B6%D8%A7%D9%81%D8%A9+%D8%AA%D8%B9%D9%84%D9%8A%D9%82&comment_post_ID=291&comment_parent=0 mypostrequest.open(\"POST\", \"wp-comments-post.php\", true) mypostrequest.setRequestHeader(\"Content-type\", \"application/x-www-form-urlencoded\") mypostrequest.send(parameters)") that is a wordpress commenter on an blog with arab content (change the url and the http parameters and test if you like) the code didn't work on ubot !So anyone can jump on and try to make this work with me ? This is killer , if it works ! Quote Link to post Share on other sites
General Lee 12 Posted October 14, 2012 Report Share Posted October 14, 2012 Sorry bro, out of my league. BUT, why can't ubot handle real sockets and HTTP request, I thought those functions were corner stones in the botting world. Am I wrong? Maybe, the wicked hugh update to be released any day now will be able to accomplish this corner stone task? Quote Link to post Share on other sites
Aymen 385 Posted October 14, 2012 Author Report Share Posted October 14, 2012 Sorry bro, out of my league. BUT, why can't ubot handle real sockets and HTTP request, I thought those functions were corner stones in the botting world. Am I wrong? Maybe, the wicked hugh update to be released any day now will be able to accomplish this corner stone task? this will be a game changer , if ubot have this feature in the near future , probebly along with a database feature , to allow ubot to do more than just simple bots ! Quote Link to post Share on other sites
The450Man 0 Posted January 3, 2013 Report Share Posted January 3, 2013 has any progress been made in this area? I recently came accross a bot where http requests are necesary. Quote Link to post Share on other sites
Twitter Dominator 125 Posted January 3, 2013 Report Share Posted January 3, 2013 yes the socket control falls under the thread and system controls in ubot you can remove images, popups, css and java script to use sockets set visibility to no Quote Link to post Share on other sites
a2mateit 395 Posted January 3, 2013 Report Share Posted January 3, 2013 yes the socket control falls under the thread and system controls in ubot you can remove images, popups, css and java script to use sockets set visibility to no That definitely makes the bot perform faster, but it's not pure sockets. Quote Link to post Share on other sites
rotem 4 Posted January 4, 2013 Report Share Posted January 4, 2013 yes the socket control falls under the thread and system controls in ubot you can remove images, popups, css and java script to use sockets set visibility to noSockets are in REAL programming, thats what makes you being able to run 500 threads instead of 30 Quote Link to post Share on other sites
Pete 121 Posted January 4, 2013 Report Share Posted January 4, 2013 Sockets where removed from ubot 4 just after it come out of beta if I remember correctly Quote Link to post Share on other sites
a2mateit 395 Posted January 4, 2013 Report Share Posted January 4, 2013 Sockets are in REAL programming, thats what makes you being able to run 500 threads instead of 30 I have a hard enough time running 10. 30 would be a dream come true! Quote Link to post Share on other sites
Aymen 385 Posted January 4, 2013 Author Report Share Posted January 4, 2013 yea i think Real sockets will take ubot to the next level ! we can make much faster and stable bots that way ! Quote Link to post Share on other sites
thejake 11 Posted January 4, 2013 Report Share Posted January 4, 2013 OP was actually talking about xmlhttprequests, not sockets, which are done more or less thus:run javascript(" var p = 'author=aymen99&email=aymen1%40cbscam.org&url=http%3A%2F%2Faymenbnr.tedsplans.hop.clickbank.net%3Ftid%3DBW&comment=this+is+a+great+website+%2C+keep+it+up+BLABLA&submit=%D8%A5%D8%B6%D8%A7%D9%81%D8%A9+%D8%AA%D8%B9%D9%84%D9%8A%D9%82&comment_post_ID=291&comment_parent=0' var xhr = new XMLHttpRequest(); xhr.onload = function() \{ sessionStorage.setItem('xxv',this.responseXML.title); \} xhr.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); xmlhttp.setRequestHeader('Content-length', p.length); xhr.open('POST', '/wp-comments-post.php'); xhr.responseType = 'document'; xhr.send(p); ") wait for browser event("Everything Loaded", "") alert($eval("sessionStorage.getItem('xxv');")) in other words the best practice is to have ubot wait for async requests to complete explicitly and use the browser for storing the results. You can't do anything particularly exciting with this until there's a way to get an "unsafe" JS interpreter instance, with same-origin and other checks disabled, sometimes referred to as "plugin mode." I believe I requested this elsewhere some time ago, like $evalunsafe and/or run javascriptunsafe The term "socket" as used in some of the ubot documentation and marketing is unfortunate. If ubot exposed a more general-purpose embedded language (lua or python, for example) socket operations would be feasible, but as mentioned above most of what a ubotter would want to do would be more effective with an unconstrained JS interpreter. It would give ubot most of the advantages of node.js in a client package, high concurrency on a single thread. 1 Quote Link to post Share on other sites
Bliss 194 Posted February 5, 2013 Report Share Posted February 5, 2013 And Anyone looking for this might want to check out this page for Aymens new plugin http://www.ubotstudio.com/forum/index.php?/topic/12837-sell-http-post-plugin-crazy-bonuses-inside It Rocks! 1 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.