Jump to content
UBot Underground

JDJ

Fellow UBotter
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

1 Neutral

About 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.

  1. 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.
  2. 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.
  3. 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> .
  4. 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
  5. 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.
  6. Nice find. Is it just me though, or does this cause browser.exe to crash more often?
  7. 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.
  8. 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.
  9. Are they zipped up, or are you sending over raw .exe files?
  10. 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.
  11. 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.
  12. Thanks for the example. Looks like ip.cc is going to get hit hard by some ubotters!
  13. 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
  14. 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.
×
×
  • Create New...