Skip to content

Commit 48f0743

Browse files
David MaloneyDavid Maloney
authored andcommitted
remove crappy basedir method
this method is no lopnger needed
1 parent 6bc55bf commit 48f0743

File tree

1 file changed

+0
-10
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+0
-10
lines changed

lib/msf/ui/console/command_dispatcher/core.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -164,16 +164,6 @@ def name
164164
"Core"
165165
end
166166

167-
# Indicates the base dir where Metasploit Framework is installed.
168-
def msfbase_dir
169-
base = __FILE__
170-
while File.symlink?(base)
171-
base = File.expand_path(File.readlink(base), File.dirname(base))
172-
end
173-
File.expand_path(
174-
File.join(File.dirname(base), "..","..","..","..","..")
175-
)
176-
end
177167

178168
def cmd_color_help
179169
print_line "Usage: color <'true'|'false'|'auto'>"

0 commit comments

Comments
 (0)