Jump to content
UBot Underground

[Sell] - Ubot Comminication Plugin - Browser Control (Pro) Use Chrome / Ff Etc - Run Code On / Control External Bots, Web Server Control (Pro) + More


Recommended Posts

Can you add a command with an option to keep the browser open? If not I guess we would have to add a loop while to keep it open.

Well it's designed to quickly close and open a browser again once it's actions are done and you would need a new fresh browser. Every time the browser open's it loads in a new fresh browser instance that shares no information with the previous once. Even if you open two at once they know nothing about each other cookie etc wise.

 

What we have experienced in the beta group is that people use Firefox or Chrome to develop the routine then on production they switch over to PhantomJS. Mainly because PhantomJS is quicker, uses less cpu and less memory.

Link to post
Share on other sites
  • Replies 440
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

>>Quick Update<<   A Team of 3 advanced Ubot Developers have taken over the project. We purchased the source code and full rights to it. We are now analyzing the source code and looking t

The first 5 tutorial videos are available (FREE)   http://www.bot-factory.com/downloads/communication-plugin-tutorials I cover a lot of the basics first. But we will move into more complex things as w

Version 2.9.7.2 Fixed: HTTP proxy authentication with Chrome   Update is now available on JVZOO It was allot of work to release this update and also would like to thank everyone for there patience an

Posted Images

Just put an alert at the end. And while that alert box is open, the browser stays open as well. 

And it's not like with the ubot browser. This browser can be accessed and used.

 

Dan

Thanks Dan, yes this is not an internal browser this uses browsers already installed on your machine to be used for your work.

 

The "CBrowser Container" is designed so child commands/nodes know with wich browser to interact with.

Link to post
Share on other sites

if the browser is ment to close at the end of the node,

how do you code the rutine?

fill this text box

click that item

Well by adding the commands inside the Container.

 

This is a somewhat more complex example that uses Xpath, Xpath is about 40-60 times quicker then Ubot's standard Locators like "<tagname="a">". We support Ubot locators, Xpath locators and CSS locators.

 

