metasploit-framework/lib/msf
Tod Beardsley 63c66f66a0
Add a second_chance on cmd_use
This is a weak attempt to solve a race condition between modules loading
and cmd_use being fired. Upon startup, saved configurations, running
resource scripts, and running commands will sometimes jump ahead of the
module loading procedure.

I have not discovered where the race actually is and how to cause the
race to happen. However, the timing seems to be fairly close to a second;
by waiting three seconds after trying use again, we seem to be in the
clear, at least according to testing.

Fixes #4549, but better solutions are welcome!
2015-01-20 15:46:29 -06:00
..
base fix error 2015-01-08 19:48:29 +01:00
core Land #4316, Meatballs1 streamlines payload execution for exploits/windows/local/wmi 2015-01-16 11:16:22 -06:00
http no space required 2015-01-08 23:43:06 +01:00
kerberos Use random subkey 2014-12-22 15:39:08 -06:00
scripts Refactor WindowsServices 2012-11-06 17:30:04 -06:00
ui Add a second_chance on cmd_use 2015-01-20 15:46:29 -06:00
util Land #4377, Support DYNAMIC_BASE templates - resolves #4366 2014-12-23 11:57:33 +00:00
LICENSE
base.rb Fix Undocumentable method, missing name YARD warning 2013-03-30 15:32:38 -05:00
core.rb Delete Microsoft namespace from the mixin 2014-12-19 18:41:27 -06:00
events.rb Retab lib 2013-08-30 16:28:33 -05:00
sanity.rb Revert "Various merge resolutions from master <- staging" 2014-08-22 10:17:44 -05:00
ui.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
util.rb Mark all libraries as defaulting to 8-bit strings 2012-06-29 00:18:28 -05:00
windows_error.rb Retab lib 2013-08-30 16:28:33 -05:00