Jump to content
UBot Underground

Pure HTTP requests (sockets) with Ubot - Possible ? let's find out!


Recommended Posts

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 !

Link to post
Share on other sites

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?

Link to post
Share on other sites

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 !

Link to post
Share on other sites
  • 2 months later...
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.

Link to post
Share on other sites
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

Sockets are in REAL programming, thats what makes you being able to run 500 threads instead of 30 :wub:

Link to post
Share on other sites
Sockets are in REAL programming, thats what makes you being able to run 500 threads instead of 30 :wub:

 

I have a hard enough time running 10.  30 would be a dream come true!  ;)

Link to post
Share on other sites

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.

  • Like 1
Link to post
Share on other sites
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...