Skip to content

Commit c641ca9

Browse files
committed
Auxiliary::Web::Path.from_model: inputs => form.inputs
Fixed uninitialized variable error.
1 parent 2f95d08 commit c641ca9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/auxiliary/web/path.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def to_hash
118118
end
119119

120120
def self.from_model( form )
121-
e = new( :action => "#{form.path}?#{form.query}", :input => inputs[0][1] )
121+
e = new( :action => "#{form.path}?#{form.query}", :input => form.inputs[0][1] )
122122
e.model = form
123123
e
124124
end

0 commit comments

Comments
 (0)