msfrpc-simple 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,7 +20,7 @@ module Msf
20
20
  # project - project name we want to use for this connection.
21
21
  #
22
22
  # Returns nothing.
23
- def initialize(project="default", username, password, user_opts)
23
+ def initialize(project="default", username, password, user_opts=nil)
24
24
 
25
25
  #
26
26
  # Merge our project in, and set this as the project we'll
@@ -36,7 +36,7 @@ module Msf
36
36
  user_opts.merge!(conn_params)
37
37
 
38
38
  #
39
- # Connect to the RPC daemon using the default r7 client
39
+ # Connect to the RPC daemon using the default client
40
40
  #
41
41
  @client = Msf::RPC::Client.new(user_opts)
42
42
 
@@ -152,7 +152,14 @@ module Msf
152
152
  #
153
153
  # This module runs a number of _login modules
154
154
  #
155
- def fw_bruteforce(options)
155
+ def bruteforce_host(options)
156
+ return "Not Implemented"
157
+ end
158
+
159
+ #
160
+ # This module runs a number of exploit modules
161
+ #
162
+ def bruteforce_host(options)
156
163
  return "Not Implemented"
157
164
  end
158
165
 
@@ -7,7 +7,7 @@ module Msf
7
7
  def start_report(options)
8
8
  raise "Not Implemented"
9
9
  =begin
10
- task = @rpc.call("pro.start_report", {
10
+ task = @client.call("pro.start_report", {
11
11
  'DS_REPORT_TYPE' => options[:report_type],
12
12
  'DS_WHITELIST_HOSTS' => options[:whitelist],
13
13
  'DS_BLACKLIST_HOSTS' => options[:blacklist],
@@ -36,7 +36,7 @@ module Msf
36
36
  def start_discover(options)
37
37
  raise "Not Implemented"
38
38
 
39
- #task = @rpc.call("pro.start_discover", {
39
+ #task = @client.call("pro.start_discover", {
40
40
  # 'DS_WHITELIST_HOSTS' => options[:whitelist],
41
41
  # 'DS_BLACKLIST_HOSTS' => options[:blacklist],
42
42
  # 'workspace' => options[:workspace],
@@ -1,7 +1,7 @@
1
1
  module Msf
2
2
  module RPC
3
3
  module Simple
4
- VERSION = "0.0.2"
4
+ VERSION = "0.0.3"
5
5
  end
6
6
  end
7
- end
7
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msfrpc-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-16 00:00:00.000000000 Z
12
+ date: 2012-11-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Simple wrapper for the Metasploit RPC API
15
15
  email: