Files
metasploit-gs/lib/rex
OJ cf65f59a28 Retry shell without thread impersonation
In certain scenarios on Windows XP there are times when creating a
shell fails with the error `ERROR_PRIVILEGE_NOT_HELD`. When this
happens the user will usuall fallback to a non-impersonated shell
via the command: `execute -f cmd.exe -H -i -c`

This patch catches the error, warns the use of the failure and then retries
to create the interactive shell without the `-t` flag.
2013-10-21 15:29:19 +10:00
..
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-10-15 23:59:23 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-10-18 13:21:28 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-10-12 18:52:45 +01:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-09-23 19:36:26 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-09-16 21:33:44 -05:00
2013-05-20 16:21:03 -05:00
2013-05-20 16:21:03 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-05-20 16:21:03 -05:00
2013-08-30 16:28:33 -05:00
2010-04-02 21:34:15 +00:00
2013-08-30 16:28:33 -05:00
2013-05-20 16:21:03 -05:00
2013-05-20 16:21:03 -05:00
2013-05-20 16:21:03 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00
2013-08-30 16:28:33 -05:00