metasploit-framework/modules/post
James Lee 55fc1458de Simplify and clean up some
I'd really love to make this work on Linux as well, since it's really
just a file grabber/parser. Unfortunately, the Post API for enumerating
users and homedirs isn't great for cross-platform stuff like this.

A few small changes, all verified on Windows 7:

* Reuse the key storing code instead of copy-paste with minor changes

* Use binary mode when opening the stored prefs

* Don't bother checking for incognito since we're using `steal_token`
  anyway

* Check for existence of directories instead of guessing based on OS
  match
2013-05-10 16:58:35 -05:00
..
aix msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
cisco/gather msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
linux use bash or sh according to availability 2013-03-21 17:26:56 +01:00
multi fix ssh_creds username 2013-05-05 16:31:28 -05:00
osx msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
solaris/gather msftidy: Remove $Revision$ 2013-01-04 00:48:10 +01:00
windows Simplify and clean up some 2013-05-10 16:58:35 -05:00