Facebook Twitter gPlus rss LinkedIn
  • Board index
  • FAQ
  • Register
  • Login
  • BACK TO HUBLIST
FORUM.DCHUBLIST.ORG
Direct Connect hublist support board. http://dchublist.org

Regular expressions

Moderator: Demona

Post a reply
3 posts • Page 1 of 1
  • Reply with quote

Regular expressions

by Delion » Mon Jun 15, 2020 4:22 pm

There was a need in filtering client tags.

Provided as-is with hope to be useful.

Code: Select all
(H:(\d{1,5}/){2}\d{1,5})

(<\+\+\sV:0\.\d{1,4},M:[AP],)
_________________

(<FlylinkDC\+\+\sV:r\d{1,3}-x64-\d{1,5},M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3}-beta-\d{1,5},M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3}-beta\d{1,5},M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3}-\d{1,5},M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3}-beta-x64-\d{1,5},M:[AP],)

(<FlylinkDC\+\+\sV:\(r\d{1,3}\)-beta\d{1,2},M:[AP],)

(<FlylinkDC\+\+\sV:\(r\d{1,3}\)-beta\d{1,2}-x64,M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3}-x64,M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3}-beta\d{1,2},M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3}-beta\d{1,2}-x64,M:[AP],)

(<FlylinkDC\+\+\sV:r\d{1,3},M:[AP],)

(<FlylinkDC\+\+\sV:\(r\d{1,3}\)-x64,M:[AP],)

(<FlylinkDC\+\+\sV:\(r\d{1,3}\),M:[AP],)
_______________________________

(<ApexDC\+\+\sV:\d{1}\.\d{1}\.\d{1},M:[AP],)

(<SSQLite\+\+\sV:\d{1}\.\d{1,2}\.\d{1,5},M:[AP],)

(<StrongDC\+\+\sV:\d{1}\.[0-9]\d,M:[AP],)

(<StrgDC\+\+\sV:\d{1}\.\d{1,2},M:[AP],)

(<StrgDC\+\+\sV:\d{1}\.\d{1,2}\.\d{1,5},M:[AP],)

(<AirDC\+\+\sV:\d{1}\.\d{1,2},M:[AP],)

(<EiskaltDC\+\+\sV:\d{1}\.\d{1,2}\.\d{1,2},M:[AP],)

(<AirDC\+\+w\sV:\d{1}\.\d{1,2}\.\d{1,2},M:[AP],)

(<Shareaza\sV:\d{1}\.\d{1,2}\.\d{1,2}.\d{1,2},M:[AP],)

(<GreylinkDC\+\+\sV:\d{1}\.\d{1,2}\.\d{1,2},M:[AP],)

(<pl\+\+\sV:\d{1}\.\d{1,2},M:[AP],)

(<DDD\+\+\sV:\d{1}\.\d{1,2},M:[AP],)

(<MLDC\sV:\d{1}\.\d{1}\.\d{1},M:[AP],)
_________________

(<FlylinkDC\+\+\sV:\d{1,3}\.\d{1,5}-beta-x64,M:[AP],)

(<FlylinkDC\+\+\sV:\d{1,3}\.\d{1,5}-x64,M:[AP],)

(<FlylinkDC\+\+\sV:\d{1,3}\.\d{1,5}-x86,M:[AP],)
_________________

\,L:\d{1,6}>

\,S:\d{1,6}
Last edited by Delion on Wed Oct 20, 2021 12:48 pm, edited 1 time in total.
Delion
 
Posts: 152
Joined: Thu Nov 15, 2018 12:37 pm
  • Private message

  • Reply with quote

Re: RegExp

by Delion » Wed Oct 20, 2021 12:45 pm

Code: Select all
r50[1-3]|r50[4-5](\-beta)?(\-x64)?\-(20\d\d\d|21([0-8]\d\d|\d[0-6]\d|\d7[0-2]))


A "simple" regex filter to detect Flylinks with no TLS 1.3 support on ADC hub (similar NMDC filter is different).
Last edited by Delion on Thu Sep 22, 2022 6:41 am, edited 1 time in total.
Delion
 
Posts: 152
Joined: Thu Nov 15, 2018 12:37 pm
  • Private message

  • Reply with quote

Re: Regular expressions

by Delion » Thu Sep 22, 2022 6:38 am

Code: Select all
(gl\+\+|Greylink|FglinkDC|Avalink|ApexDC\+\+\ss14|DDD\+\+|pl\+\+|SSQLite|StrgDC\+\+\s\(r|RSX\+\+|z(k?)\+\+|^<P2P|MagadanDC)


Another simple regex filter to detect (very) outdated and malicious DC clients. Made for ADC hubs only.

P.S. This does not include StrongDC++ itself, just its rare mods like PPA's SQL mod etc etc etc
Delion
 
Posts: 152
Joined: Thu Nov 15, 2018 12:37 pm
  • Private message


Post a reply
3 posts • Page 1 of 1

Return to GOOD READS

  • Board index
  • The team • Delete all board cookies • All times are UTC - 5 hours

Preset Styles

Select variation:

Main Menu

User Menu

  • FAQ
  • Members
  • Register
  • Login

Login

Who is online

Users browsing this forum: No registered users and 2 guests

Our Team:

ADMIN AKRUK DEREK ESENTIAL
THE CROW DELION CYBERGHOST404
 

HTTPS://DCHUBLIST.ORG
© 2020 MULTIPROTOCOL DC HUBLIST
 
admin@dchublist.org
 

View new posts

  • Happy 2023 New Year. by Admin
  • Re: Lets introduce ourselves! by tmatecc
  • Re: How to compile ADCH++ Ubuntu 20.04 +22.04LTS by Admin
  • Re: DC++ CLIENT by Jacek Sieka.[ Up To Date ] by Demona
  • Re: Regular expressions by Delion
  • *Certificate expiration date for NMDCS [FIXED] by Admin
  • Re: I'm in need of good phpbb 3.0 antispam. by Marchello
  • Version 1.9.3 [ENEY] of hublist code is in. 5.25.2022 by Admin
Reset
  • HUBLIST HOME
  • HUB LIST
  • HUB STATS
  • NEW HUBS