INNER CODE UNIT · Ruby

impact

thesp0nge/dawnscanner · lib/cvss/cvss.rb:44

      impact = 10.41 * (1 - (1-c[@base[:c].to_sym]) * (1-i[@base[:i].to_sym]) * (1-a[@base[:a].to_sym]))
      f = 0
      f = 1.176 unless impact == 0

      (((0.6 * impact) + (0.4*exploitability) - 1.5) * f).round(1)

    end
  end
end

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…