Sha256: 9774b750399ad34ba0d70f542ed6bfa2c621525d715e7f914b5d236852adbb12
Contents?: true
Size: 1.75 KB
Versions: 4
Compression:
Stored size: 1.75 KB
Contents
=begin Copyright 2010-2012 Tasos Laskos <tasos.laskos@gmail.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =end # # Looks for and logs e-mail addresses. # # @author Tasos "Zapotek" Laskos <tasos.laskos@gmail.com> # # @version 0.1.1 # class Arachni::Modules::EMails < Arachni::Module::Base def run match_and_log( /[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}/i ) do |email| return false if audited?( email ) audited( email ) end end def self.info { name: 'E-mail address', description: %q{Greps pages for disclosed e-mail addresses.}, elements: [ Element::BODY ], author: 'Tasos "Zapotek" Laskos <tasos.laskos@gmail.com>', version: '0.1.1', targets: %w(Generic), issue: { name: %q{Disclosed e-mail address.}, description: %q{An e-mail address is being disclosed.}, cwe: '200', severity: Severity::INFORMATIONAL, remedy_guidance: %q{E-mail addresses should be presented in such a way that it is hard to process them automatically.} } } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
arachni-0.4.1.3 | modules/recon/grep/emails.rb |
arachni-0.4.1.2 | modules/recon/grep/emails.rb |
arachni-0.4.1.1 | modules/recon/grep/emails.rb |
arachni-0.4.1 | modules/recon/grep/emails.rb |