Skip to content

Commit

Permalink
Update msf json rpc file path to be relative
Browse files Browse the repository at this point in the history
  • Loading branch information
adfoster-r7 committed May 11, 2020
1 parent 61e17d3 commit e814007
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msf-json-rpc.ru
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#

require 'pathname'
@framework_path = '.'
@framework_path = File.expand_path(File.dirname(__FILE__))
root = Pathname.new(@framework_path).expand_path
@framework_lib_path = root.join('lib')
$LOAD_PATH << @framework_lib_path unless $LOAD_PATH.include?(@framework_lib_path)
Expand Down

0 comments on commit e814007

Please sign in to comment.