Jump to content
UBot Underground

Varo

Fellow UBotter
  • Content Count

    111
  • Joined

  • Last visited

  • Days Won

    9

Posts posted by Varo

  1. Is there a way to open the same browser the next time bot is run? For example, for steam, i need to verify my browser with the code I got in the mail. So I don't want to repeat this process all the time. So is there a way to keep exbrowser as same as before and keep it same everytime?

     

    I have tried with profile loading, and I try to save cookies in a txt file and then load them but no luck. Please help.

     

    What browser did you launch ?

    For firefox read Exbrowser Command Reference .pdf on page 51

    for Chrome take a look at this link below

    https://botfactory.helpdocs.com/exbrowser-plugin/load-chrome-profile

    • Like 2
  2. Try this code :  @TimC

    plugin command("ExBrowser.dll", "ExBrowser CleanUp")
    plugin command("ExBrowser.dll", "ExBrowser Launcher", "Chrome", "", $plugin function("ExBrowser.dll", "$ExBrowser Set User Agent", "Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1"))
    plugin command("ExBrowser.dll", "ExBrowser Navigate", "https://accounts.google.com/SignUp?service=mail&continue=https%3A%2F%2Fmail.google.com%2Fmail%2F&ltmpl=ecobh&btmpl=mobile")
    loop(1) {
        comment("Month")
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://span/select[@id=\'BirthMonth\']")
        wait(0.5)
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://select/option[@value=\'06\']")
        wait(0.5)
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://span/select[@id=\'BirthMonth\']")
    }
    loop(1) {
        comment("Day")
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://select[@id=\'BirthDay\']")
        wait(0.5)
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://select/option[@value=\'27\']")
        wait(0.5)
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://select[@id=\'BirthDay\']")
    }
    loop(1) {
        comment("Year")
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://select[@id=\'BirthYear\']")
        wait(0.5)
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://select/option[@value=\'1983\']")
        wait(0.5)
        plugin command("ExBrowser.dll", "ExBrowser Click", "x://select[@id=\'BirthYear\']")
    }
    plugin command("ExBrowser.dll", "ExBrowser Click", "x://label/input[@id=\'FirstName\']")
    
    
    • Like 1
  3. Hi


    Recently i build socket bot, it works good. (single threading)

    Now i want to make it multithreading. But it always gives me error :wacko:


    Object reference not set to an instance of on object


    What i want to do is socket navigate from a list (more than 100 url) and save each "socket page html" to .txt file.
    Here is the code

    clear all data
    add list to list(%multi,$list from file("C:\\html test\\listURL.txt"),"Delete","Global")
    set(#row,0,"Global")
    set(#filename,1,"Global")
    thread spawn($list total(%multi),4) {
        launch socket()
        increment(#row)
        wait(2)
    }
    define launch socket {
        plugin command("SocketCommands.dll", "socket container") {
            plugin command("SocketCommands.dll", "socket set header", "User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.109 Safari/537.36")
            plugin command("SocketCommands.dll", "socket navigate", "GET", $list item(%multi,#row))
            set(#sock,$plugin function("SocketCommands.dll", "$socket page html"),"Local")
            save to file("C:\\html test\\{#filename}.txt",#sock)
            increment(#row)
            increment(#filename)
        }
        wait(2)
    }
    
    

    What i've done wrong?


    Thanks


    V

  4.  

    it's all right in my code, what I discovered is that the browser UBot (chrome 39) this freezing when my routine interacts with an ajax element on the page. from there he can not recognize any more element and interact with him only when they give a refresh by navigating to another page and then back to the page again, then the browser "unlock".
     
    thanks for the help of all, I believe it to be a bug in the browser, someone from the development team could do some tests with more "heavy" pages involving ajax elements to see if this problem persists.

     

     

    same problem here,

    You are right about navigating to another page to "unlock" the browser, but in my case sometimes it doesnt solve the problem. The browser still "lock" (document text are null/empty).

    Other solution that work for me is Reset Browser. But it reset everything include your login session.

     

    Lately i also found another solution, step by step below:

     

    1. Identify all js that load on your page. Choose js that needed by the page, and ignore another js about tracking: like facebook event manager, google analytics, google tag manager, sociomantic, etc)

    2. Disable all js completely (Allow Javascript - No)

    3. Load the js locally in ubot (Run Javascript) after navigate to the page

     

    With this way, i can minimize the browser "lock"

    HTH

  5. by mistake ive add to local

    but currently is with General and still not working

     

    that's the problem, i can't skip this site because there are a lot of site like this one(were my script stop) and i have to be available to scrape them all

     

    Try socket mode.

    Work great for me.

    plugin command("SocketCommands.dll", "socket container") {
        plugin command("SocketCommands.dll", "socket set header", "User-Agent", "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36")
        plugin command("SocketCommands.dll", "socket navigate", "GET", "http://www.hksinc.com/")
        add list to list(%scket,$find regular expression($plugin function("SocketCommands.dll", "$socket page html"),"themes"),"Don\'t Delete","Global")
    }
    
  6.  I'm using the most easiest commands like "type text" , it works good 4-5 tasks but then even the text is "nike_deal" ubot type "ne_deal" or "nkie_deal"

     

    And sometimes it stop working for no reason, even there are more tasks to do, it stay like an idiot doing nothing...I have to re-open it.

     

    Exactly same problem here.

    And solution is like pash said, use "change attribute" command.

    • Like 1
×
×
  • Create New...