Commit Graph

22 Commits (c43e3cf5812eed574261a57880f6cd7819c83ea0)

Author SHA1 Message Date
sinn3r 721ae6c66e Should really call source_address without args 2014-01-31 10:36:55 -06:00
sinn3r cb33de24e4 [FixRM #8749] - Make spawn_meterpreter respect lport/lhost options
[FixRM #8749] Basically the spawn_meterpreter script doesn't
actually allow the user to set their own LHOST/LPORT datastore
options, because they come from the session object, not from the
active module or the framework object.

The fix is to allow the user to config them from framework. But
if they forget to do this (because naturally people probably
assume that active module datastore options are the same as the
ones set in framework), then for LHOST, we default whatever we get
from Rex::Socket.source_address. As for LPORT, we'll pick a one
that's not used by any of the sessions.
2014-01-23 22:40:34 -06:00
Meatballs 075f48a49f
Fix path 2013-12-23 22:44:56 +00:00
Meatballs c460f943f7
Merge branch 'master' into data_dir
Conflicts:
	modules/exploits/windows/local/always_install_elevated.rb
	plugins/sounds.rb
	scripts/meterpreter/powerdump.rb
	scripts/shell/spawn_meterpreter.rb
2013-10-02 20:17:11 +01:00
Tab Assassin 2e8d19edcf Retab all the things (except external/) 2013-09-30 13:47:53 -05:00
Meatballs 7ba846ca24 Find and replace 2013-09-26 20:34:48 +01:00
James Lee ca53c6f15b Remove Id tags in scripts/ 2013-09-17 10:42:58 -05:00
Joshua Drake 62c8c6ea9f big msftidy pass, ping me if there are issues
git-svn-id: file:///home/svn/framework3/trunk@14034 4d416f70-5f16-0410-b530-b9f4589650da
2011-10-23 11:56:13 +00:00
Joshua Drake ff56230ef0 add LINEMAX option
git-svn-id: file:///home/svn/framework3/trunk@9844 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-16 18:39:30 +00:00
James Lee b60e2d1022 convert lport to a string so we don't get failures when adding String + FixNum
git-svn-id: file:///home/svn/framework3/trunk@9801 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-13 09:01:36 +00:00
Joshua Drake 5f2aa8bb0b consolidate aborted error messages
git-svn-id: file:///home/svn/framework3/trunk@9723 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-07 18:18:38 +00:00
Joshua Drake 1e0e92e5aa show commands that fail
git-svn-id: file:///home/svn/framework3/trunk@9721 4d416f70-5f16-0410-b530-b9f4589650da
2010-07-07 18:04:22 +00:00
Joshua Drake 55487fbedc rescue even more!
git-svn-id: file:///home/svn/framework3/trunk@9591 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-23 03:09:55 +00:00
Joshua Drake 2fdf0a1123 rescue more, handle return from shell_command_token_win32 better, remove cmd delay since its not needed here, dont sleep before cleanup when aborting
git-svn-id: file:///home/svn/framework3/trunk@9590 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-23 02:27:58 +00:00
Joshua Drake f2197699da set decoder in spawn_meterpreter script, fixes #2050 -- thx ben
git-svn-id: file:///home/svn/framework3/trunk@9435 4d416f70-5f16-0410-b530-b9f4589650da
2010-06-05 19:19:19 +00:00
Joshua Drake 6d1e7bdaa5 big commit - lots of cmdstager changes
created 4 cmd stagers (instead of just one): CmdStagerVBS, CmdStagerDebugAsm, CmdStagerDebugWrite, CmdStagerTFTP
created a TFTPServer mixin
created Msf::Exploit::EXE mixin to generate executables
updated all uses of CmdStager to use CmdStagerVBS for the time being
add exploit for cve-2001-0333 using CmdStagerTFTP
updated tftp server to wait for transfers to finish (up to 30 seconds) before shutting down
write debug.exe stager stub in 16-bit assembly (used in CmdStagerDebugAsm)


git-svn-id: file:///home/svn/framework3/trunk@9375 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-26 22:39:56 +00:00
Joshua Drake 71a5238e94 add migrate script for shell sessions -- just to warn
git-svn-id: file:///home/svn/framework3/trunk@9188 4d416f70-5f16-0410-b530-b9f4589650da
2010-05-01 16:43:53 +00:00
Joshua Drake e45a29fd4a dont exit on session, show 100% progress line, kill the job in the background after 10 seconds
git-svn-id: file:///home/svn/framework3/trunk@8954 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-29 17:37:58 +00:00
Joshua Drake b069a43477 handle stopping the handler job in case of failure
git-svn-id: file:///home/svn/framework3/trunk@8912 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-25 01:45:10 +00:00
Joshua Drake 210e241795 use exploit datastore instead of global datastore -- see #394
git-svn-id: file:///home/svn/framework3/trunk@8881 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-22 20:17:18 +00:00
Joshua Drake a811ad0c32 clean up, add comments, and fix bug in command dispatcher, fixes #394
git-svn-id: file:///home/svn/framework3/trunk@8808 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-12 22:59:19 +00:00
Joshua Drake 7b41d08387 remove dupe "-s" option from help, add "-u" option to upgrade command shell session to meterpreter
git-svn-id: file:///home/svn/framework3/trunk@8807 4d416f70-5f16-0410-b530-b9f4589650da
2010-03-12 21:51:55 +00:00