Jump to content
UBot Underground

How Would You Handle This?


Recommended Posts

this concept should work too

 

loop($list total(%url from file)) {
    set(#NLI$next list item(%url from file), "Global")
    if($plugin function("StringManagementPlugin.dll""$SMP IsEmpty"$find regular expression(#NLI"-|[0-9]"))) {
        then {
            add item to list(%cleaned urls#NLI"Delete""Global")
        }
        else {
        }
    }
}

Link to post
Share on other sites

final cut

 

list was 80k soo, needed the big guns

 

this is for the others Chris

 

plugin command("Bigtable.dll""Clear all large list")
plugin command("Bigtable.dll""Large list from file""LFF""{$special folder("Application")}\\10-13-2014.txt")
ui stat monitor("LFF: {$plugin function("Bigtable.dll""Large list total""LFF")}""cleaned: {$plugin function("Bigtable.dll""Large list total""clean")}

list pos: {#index}")
set(#index, 0, "Global")
loop($plugin function("Bigtable.dll""Large list total""LFF")) {
    set(#NLI$plugin function("Bigtable.dll""Large list item""LFF"#index), "Global")
    if($plugin function("StringManagementPlugin.dll""$SMP IsEmpty"$find regular expression(#NLI"-|[0-9]"))) {
        then {
            plugin command("Bigtable.dll""Add item to large list""clean"#NLI)
        }
        else {
        }
    }
    increment(#index)
}
save to file("{$special folder("Application")}\\clean.txt"$plugin function("Bigtable.dll""Large list return""clean"))

TC

Link to post
Share on other sites

here is the first version in large data and no loop

 

fixed regex too

 

plugin command("Diagnosticfunctions.dll""Stop Watch Reset")
plugin command("Diagnosticfunctions.dll""Stop Watch Start")
plugin command("Bigtable.dll""Clear all large list")
plugin command("Bigtable.dll""Large list from file""LFF""{$special folder("Application")}\\10-13-2014.txt")
plugin command("Bigtable.dll""large List from Regex""bad urls"$plugin function("Bigtable.dll""Large list return""LFF"), ".*(\\d|-).*\\..*""replace")
plugin command("Bigtable.dll""Compare large list""LFF""bad urls""Remove duplicates")
save to file("{$special folder("Application")}\\regexed--clean.txt"$plugin function("Bigtable.dll""Large list return""LFF"))
plugin command("Diagnosticfunctions.dll""Stop Watch Stop")
ui stat monitor("LFF: {$plugin function("Bigtable.dll""Large list total""LFF")}""cleaned: {$plugin function("Bigtable.dll""Large list total""bad urls")}

list pos: {#index}

timer: {$plugin function("Diagnosticfunctions.dll""Stop watch elasped time")}")

 

 

attached is the ubot file with both versions and timers

 

you will see why I tried without loop first.

 

loop 30 seconds

no loop 3 seconds

 

yes, I did it U5.5...I am proud to say

 

get your own list

you can make your own with "$rand text".com  then put some real domains in.

 

here are some

 

siite0.com
564-site.aol
google.com
site-2.com
site-three.com
bing.net
0-0auto.com
7545hgjhg.com
546jhk-jguy.ini

 

TC

chris url filter.ubot

  • Like 1
Link to post
Share on other sites

This works for me.

 

set(#urls"siite0.com
siite0s.com
564-site.aol
google.com
site-2.com
site-three.com
siiste0.com
564-site.aol
kdh.com
site-22.com
site-three.com
1siTe.com
abc.com
ab2c.com
a1a.com
a1a-az.com
abc.com/33
asfdadfs.com
afaf43asv.com
12a.com
123.com
afdr.com
rty.com/67
""Global")
alert(#urls)
clear list(%new_urls)
add list to list(%new_urls$list from text($replace regular expression(#urls".*[0-9]\\\\..*|.*-.*|.*-.*|\\d.*|.*\\d.*"$nothing), $new line), "Delete""Global")
alert(%new_urls)

  • Like 1
Link to post
Share on other sites

Well...I got to looking and I figured out another regex expression as well as using the "$find regular expression" node.  So check it out.

 

This technique looks for what to keep vs. looking at what to eliminate.

set(#urls, "siite0.com
siite0s.com
564-site.aol
google.com
site-2.com
site-three.com
siiste0.com
564-site.aol
kdh.com
site-22.com
site-three.com
1siTe.com
abc.com
ab2c.com
a1a.com
a1a-az.com
abc.com/33
asfdadfs.com
afaf43asv.com
12a.com
123.com
afdr.com
rty.com/67
", "Global")
alert(#urls)
clear list(%new_urls)
add list to list(%new_urls, $list from text($find regular expression(#urls, "\\s[a-zA-Z]\{1,\}\\.[a-zA-Z]\{1,3\}\\s"), $new line), "Delete", "Global")
alert(%new_urls)

Buddy

  • Like 2
Link to post
Share on other sites

 

The file management plugin has a command for this:

plugin command("File Management.dll", "remove all from list", %urls, "(\\d|-)")

Many hidden gems indeed!!

 

Guys, what is not evident is that these lists are in the 80k range. All these solutions are useable for small list that Ubot can handle. Keep in mind that size does matter here, hehe. :)

  • Like 1
Link to post
Share on other sites

here, I made a bot to make random urls like the ones for this thread. Like I mention before these list are 80k ish and not mentioned in OP. So, try your solutions with an 80k list or even more.

 

You can  make as many as you want. Not the fastest maker but I don't think there was a need to make it fast.

 

Again your solutions are great.

 

TC

random-url-maker.ubot

Link to post
Share on other sites

Many hidden gems indeed!!

 

Guys, what is not evident is that these lists are in the 80k range. All these solutions are useable for small list that Ubot can handle. Keep in mind that size does matter here, hehe. :)

 

I just used your script to create 100k urls. My code cleaned it in like a second. It took 30 seconds just to add the list from the file but if you already have the list ready it will do 80k no problem ;)

  • Like 1
Link to post
Share on other sites

That is bad ass!!

 

Have not thought about using it that way until you shared it here. Didn't have a chance to use it either.

 

That's what this forum is about sharing and learning and I appreciate both!! :)

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...