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-b9f4589650daunstable
parent
dc4b7b6641
commit
0f8a6b138b
|
@ -35,6 +35,7 @@ module MeterpreterOptions
|
|||
session.load_session_info
|
||||
end
|
||||
|
||||
=begin
|
||||
admin = false
|
||||
begin
|
||||
::Timeout.timeout(30) do
|
||||
|
@ -45,8 +46,9 @@ module MeterpreterOptions
|
|||
end
|
||||
rescue ::Exception
|
||||
end
|
||||
=end
|
||||
|
||||
session.load_priv if admin
|
||||
session.load_priv
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue