Metasploit mailing list archives

save settings in msf 3


From: jeffs at speakeasy.net (jeffs)
Date: Sat, 22 Nov 2008 14:23:27 -0500

thanks for that information. As an example, in the search_dwld.rb file 
there is a call:

dst = ::Dir.tmpdir + ::File::Separator + dst

Changing tmpdir to any combinations of /mnt/downloads or 
"/mnt/downloads" produces error.

Like I mentioned earlier, I'm not a ruby maven so I'm sure there is 
something wrong with my values/syntax. 

Any help much appreciated.


H D Moore wrote:
On Saturday 22 November 2008, jeffs wrote:
  
For many of us users who run metasploit on thumb drives this presents
space problems. ? Is there a way in ruby or metasploit (hoping config
option) where we can redirect or specify that these files are saved on
a local hard drive /mnt folder?
    

For things like meterpreter scripts,the best way is to just edit the 
script and change the path. It may be worth adding a parameter to these 
scripts which can define the output path, but both of these were created 
as examples of what you can do and not absolute features.

  
I don't know enough ruby to alter the save paths and have tried without
success.
    

Where /tmp or Framework.config_directory are specified, change this to the 
destination path you want to store the files to.

-HD




  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.metasploit.com/pipermail/framework/attachments/20081122/6c1791ab/attachment.htm>


Current thread: