File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,8 @@ module Msf
13
13
#
14
14
###
15
15
16
- module Exploit ::Capture
16
+ class Exploit
17
+ module Capture
17
18
18
19
#
19
20
# Initializes an instance of an exploit module that captures traffic
@@ -555,3 +556,5 @@ def capture_icmp_echo_unpack(data)
555
556
end
556
557
557
558
end
559
+
560
+ end
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ def replicant
179
179
#
180
180
181
181
def print_prefix
182
- if (
182
+ if framework && (
183
183
datastore [ 'TimestampOutput' ] =~ /^(t|y|1)/i or
184
184
framework . datastore [ 'TimestampOutput' ] =~ /^(t|y|1)/i
185
185
)
@@ -192,8 +192,9 @@ def print_prefix
192
192
end
193
193
194
194
return prefix
195
+ else
196
+ return ''
195
197
end
196
- ''
197
198
end
198
199
199
200
def print_status ( msg = '' )
You can’t perform that action at this time.
0 commit comments