From a8c93974194735f48378a672d7e9c62d27f9f7d0 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Wed, 3 Dec 2008 15:47:10 +0000 Subject: [PATCH] Patch frmo antoine git-svn-id: file:///home/svn/framework3/trunk@5994 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/exploit/fileformat.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/msf/core/exploit/fileformat.rb b/lib/msf/core/exploit/fileformat.rb index dda43b2560..e5dc690707 100644 --- a/lib/msf/core/exploit/fileformat.rb +++ b/lib/msf/core/exploit/fileformat.rb @@ -13,8 +13,8 @@ module Exploit::FILEFORMAT register_options( [ - OptString.new('FILENAME', [ false, 'The file name.', 'MSF']), - OptString.new('OUTPUTPATH', [ false, 'The location of the file.', './data/exploits/']), + OptString.new('FILENAME', [ true, 'The file name.', 'MSF']), + OptString.new('OUTPUTPATH', [ true, 'The location of the file.', File.join(Msf::Config.install_root, 'data', 'exploits')]), ], Msf::Exploit::FILEFORMAT )