Skip to content

Commit

Permalink
Detect Kiwi TCMS (#7604)
Browse files Browse the repository at this point in the history
  • Loading branch information
atodorov authored Feb 26, 2024
1 parent 61bbb71 commit 307c96a
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Tests/Parser/Client/fixtures/library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -611,3 +611,27 @@
type: library
name: request
version: ""
-
user_agent: kiwi-tcms/13.0
client:
type: library
name: Kiwi TCMS
version: 13.0
-
user_agent: kiwi-tcms/12.6.1-Enterprise
client:
type: library
name: Kiwi TCMS
version: 12.6.1
-
user_agent: tcms-api/12.9.1/Python 3.11.8 (main, Feb 7 2024, 04:02:05) [GCC 11.4.0]
client:
type: library
name: Kiwi TCMS API
version: 12.9.1
-
user_agent: tcms-api/12.7/Java
client:
type: library
name: Kiwi TCMS API
version: 12.7
18 changes: 18 additions & 0 deletions Tests/fixtures/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6862,3 +6862,21 @@
producer:
name: Barracuda Networks, Inc.
url: https://www.barracudanetworks.com/
-
user_agent: kiwitcms-gitops/0.1
bot:
name: Kiwi TCMS GitOps
category: Service Agent
url: https://kiwitcms.org
producer:
name: Open Technologies Bulgaria, Ltd.
url: https://kiwitcms.org
-
user_agent: kiwitcms-gitops/1
bot:
name: Kiwi TCMS GitOps
category: Service Agent
url: https://kiwitcms.org
producer:
name: Open Technologies Bulgaria, Ltd.
url: https://kiwitcms.org
8 changes: 8 additions & 0 deletions regexes/bots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4002,6 +4002,14 @@
name: 'Barracuda Networks, Inc.'
url: 'https://www.barracudanetworks.com/'

- regex: 'kiwitcms-gitops/[\d.]+'
name: 'Kiwi TCMS GitOps'
category: 'Service Agent'
url: 'https://kiwitcms.org'
producer:
name: 'Open Technologies Bulgaria, Ltd.'
url: 'https://kiwitcms.org'

# Generic detections
- regex: 'nuhk|grub-client|Download Demon|SearchExpress|Microsoft URL Control|borg|altavista|dataminr\.com|tweetedtimes\.com|teoma|oegp|http%20client|htdig|mogimogi|larbin|scrubby|searchsight|semanticdiscovery|snappy|vortex(?!(?: Build|Plus))|zeal(?!ot)|dataparksearch|findlinks|BrowserMob|URL2PNG|ZooShot|GomezA|Google SketchUp|Read%20Later|7Siters|centuryb\.o\.t9|InterNaetBoten|EasyBib AutoCite|Bidtellect|tomnomnom/meg|cortex|Re-re Studio|adreview|AHC/|NameOfAgent|Request-Promise|ALittle Client|Hello,? world|wp_is_mobile|0xAbyssalDoesntExist|Anarchy99|daumoa,damoa,daum,daumos,duamoa,duam,duamos|^revolt|nvd0rz|xfa1|Hakai|gbrmss|fuck-your-hp|IDBTE4M CODE87|Antoine|Insomania|Hells-Net|b3astmode|Linux Gnu \(cow\)|Test Certificate Info|iplabel|Magellan|TheSafex?Internetx?Search|kirkland-signature|^xenu|^ZmEu|^(?:chrome|firefox|Zeus)$'
name: 'Generic Bot'
Expand Down
10 changes: 10 additions & 0 deletions regexes/client/libraries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
# @license http://www.gnu.org/licenses/lgpl.html LGPL v3 or later
###############

- regex: 'kiwi-tcms/(\d+[\.\d]+)'
name: 'Kiwi TCMS'
version: '$1'
url: 'https://kiwitcms.org'

- regex: 'tcms-api/(\d+[\.\d]+)'
name: 'Kiwi TCMS API'
version: '$1'
url: 'https://kiwitcms.org'

- regex: 'Fuzz Faster U Fool v(\d+[\.\d]+)'
name: 'FFUF'
version: '$1'
Expand Down

0 comments on commit 307c96a

Please sign in to comment.