Skip to content

Commit

Permalink
Merge 98007d7 into c65ad41
Browse files Browse the repository at this point in the history
  • Loading branch information
summercms committed Feb 1, 2021
2 parents c65ad41 + 98007d7 commit b016a84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/applications-bots.php
Original file line number Diff line number Diff line change
Expand Up @@ -384,8 +384,8 @@
[ 'name' => 'Node Fetch', 'id' => 'node', 'regexp' => '/node-fetch\/([0-9.]*)/u' ],
[ 'name' => 'Wget', 'id' => 'wget', 'regexp' => '/Wget\/([0-9.]*)/u' ],
[ 'name' => 'Curl', 'id' => 'curl', 'regexp' => '/^curl\/([0-9.]*)/u' ],

[ 'name' => 'Go', 'id' => 'package', 'regexp' => '/Go [0-9\.]+ package http/u' ],
[ 'name' => 'Go', 'id' => 'package', 'regexp' => '/Go http package/u' ],
[ 'name' => 'Java', 'id' => 'java', 'regexp' => '/^Java\/([0-9.]*)/u' ],
[ 'name' => 'Perl', 'id' => 'simple', 'regexp' => '/LWP::Simple\//u' ],
[ 'name' => 'Perl', 'id' => 'libwww', 'regexp' => '/libwww-perl\//u' ],
Expand Down
4 changes: 4 additions & 0 deletions tests/data/bots/generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -998,3 +998,7 @@
headers: 'User-Agent: Mozilla/5.0 zgrab/0.x'
readable: Zgrab
result: { browser: { name: Zgrab }, device: { type: bot } }
-
headers: 'User-Agent: Go http package'
readable: Go
result: { browser: { name: Go }, device: { type: bot } }

0 comments on commit b016a84

Please sign in to comment.