class Brakeman::CheckSendFile

Checks for user input in send_file()

Public Instance Methods

run_check() click to toggle source
# File lib/brakeman/checks/check_send_file.rb, line 10
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