JDJ
Fellow UBotter-
Content Count
22 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout JDJ
-
Rank
Member
Profile Information
-
Gender
Not Telling
System Specs
-
OS
Windows 10
-
Total Memory
More Than 9Gb
-
Framework
unsure
-
License
Developer Edition
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
Would like to know if anyone can tell me if this will work before I attempt to do this on my LInux server which could be quite a task. Thanks.
-
Is Ubot Stealth Legit, Or Is It Just Another Advertising Email?
JDJ replied to -Illuminati-'s topic in General Discussion
I think it said later this month somewhere.. -
Conditional Expression Help Pulling out a Text Block
JDJ replied to cujo56's topic in Regex (Regular Exp<b></b>ressions) 101
Glad you got the answer, sorry if I confused you further.. as I was suggesting some logic that could be used to do it without bothering with regular expressions at all - but didn't have time to come up with the code last night. -
Conditional Expression Help Pulling out a Text Block
JDJ replied to cujo56's topic in Regex (Regular Exp<b></b>ressions) 101
Do you need to use a regular expression for this? It looks like each travel information paragraph itself contains no newlines - so each separate item is deliminated by a newline? You could create a list based on everything between the outside paragraph tags with a newline as the delimiter, then remove any line that starts with <br> or <strong> . -
I actually ran into some further issues with Json parsing and string manipulation that can be handled easily with Javascript, but unfortunately ran into out of memory errors when using Ubot's built in eval statement.. I tried opening and closing browsers to do the work, but this led to browser.exe crashes... so I decided to create a plugin that uses an alternative javascript engine to the one in the browser to do the eval work.. and it works great without the memory issues and extremely fast (actually.. testing out more scripting with it - it seems it may be even faster than Ubot at a lot of
-
I would say definitely use regex for this for reasons of stability and speed. I've written a bot that parses through thousands of json responses from a few different APIs.. Originally I used the eval function to go through the results but the memory usage from browser.exe was massive with just a few hundred results, the speed was terrible, and occasionally there would be browser.exe crashes. Regular expressions worked quickly and without any issues.
-
[HowTo] use Ubots Web-Inspector an a better Way
JDJ replied to blumi40's topic in Tutorials, Tips and Tricks
Nice find. Is it just me though, or does this cause browser.exe to crash more often? -
Unless it's your own server logs that you're looking at the tracker is javascript or image based.. neither of which will load if you are loading the page with sockets. You'll need to load the page in a browser probably with javascript and images on.
-
May be a bad assumption by me.. but with 50 threads I'm guessing you're using sockets? If that's the case you won't show up on a javascript based tracker.
-
Are they zipped up, or are you sending over raw .exe files?
-
You could also just use Javascript and a regex - built this from a result on the first page of Google: navigate("http://www.ubotstudio.com/resources", "Wait") alert($eval("var word = \'Ubot\'; var text = document.body.innerHTML; var regex = new RegExp ( word+\'(?=[\\\\s.,;—)\"”\\\\\'-]+)\', \'gi\'); text.match(regex).length;")) Gets the count for a specific word - Ubot in this case.
-
It's definitely doable.. you can use the find index command to find the index of each piece of text under text functions. Find the first piece of text with find index, then get the substring from the end of the word (the index found + the length of the word) and find the next index within the substring and so on until you cannot find the word in the substring.
-
[Free] Super Fast Proxy Checker (Sockets/threaded) Source Code!
JDJ replied to Gogetta's topic in Bots and Scripts
Thanks for the example. Looks like ip.cc is going to get hit hard by some ubotters! -
Parent, Child and Sibling learning/helping search bot
JDJ replied to Ubot_guy's topic in Tutorials, Tips and Tricks
I think it's interesting that you got it working at all in V4 UbbotBuddy I thought I was the only one until I saw one of your videos talking about how child wasn't working right in v4. I couldn't even get the most basic example - based on some html shown in the Ubot documentation to run properly. set(#pageText, "<html> <head> <title>DOM Tutorial</title> </head> <body> <h1>DOM Lesson one</h1> <p>Hello world!</p> </body> </html>", "Global") load html(#pageText) alert($scrape attribute($element child(&l -
Parent, Child and Sibling learning/helping search bot
JDJ replied to Ubot_guy's topic in Tutorials, Tips and Tricks
I've encountered this issue also great2bme.. it appears as though element child does not work properly - as it did way back in Ubot 3.5. There are way more instances now (Ubot 4 and 5) when element child returns a blank value even though you can see there is a child in the advanced element editor, and then really the only way to get that attribute is to scrape the whole thing and edit the string.