Skip to content

Commit

Permalink
Release v0.18.1
Browse files Browse the repository at this point in the history
Signed-off-by: HAHWUL <hahwul@gmail.com>
  • Loading branch information
hahwul committed Nov 1, 2024
1 parent 02dfece commit 196e3eb
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If applicable, add screenshots to help explain your problem.

**Versions**
- OS: [e.g. macos, linux]
- Version [e.g. v0.18.0]
- Version [e.g. v0.18.1]

**Additional context**
Add any other context about the problem here.
2 changes: 1 addition & 1 deletion shard.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Project Metadata
name: noir
version: 0.18.0
version: 0.18.1
authors:
- hahwul <hahwul@gmail.com>
- ksg97031 <ksg97031@gmail.com>
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: noir
base: core20
version: 0.18.0
version: 0.18.1
summary: Attack surface detector that identifies endpoints by static analysis.
description: |
Noir is an open-source project specializing in identifying attack surfaces for enhanced whitebox security testing and security pipeline.
Expand Down
2 changes: 1 addition & 1 deletion src/noir.cr
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require "./options.cr"
require "./techs/techs.cr"

module Noir
VERSION = "0.18.0"
VERSION = "0.18.1"
end

# Run options parser
Expand Down
6 changes: 3 additions & 3 deletions src/passive_scan/detect.cr
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ module NoirPassiveScan
case matcher.condition
when "and"
begin
matcher.patterns && matcher.patterns.all? { |pattern| content.match(Regex.new(pattern.to_s)) }
matcher.patterns && matcher.patterns.all? { |pattern| content.match(Regex.new(pattern.to_s)) }
rescue
false
end
end
when "or"
begin
matcher.patterns && matcher.patterns.any? { |pattern| content.match(Regex.new(pattern.to_s)) }
matcher.patterns && matcher.patterns.any? { |pattern| content.match(Regex.new(pattern.to_s)) }
rescue
false
end
Expand Down

0 comments on commit 196e3eb

Please sign in to comment.