Memprofiling - Increases the top to be displayed to 15

This commit is contained in:
erwanlr
2019-03-21 20:50:57 +00:00
parent d407815c30
commit 95eb6a732c

View File

@@ -3,9 +3,7 @@
require 'memory_profiler' # https://github.com/SamSaffron/memory_profiler
require 'wpscan'
report = MemoryProfiler.report(top: 10) do
# Couldn't we just load the ./wpscan here ?
# require_relative 'wpscan' doesn't work
report = MemoryProfiler.report(top: 15) do
WPScan::Scan.new do |s|
s.controllers <<
WPScan::Controller::CustomDirectories.new <<