Skip to content

Commit 773b523

Browse files
committed
Fix namespaces in specs
1 parent 1c4686e commit 773b523

File tree

9 files changed

+26
-26
lines changed

9 files changed

+26
-26
lines changed

spec/lib/msf/core/exploit/http/jboss/base_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
require 'spec_helper'
33

44
require 'msf/core'
5-
require 'msf/http/jboss'
5+
require 'msf/core/exploit/http/jboss'
66

7-
describe Msf::HTTP::JBoss::Base do
7+
describe Msf::Exploit::Remote::HTTP::JBoss::Base do
88
subject do
99
mod = ::Msf::Exploit.new
10-
mod.extend Msf::HTTP::JBoss
10+
mod.extend Msf::Exploit::Remote::HTTP::JBoss
1111
mod.send(:initialize)
1212
mod
1313
end

spec/lib/msf/core/exploit/http/jboss/bean_shell_scripts_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
require 'spec_helper'
33

44
require 'msf/core'
5-
require 'msf/http/jboss'
5+
require 'msf/core/exploit/http/jboss'
66

7-
describe Msf::HTTP::JBoss::BeanShellScripts do
7+
describe Msf::Exploit::Remote::HTTP::JBoss::BeanShellScripts do
88
subject do
99
mod = ::Msf::Exploit.new
10-
mod.extend Msf::HTTP::JBoss
10+
mod.extend Msf::Exploit::Remote::HTTP::JBoss
1111
mod.send(:initialize)
1212
mod
1313
end

spec/lib/msf/core/exploit/http/jboss/bean_shell_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
require 'spec_helper'
33

44
require 'msf/core'
5-
require 'msf/http/jboss'
5+
require 'msf/core/exploit/http/jboss'
66

7-
describe Msf::HTTP::JBoss::BeanShell do
7+
describe Msf::Exploit::Remote::HTTP::JBoss::BeanShell do
88

99
subject do
1010
mod = ::Msf::Exploit.new
11-
mod.extend Msf::HTTP::JBoss
11+
mod.extend Msf::Exploit::Remote::HTTP::JBoss
1212
mod.send(:initialize)
1313
mod
1414
end

spec/lib/msf/core/exploit/http/jboss/deployment_file_repository_scripts_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
require 'spec_helper'
33

44
require 'msf/core'
5-
require 'msf/http/jboss'
5+
require 'msf/core/exploit/http/jboss'
66

7-
describe Msf::HTTP::JBoss::DeploymentFileRepositoryScripts do
7+
describe Msf::Exploit::Remote::HTTP::JBoss::DeploymentFileRepositoryScripts do
88
subject do
99
mod = ::Msf::Exploit.new
10-
mod.extend Msf::HTTP::JBoss
10+
mod.extend Msf::Exploit::Remote::HTTP::JBoss
1111
mod.send(:initialize)
1212
mod
1313
end

spec/lib/msf/core/exploit/http/jboss/deployment_file_repository_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
require 'spec_helper'
33

44
require 'msf/core'
5-
require 'msf/http/jboss'
5+
require 'msf/core/exploit/http/jboss'
66

7-
describe Msf::HTTP::JBoss::DeploymentFileRepository do
7+
describe Msf::Exploit::Remote::HTTP::JBoss::DeploymentFileRepository do
88

99
subject do
1010
mod = ::Msf::Exploit.new
11-
mod.extend Msf::HTTP::JBoss
11+
mod.extend Msf::Exploit::Remote::HTTP::JBoss
1212
mod.send(:initialize)
1313
mod
1414
end

spec/lib/msf/core/exploit/http/typo3_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
require 'msf/core'
55
require 'rex/proto/http/response'
6-
require 'msf/http/typo3'
6+
require 'msf/core/exploit/http/typo3'
77

8-
describe Msf::HTTP::Typo3 do
8+
describe Msf::Exploit::Remote::HTTP::Typo3 do
99
subject do
1010
mod = ::Msf::Module.new
1111
mod.extend described_class

spec/lib/msf/core/exploit/http/wordpress/base_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
require 'msf/core'
55
require 'msf/core/exploit'
66
require 'rex/proto/http/response'
7-
require 'msf/http/wordpress'
7+
require 'msf/core/exploit/http/wordpress'
88

9-
describe Msf::HTTP::Wordpress::Base do
9+
describe Msf::Exploit::Remote::HTTP::Wordpress::Base do
1010
subject do
1111
mod = ::Msf::Exploit.new
12-
mod.extend ::Msf::HTTP::Wordpress
12+
mod.extend ::Msf::Exploit::Remote::HTTP::Wordpress
1313
mod.send(:initialize)
1414
mod
1515
end

spec/lib/msf/core/exploit/http/wordpress/login_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
require 'msf/core'
55
require 'msf/core/exploit'
66
require 'rex/proto/http/response'
7-
require 'msf/http/wordpress'
7+
require 'msf/core/exploit/http/wordpress'
88

9-
describe Msf::HTTP::Wordpress::Login do
9+
describe Msf::Exploit::Remote::HTTP::Wordpress::Login do
1010
subject do
1111
mod = ::Msf::Exploit.new
12-
mod.extend ::Msf::HTTP::Wordpress
12+
mod.extend ::Msf::Exploit::Remote::HTTP::Wordpress
1313
mod.send(:initialize)
1414
mod
1515
end

spec/lib/msf/core/exploit/http/wordpress/version_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
require 'msf/core'
55
require 'msf/core/exploit'
66
require 'rex/proto/http/response'
7-
require 'msf/http/wordpress'
7+
require 'msf/core/exploit/http/wordpress'
88

9-
describe Msf::HTTP::Wordpress::Version do
9+
describe Msf::Exploit::Remote::HTTP::Wordpress::Version do
1010
subject do
1111
mod = ::Msf::Exploit.new
12-
mod.extend ::Msf::HTTP::Wordpress
12+
mod.extend ::Msf::Exploit::Remote::HTTP::Wordpress
1313
mod.send(:initialize)
1414
mod
1515
end

0 commit comments

Comments
 (0)