metasploit-runner 0.1.6 → 0.1.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/MetasploitPenTestScript/version.rb +1 -1
- data/lib/metasploit/exploit.rb +12 -10
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ade37ee5ad6a5f514b47ade631cc9c3c2504ef65
|
4
|
+
data.tar.gz: f3ca83cd02dec9d40044cd9e6d0f9b636c394bd3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b8567fecac69cb76a7b1f3ebced3073aff8356a86e0d62d5b0cc361ca93d8a504d1f29d3b3627aadec406e13cb2625c090511256ac5ddedd9d9b9287fd069f9
|
7
|
+
data.tar.gz: 3a8e4a7e9bd96837186a965a73da69b92d1681ced7b00e9043f49a6d4cd12d08a5b7f5a79e127cac353db45f8646daea9ed216f9dbfe0243b580938c9f7491d2
|
data/lib/metasploit/exploit.rb
CHANGED
@@ -68,16 +68,18 @@ module Metasploit
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def self.wait_for_task_to_stop_running(rpc_client, status_message, task_id)
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
71
|
+
loop do
|
72
|
+
sleep(3)
|
73
|
+
status = rpc_client.call('pro.task_status', task_id)
|
74
|
+
puts status_message
|
75
|
+
progress = status.fetch(task_id, {}).fetch('progress', {})
|
76
|
+
puts "This task is #{progress} % complete"
|
77
|
+
info = status.fetch(task_id, {}).fetch('info', {})
|
78
|
+
puts "I am currently executing: #{info}"
|
79
|
+
status = status.fetch(task_id, {}).fetch('status', {})
|
80
|
+
|
81
|
+
break if status != CONSTANTS::RUNNING_IMPORT_STATUS
|
82
|
+
end
|
81
83
|
end
|
82
84
|
end
|
83
85
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Gibson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: msfrpc-client
|