Remove the IsAdmin check for now, always load priv instead. This works around a performance issue with railgun demand loading, once thats fixed we can re-enable

git-svn-id: file:///home/svn/framework3/trunk@10844 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-10-29 04:14:22 +00:00
parent dc4b7b6641
commit 0f8a6b138b
1 changed files with 3 additions and 1 deletions

View File

@ -35,6 +35,7 @@ module MeterpreterOptions
session.load_session_info session.load_session_info
end end
=begin
admin = false admin = false
begin begin
::Timeout.timeout(30) do ::Timeout.timeout(30) do
@ -45,8 +46,9 @@ module MeterpreterOptions
end end
rescue ::Exception rescue ::Exception
end end
=end
session.load_priv if admin session.load_priv
end end