sbm128 12 Posted December 4, 2016 Report Share Posted December 4, 2016 I'm using the following GET command to pull a proxy list:https://hidester.com/proxydata/php/data.php?mykey=data&offset=0&limit=900&orderBy=latest_check&sortOrder=DESC&country=&port=&type=15&anonymity=3&ping=3&gproxy=2 Then attempting to add the list to a list with this regular expression:\b(??:2(?:[0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])\.){3}(??:2([0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9]))\b Now I've tested the regex expression, and it is correct (http://regexr.com/38odc), but for some reason, running this command only adds half of an ip to the list, and only grabs maybe 1/4 of them. Here's a screenshot of the debugger: http://i.imgur.com/hNHSb56.png I'm at a loss here. Regex checks out, both GET and navigate/$document text methods appear to grab the content fine... If anyone could take a shot at this, i'd really appreciate it. Heres the ubot code sample (using the HTTP GET plugin)4 define hidester { set(#hidesterP1,$plugin function("HTTP post.dll", "$http get", "https://hidester.com/proxydata/php/data.php?mykey=data&offset=0&limit=900&orderBy=latest_check&sortOrder=DESC&country=&port=&type=15&anonymity=3&ping=3&gproxy=2", "", "", "", ""),"Global") add list to list(%primaryList,$find regular expression(#hidesterP1,"\\b(??:2(?:[0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])\\.)3(??:2([0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9]))\\b"),"Don\'t Delete","Global") }And here's the same idea NOT using the HTTP GET plugin define hidester2 { navigate("https://hidester.com/proxydata/php/data.php?mykey=data&offset=0&limit=900&orderBy=latest_check&sortOrder=DESC&country=&port=&type=15&anonymity=3&ping=3&gproxy=2","Wait") add list to list(%primaryList,$find regular expression($document text,"\\b(??:2(?:[0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9])\\.)3(??:2([0-4][0-9]|5[0-5])|[0-1]?[0-9]?[0-9]))\\b"),"Don\'t Delete","Global") } What in the actual crap is the problem here? I've been smashing my head against a wall for over an hour now, and can't even BEGIN to possibly derive the issue. Anyone have any idea?!????? 1 Quote Link to post Share on other sites
Solution pash 504 Posted December 4, 2016 Solution Report Share Posted December 4, 2016 Not all web will work properly.REGEX a variety of formats Each different languages. try add list to list(%primaryList,$find regular expression($document text,"\\b(?:[0-9]\{1,3\}\\.)\{3\}[0-9]\{1,3\}\\b"),"Don\'t Delete","Global") 1 Quote Link to post Share on other sites
sbm128 12 Posted December 5, 2016 Author Report Share Posted December 5, 2016 worked like a charm, thanks a lot pash! Good to know, as well, that regex can be picky, i didn't realize that. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.