-
Content Count
213 -
Joined
-
Last visited
-
Days Won
10
Posts posted by fastlinks
-
-
regex
(?<=noscript\>)(.|\n)*?(?=\<\/noscript\>)
- 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?
-
if the page do not show "i am not a robot" checkbox, it might be invisible recpatcha
you cant click "next/submit" button.
you need to run javascript to continue..
check sample here
http://network.ubotstudio.com/forum/index.php/topic/22391-advanced-captcha-invisible-recaptcha/ -
goto
C:\Users\{computer_name}\AppData\Roaming\UBot Studio\Browser
delete the version folder, then run ubot again.
it should download again
-
add me on skype: ipowerhost2
and let me know the target website, i will try -
you can try it using exbrowser, manually solve captcha for few times until it mark you as "trusted", then use exb save the cookie to file...
in the bot when run chrome browser, load the site cookies before the automation.
(but i think it will be hard for a google site) -
I am using ubot 5.. just sometime we will still need v4 for some work.
-
I am not able to run ubot version 4 on my windows 10 pc, do you guys having the same issue?
these .NET version is installed by default on win 10
.NET 3.5
.NET 4.7
now even ubot launcher is not working, may be it happens after ubot v6 installation.
Anyone have a workaround or solution? -
Hi, i have problem running ubot launcher 1 on windows 10, therefore i buy version 2, but this version do not detect any plugin and ubot version.
https://prnt.sc/mz0u5l
do you have any solution to make it work?
-
i have resolved it.
it need to run javascript for the callback function (without click on the submit/register button)
run javascript("_submitForm();")
the call back value is shown in the page source
data-size="invisible" data-callback="_submitForm"
- 4
-
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
-
-
to get page source
or
to find text value in between x & y
<license>abc</license>
(?<=<license>).*(?=</license>)answer: abcsome 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 machineResult: Ol2.345.6789 -
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)
-
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
- 1
-
plugin command("ExBrowser.dll", "ExBrowser Run Javascript", "var element = document.getElementsByClassName(\'slider\')[1]; element.scrollTo(5, element.scrollHeight);")
Thanks for your help, but i tested with the code above and it do not move the slider.
here is the web skype
https://preview.web.skype.com/
-
just a quick question
is the plugin still work in 2019?
can it scrape all the skype contact and post a message? -
hi, thanks for the answer
but the code you provide is to scroll the main page.
if you see the screenshot, the skype contact list is NOT on the main page, but a javascript pop up, so the above code wont work. -
i try to scrape the contact list from skype (web version), but i am not able to scroll to bottom to load more contact from this scroll bar.
i think it need to run javascript, anyone know how to do it in exbrowser? thanks a lot.
http://7url.com/ubotimg/scrolldown.jpg -
plugin command("ExBrowser.dll", "ExBrowser Change Attribute", "x://*[@id=\"g-recaptcha-response\"]", "style", "width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none;")
this code will remove the display:none from the style attribute
-
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>
-
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
-
you are right, may be X will need another 2 years to able to use.
-
I tried the allow pop up - in new browser example on ubot wiki, but it never pop up anything either in ubot and compile bot.
is it just me?
https://wiki.ubotstudio.com/wiki/In_Popup
Read .ubot File Code
in General Discussion
Posted
thanks bro. it worked 100%