Class: Zoom::SecurityProfile::Passwords

Inherits:
Zoom::SecurityProfile show all
Defined in:
lib/zoom/profile/passwords.rb

Instance Attribute Summary

Attributes inherited from Profile

#exts, #files, #format_flags, #regex, #taggable

Instance Method Summary collapse

Methods inherited from Zoom::SecurityProfile

#after, #before, #exe, #flags, #grep_like_format_flags, #only_exts_and_files, #preprocess, #tool, #translate

Methods inherited from Profile

#after, #before, #class_name, #exe, #flags, from_json, #grep_like_format_flags, #grep_like_tags?, #name, #only_exts_and_files, #preprocess, profile_by_name, subclasses, #to_s, #tool, #translate

Constructor Details

#initialize(n = nil, t = nil, f = nil, b = nil, a = nil) ⇒ Passwords

Returns a new instance of Passwords.



2
3
4
5
6
7
# File 'lib/zoom/profile/passwords.rb', line 2

def initialize(n = nil, t = nil, f = nil, b = nil, a = nil)
    super(n, t, f, b, a)
    # Don't search binary files
    # grep_like_format_flags(true)
    @regex = "(key|pa?ss(w(o?r)?d)?)[^:=,>]? *[:=,>]"
end