Jump to content
UBot Underground

fastlinks

Fellow UBotter
  • Content Count

    213
  • Joined

  • Last visited

  • Days Won

    10

Posts posted by fastlinks

  1. I am trying to split the defines into many .ubot files and use "include" function to load it to the main bot (to speed up ubot when coding), but i have just found that if i edit/add/update a define of the child .ubot file, and run "include", it will not update the define to the main bot unless restart ubot.

    It do not make sense to keep restarting ubot to get the update. Anyone have a workaround?

    I tried pash "Advance ubot" >> "run ubot code", but it cant read .ubot file directly, anyone know how to read .ubot file as a variable or convert it into text?

     

  2. I am using pash Advanced Captcha plugin trying to solve invisible recaptcha with 2captcha service.

    it is working fine on the recaptcha demo form, but i have spent whole day try on a live website with no luck... please help if you have experience with this type of recaptcha, thanks

     

    comment("advanced captcha 3.4.4.4")
    navigate("https://www.domain.com/register","Wait")
    wait for browser event("Everything Loaded","")
    wait(1)
    set(#fname,"jason","Global")
    set(#lname,"jones","Global")
    type text(<full name field>,#fname,"Standard")
    type text(<email field>,"{#fname}{#lname}{$rand(111,999)}@hotmail.com","Standard")
    set(#password,$random text(6),"Global")
    type text($element offset(<password field>,0),#password,"Standard")
    type text($element offset(<password field>,1),#password,"Standard")
    change checkbox(<for="reg_tnc_checked">,"Checked")
    divider
    set(#GoogleKey,"xxxxxxxAAAAAETbeY3oqHOYYnPxEPpsWn9tEa4V","Global")
    clear list(%Debug)
    add list to list(%Debug,$plugin function("Advanced Captcha.dll", "$2captcha.com recaptcha", "xxxxxxx84125abf125cd2e35fe1bc406", #GoogleKey, "https://www.ibilik.my/register", "", "", 50, 120, "", "", "", "Invisible"),"Delete","Global")
    alert("2cpatcha respond: 
    {%Debug}")
    if($comparison($list total(%Debug),">",1)) {
        then {
            change attribute(<id="g-recaptcha-response">,"style","width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none;")
            change attribute(<id="g-recaptcha-response">,"value",$list item(%Debug,1))
            run javascript("document.getElementByClassName(\"s12\").submit();")
            comment("run javascript(\"___grecaptcha_cfg.clients[0].aa.l.callback()\")")
        }
        else {
        }
    }

    i am getting respond from 2captcha, but the javascript command didn't make any change. thanks

  3. to get page source

     

     

     

    set(#pagehtml,$document text,"Global")

    or 

     

     

     

    set(#pagehtml,$page scrape("<html","</html>"),"Global")

     


    to find text value in between x & y

     

     

    <license>abc</license>

    (?<=<license>).*(?=</license>)
    answer: abc

    some other useful regex

    match email:
     

     

    ([a-z0-9][-a-z0-9_\+\.]*[a-z0-9])@([a-z0-9][-a-z0-9\.]*[a-z0-9]\.(arpa|root|aero|biz|me|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tp|tr|tt|tv|tw|tz|ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|zm|zw)|([0-9]{1,3}\.{3}[0-9]{1,3}))

    to match url:
     

     

    (?:https?:\/\/)?(ibilik\.)([a-zA-Z\.]{2,6})([\/\w\.-]*)*\/?

    to match phone
     

     

    (\S*\d+\S*){8,16}

    (\S*[\d ]\S*){8,16}
    \(?\d+\)?[-.\s]?\d+[-.\s]?\d+
     
    Cynthia Ol2.345.6789 ( contact/whatsApp )
     
    washing machine 
     
    Result: Ol2.345.6789

  4. clear list(%urls)
    add list to list(%urls,$list from text("http://www.yahoo.com
    http://www.bing.com",$new line),"Delete","Global")
    clear list(%title)
    set list position(%urls,0)
    loop($list total(%urls)) {
        set(#curr,$list item(%urls,$list position(%urls)),"Global")
        navigate(#curr,"Wait")
        wait for browser event("Page Loaded","")
        divider
        comment("scrape text in between")
        set(#pagehtml,$document text,"Global")
        set(#title,$plugin function("File Management.dll", "$Find Regex First", #pagehtml, "(?<=<title>).*(?=</title>)"),"Global")
        set(#title,$plugin function("File Management.dll", "$Find Regex First", #pagehtml, "(?<=<title>).*(?=</title>)"),"Global")
        set(#keyword,$plugin function("File Management.dll", "$Find Regex First", #pagehtml, "(?<=\\<meta name\\=\\\"keywords\\\" content\\=\\\").*?(?=\\\"\\>)"),"Global")
        alert("title: {#title}
    head: {#keyword}")
        add item to list(%title,"{#title},{#keyword}","Don\'t Delete","Global")
        divider
        set(#next,$next list item(%urls),"Global")
    }
    save to file("{$special folder("Application")}\\test.txt",%title)

     

  5. http://www.7url.com/file/img/exbrecaptcha.jpg

    http://www.7url.com/file/img/exbrecaptcha1.jpg
     

    plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "//*[@id=\"g-recaptcha-response\"]", "style", "width: 250px; height: 40px; border: 1px solid rgb(193, 193, 193); margin: 10px 25px; padding: 0px; resize: none;")
    
    
    plugin command("ExBrowser.dll", "ExBrowser Type Text", "//*[@id=\"g-recaptcha-response\"]", #result)
    
    

    after the change attribute command, you will see a text box appear, get the answer from the provider and write to the text box

    • Like 1
  6. Hi, i am working on a page where it require to click a button and handle an open file windows, it is working fine in exbrowser.

    but when i am doing mutithread, i cant let it pop up the windows from multiple instances.

    is there a way to upload image in silent mode?

    this is the page elemant and code, it didnt look like it is able to use "change file field"
    http://prntscr.com/mp2kpc

    http://prntscr.com/mp2nok
     

    <div class="col-md-9" xpath="1">
                                        <div class="upload-photo gallery" id="gallery">
                                                                                <div class="col-md-4 picDiv">
                    
            <img src="https://s3.ap-southeast-1.amazonaws.com/origin-dsc.ibilik.com/production/images/rooms/temp/7365947/7365947_1_thumb.jpg" width="auto" alt="">
            
            <div class="del image-action remove">
                <i class="far fa-trash-alt"></i>
            </div>
            
            <div class="c_photo">
                <input id="cover_7365947_1_thumb" name="cover" class="validate" type="checkbox" value="7365947_1_thumb">
                <label for="cover_7365947_1_thumb">Cover Photo</label>
            </div>
    
            <div class="drop">
                <input type="hidden" id="file_data-7365947_1_thumb" name="file_data[]" value="7365947_1_thumb">
    
                <select class="form-control" name="preference-7365947_1_thumb" id="preference-7365947_1_thumb">
                    <option value="">Select Photo Tag</option>
                                        <option value="Room">
                            Room
                        </option>
                                        <option value="Kitchen">
                            Kitchen
                        </option>
                                        <option value="Bathroom">
                            Bathroom
                        </option>
                                    <option value="Other">Other</option>
                </select>                               
            </div>
        </div>
    </div>
                                    </div>
    
  7. Example 1
    allow popups("In New Window")
    navigate("http://www.javascript-coder.com/files/window-popup/javascript-window-open-example1.html", "Wait")
    click(<href="javascript: openwindow()">, "Left Click", "No")
    wait(4)
    in popup {
        set(#header, $scrape attribute(<title="Permanent link to jQuery Popups">, "innertext"), "Global")
        close page
    }
    

    both debug and compile bot not working

×
×
  • Create New...