Temporary fix to prevent hook error on Safari. I will implement a final fix tomorrow.
This commit is contained in:
52
Gemfile.lock
52
Gemfile.lock
@@ -1,52 +0,0 @@
|
||||
GEM
|
||||
remote: http://rubygems.org/
|
||||
specs:
|
||||
addressable (2.2.6)
|
||||
ansi (1.4.1)
|
||||
daemons (1.1.5)
|
||||
data_objects (0.10.7)
|
||||
addressable (~> 2.1)
|
||||
dm-core (1.2.0)
|
||||
addressable (~> 2.2.6)
|
||||
dm-do-adapter (1.2.0)
|
||||
data_objects (~> 0.10.6)
|
||||
dm-core (~> 1.2.0)
|
||||
dm-migrations (1.2.0)
|
||||
dm-core (~> 1.2.0)
|
||||
dm-sqlite-adapter (1.2.0)
|
||||
dm-do-adapter (~> 1.2.0)
|
||||
do_sqlite3 (~> 0.10.6)
|
||||
do_sqlite3 (0.10.7)
|
||||
data_objects (= 0.10.7)
|
||||
erubis (2.7.0)
|
||||
eventmachine (0.12.10)
|
||||
json (1.6.4)
|
||||
librex (0.0.52)
|
||||
msfrpc-client (1.0.1)
|
||||
librex (>= 0.0.32)
|
||||
msgpack (>= 0.4.5)
|
||||
msgpack (0.4.6)
|
||||
parseconfig (0.5.2)
|
||||
rack (1.4.0)
|
||||
term-ansicolor (1.0.7)
|
||||
thin (1.3.1)
|
||||
daemons (>= 1.0.9)
|
||||
eventmachine (>= 0.12.6)
|
||||
rack (>= 1.0.0)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
ansi
|
||||
data_objects
|
||||
dm-core
|
||||
dm-migrations
|
||||
dm-sqlite-adapter
|
||||
erubis
|
||||
eventmachine (= 0.12.10)
|
||||
json
|
||||
msfrpc-client
|
||||
parseconfig
|
||||
term-ansicolor
|
||||
thin
|
||||
@@ -505,7 +505,10 @@ beef.browser = {
|
||||
// if Chrome is detected, return true without injecting the unsigned applet.
|
||||
// latest versions of Chrome requires manual user intervention even with unsigned applets,
|
||||
// so basically we don't want to alert the user after the initial hook.
|
||||
if(beef.browser.isC()){
|
||||
|
||||
//todo antisnatchor: this is a temporal fix, otherwise Safari is not-hooked.
|
||||
//todo the applet in safari takes a few seconds to load.
|
||||
if(beef.browser.isC() && beef.browser.isS()){
|
||||
return true;
|
||||
|
||||
}else{
|
||||
|
||||
Reference in New Issue
Block a user