Sha256: 2961a6caba765697ac42065ea461a640008a1be2b11f77a4644789bdc6ebe821
Contents?: true
Size: 436 Bytes
Versions: 2
Compression:
Stored size: 436 Bytes
Contents
require 'brakeman/checks/check_file_access' require 'brakeman/processors/lib/processor_helper' #Checks for user input in send_file() class Brakeman::CheckSendFile < Brakeman::CheckFileAccess Brakeman::Checks.add self def run_check Brakeman.debug "Finding all calls to send_file()" methods = tracker.find_call :target => false, :method => :send_file methods.each do |call| process_result call end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
brakeman-1.2.2 | lib/brakeman/checks/check_send_file.rb |
brakeman-1.2.1 | lib/brakeman/checks/check_send_file.rb |