switch use of extensions to client.respond_to

git-svn-id: file:///home/svn/framework3/trunk@9032 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Joshua Drake 2010-04-07 16:03:22 +00:00
parent 450a117894
commit dbe3453c76
1 changed files with 2 additions and 3 deletions

View File

@ -22,8 +22,8 @@ end
# Make sure we're rockin Priv and Incognito
client.core.use("priv") if not extensions.include?("priv")
client.core.use("incognito") if not extensions.include?("incognito")
client.core.use("priv") if not client.respond_to?("priv")
client.core.use("incognito") if not client.respond_to?("incognito")
# It wasn't me mom! Stinko did it!
hashes = client.priv.sam_hashes
@ -59,4 +59,3 @@ raise Rex::Script::Completed if not tokens
client.framework.db.report_auth_info(data)
end