Improves detection of wp-content folder

This commit is contained in:
erwanlr
2019-04-17 15:51:56 +01:00
parent f4db2d65f1
commit 08c574aff8
7 changed files with 40 additions and 9 deletions

View File

@@ -1,8 +1,9 @@
# frozen_string_literal: true
describe WPScan::Target do
subject(:target) { described_class.new(url) }
subject(:target) { described_class.new(url, opts) }
let(:url) { 'http://ex.lo' }
let(:opts) { {} }
it_behaves_like WPScan::Target::Platform::WordPress