plugin command("Communication.dll""CBrowser Container""Firefox""""") {

    plugin command("Communication.dll""CBrowser Navigate""http://www.bing.com/")

    plugin command("Communication.dll""CBrowser Type Text""My first external browser search")

    plugin command("Communication.dll""CBrowser Click")

    loop(10) {

        add list to list(%UrlCollection,$plugin function("Communication.dll""$CBrowser Scrape List Elements Attribute""href"),"Delete","Global")

        plugin command("Communication.dll""CBrowser Click")

    }

    wait(3)

}

 

 

Don't know why but this code won't be saved in a code block.

Edited by diskwizz
Link to post
Share on other sites

if the browser is ment to close at the end of the node,

how do you code the rutine?

fill this text box

click that item

 

You open the site in your normal google chrome browser. And then you look at the HTML Code or the Element viewer. 

There are also some XPATH plugins for firefox if you like that more.

 

But there is no element select like with the regular ubot browser. 

 

But you could use the normal ubot elements in the CBrowser elements as well. 

But I would highly recommend using Xpath. A lot more flexible and a lot quicker.

 

Dan

Link to post
Share on other sites

Hi, I can't get this plugin to work with the code provided. I get a crash every time - http://screencast.com/t/mO4FUHc4xYY . I tried it with other plugins and without, in vers 4 and vers 5, compiled and in studio, with chrome and with firefox, on my pc and on vps. Same thing every time: loads the browser than crashes.

Thank you

Link to post
Share on other sites

Hi, I can't get this plugin to work with the code provided. I get a crash every time - http://screencast.com/t/mO4FUHc4xYY . I tried it with other plugins and without, in vers 4 and vers 5, compiled and in studio, with chrome and with firefox, on my pc and on vps. Same thing every time: loads the browser than crashes.

Thank you

Does that happen when you select Chrome as well?

I assume you have .Net 4.5 installed right?

 

And latest versions of Firefox and Chrome?

 

Dan

Link to post
Share on other sites

yes...4.5 installed - tried it with both chrome and firefox as mentioned above...on my pc, laptop and vps - same thing...

That's really strange then. Porbably best to PM diskwizz so that he can take a look.

 

 

@ALL:

 

Here's a quick Google scraping example:

 

 

plugin command("Communication.dll""CBrowser Container""Chrome"""$plugin function("Communication.dll""Set User Agent""ozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36")) {

    plugin command("Communication.dll""CBrowser Navigate""http://www.google.com")

    plugin command("Communication.dll""CBrowser Wait For Element", 60)

    plugin command("Communication.dll""CBrowser Type Text""Ubot Studio")

    plugin command("Communication.dll""CBrowser Wait For Dom Ready", 5)

    plugin command("Communication.dll""CBrowser Click")

    plugin command("Communication.dll""CBrowser Wait For Dom Ready", 5)

    wait(2)

    clear list(%links1)

    clear list(%links2)

    add list to list(%links1$plugin function("Communication.dll""$CBrowser Scrape List Elements Attribute""href"), "Delete""Global")

    set(#counter, 0, "Global")

    loop($list total(%links1)) {

        if($not($contains($list item(%links1#counter), "google")) AND $contains($list item(%links1#counter), "http")) {

            then {

                add item to list(%links2$list item(%links1#counter), "Delete""Global")

            }

        }

        increment(#counter)

    }

}

alert("Done")

 

Cheers

Dan

Link to post
Share on other sites

Well I don't know what version he gave me...I can't even paste your code Dan.

 

http://content.screencast.com/users/serbyy/folders/Jing/media/f12f1468-08a4-485b-a681-216ca51ac421/2015-02-07_2157.png

Link to post
Share on other sites

Well I don't know what version he gave me...I can't even paste your code Dan.

 

http://content.screencast.com/users/serbyy/folders/Jing/media/f12f1468-08a4-485b-a681-216ca51ac421/2015-02-07_2157.png

 

 

The forum is messing up the code.. Did not see that when I posted it.

 

I'll attach my ubot file.

 

Dan

test2.ubot

Link to post
Share on other sites

Thank you for the code Dan, but - nope, still the same crash... I'll just have to wait for diskwizz to come along to see what's the problem. To bad I wanted to play with it today

Steven

Link to post
Share on other sites

No Dans code works for me except that I have to change some of the xpath for Google US but I did get a script error when running
down in the looping.

Link to post
Share on other sites

Well I don't know what version he gave me...I can't even paste your code Dan.

 

http://content.screencast.com/users/serbyy/folders/Jing/media/f12f1468-08a4-485b-a681-216ca51ac421/2015-02-07_2157.png

You can't paste the code because on line 3,4 and 6 it's missing parameters. But if it crashes on your machine then let's test out whats going wrong. Are you able to setup a teamview session so we can test what goes wronge?

Link to post
Share on other sites
The benefits are more choices, no more memory leaks, no more browser crashes and you can actually use different user agents then chrome user agents. The issue now is if i use a firefox user agent i could test if it's fake by looking if firefox only javascript executes in the browser, many people already have seen sites that can detect awesomium browsers. Now you can actually use the correct browser and it's impossible to detect and prevent the actions we do in the bot, since we are actually using firefox. I hope this makes sense.

I understand this is early days for this plugin that’s giving us some great options. 

Will it be possible at some point to spoof more the screen size and user agent?

Many sites have gone far beyond this now. 

System time is becoming big if you have a US IP, US user agent, but your system time is set to say GB,

Check out https://www.browserleaks.com/  and  https://panopticlick.eff.org/  to see more

 

Link to post
Share on other sites

I understand this is early days for this plugin that’s giving us some great options. 

Will it be possible at some point to spoof more the screen size and user agent?

Many sites have gone far beyond this now. 

System time is becoming big if you have a US IP, US user agent, but your system time is set to say GB,

Check out https://www.browserleaks.com/  and  https://panopticlick.eff.org/  to see more

 

Yes we can add any requests in the future, although only a handful of sites at this time checks for system time. Basically we can fake anything with this plugin more then currently possible now with Ubots awesomium browser.

Link to post
Share on other sites

Added new requested function "$CBrowser Element Exist". This function will return true if the element exist and false if the element doesn't exist.
http://i.imgur.com/HNxPIJA.png?1

Edited by diskwizz
Link to post
Share on other sites

Awesome Diskwizz thanks

 

 

Added new requested function "$CBrowser Element Exist". This function will return true if the element exist and false if the element doesn't exist.
http://i.imgur.com/HNxPIJA.png?1

  • Like 1
Link to post
Share on other sites

Having a problem changing proxys I take it you just leave the username and password fields blank as mine authenticate to my IP?

 

 

Link to post
Share on other sites

Having a problem changing proxys I take it you just leave the username and password fields blank as mine authenticate to my IP?

Yes you leave the username and password blank if you have no username and password.

Link to post
Share on other sites
Yes you leave the username and password blank if you have no username and password.

 

Ok this is how I have it setup, my firefox version is 35.0 it's connection settings are set to use system proxy settings

 

But it's not switching always returns my default ip?

 

 

 

set(#UserAgent,"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:35.0) Gecko/20100101 Firefox/35.0","Global")

set(#Proxy,"142.54.170.72:3127","Global")

plugin command("Communication.dll", "CBrowser Container", "Firefox", $plugin function("Communication.dll", "$CBrowser Set HTTP Proxy", #Proxy, "", ""), $plugin function("Communication.dll", "$CBrowser Set User Agent", #UserAgent)) {

    plugin command("Communication.dll", "CBrowser Navigate", "http://whatsmyuseragent.com/")

    loop while($comparison(1,"=",1)) {

        wait(2)

    }

}

Link to post
Share on other sites
Guest
This topic is now closed to further replies.

×
×
  • Create New...