Sha256: f30915d83918e96c5249b0d45e9215ee69300ec75df9d63781fb11c13284dc41
Contents?: true
Size: 498 Bytes
Versions: 301
Compression:
Stored size: 498 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 @description = "Check for user input in uses of send_file" 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
301 entries across 287 versions & 4 rubygems