From 0d196aa1eae7b545575935c7bf06026f0336d1a7 Mon Sep 17 00:00:00 2001 From: Josh Date: Mon, 27 Apr 2020 18:52:13 -0700 Subject: [PATCH] updated debugging information --- .travis.yml | 76 +++++++++---------- .../websocket_hooked_browser_spec.rb | 2 + 2 files changed, 40 insertions(+), 38 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3f10130ef..da1f0f802 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,45 +13,45 @@ before_script: - RUBY_VERSION=/bin/bash rvm current - sed -i -E 's/system\((.*?)\)/""/g' /home/travis/.rvm/gems/$RUBY_VERSION/gems/browserstack-local-1.3.0/lib/browserstack/local.rb env: - - CONFIG_FILE=osx/catalina/catalina_chrome_41.config.yml - - CONFIG_FILE=osx/catalina/catalina_chrome_59.config.yml - - CONFIG_FILE=osx/catalina/catalina_chrome_81.config.yml - - CONFIG_FILE=osx/catalina/catalina_firefox_11.config.yml - - CONFIG_FILE=osx/catalina/catalina_firefox_68esr.config.yml - - CONFIG_FILE=osx/catalina/catalina_firefox_75.config.yml - - CONFIG_FILE=osx/catalina/catalina_safari_13.config.yml - - CONFIG_FILE=osx/elcapitan/elcapitan_chrome_14.config.yml +# - CONFIG_FILE=osx/catalina/catalina_chrome_41.config.yml +# - CONFIG_FILE=osx/catalina/catalina_chrome_59.config.yml +# - CONFIG_FILE=osx/catalina/catalina_chrome_81.config.yml +# - CONFIG_FILE=osx/catalina/catalina_firefox_11.config.yml +# - CONFIG_FILE=osx/catalina/catalina_firefox_68esr.config.yml +# - CONFIG_FILE=osx/catalina/catalina_firefox_75.config.yml +# - CONFIG_FILE=osx/catalina/catalina_safari_13.config.yml +# - CONFIG_FILE=osx/elcapitan/elcapitan_chrome_14.config.yml - CONFIG_FILE=osx/elcapitan/elcapitan_chrome_81.config.yml - - CONFIG_FILE=osx/elcapitan/elcapitan_firefox_6.config.yml - - CONFIG_FILE=osx/elcapitan/elcapitan_firefox_75.config.yml - - CONFIG_FILE=osx/elcapitan/elcapitan_safari_9-1.config.yml - - CONFIG_FILE=osx/snowleopard/snowleopard_chrome_14.config.yml - - CONFIG_FILE=osx/snowleopard/snowleopard_chrome_35.config.yml - - CONFIG_FILE=osx/snowleopard/snowleopard_chrome_49.config.yml - - CONFIG_FILE=osx/snowleopard/snowleopard_firefox_7.config.yml - - CONFIG_FILE=osx/snowleopard/snowleopard_firefox_38esr.config.yml - - CONFIG_FILE=osx/snowleopard/snowleopard_firefox_42.config.yml - - CONFIG_FILE=osx/snowleopard/snowleopard_safari_5-1.config.yml - - CONFIG_FILE=windows/win10/win10_chrome_37.config.yml - - CONFIG_FILE=windows/win10/win10_chrome_59.config.yml - - CONFIG_FILE=windows/win10/win10_firefox_32.config.yml - - CONFIG_FILE=windows/win10/win10_firefox_68esr.config.yml - - CONFIG_FILE=windows/win10/win10_firefox_75.config.yml - - CONFIG_FILE=windows/win10/win10_edge_81.config.yml - - CONFIG_FILE=windows/win10/win10_ie_11.config.yml - - CONFIG_FILE=windows/win8/win8_chrome_22.config.yml - - CONFIG_FILE=windows/win8/win8_chrome_81.config.yml - - CONFIG_FILE=windows/win8/win8_firefox_32.config.yml - - CONFIG_FILE=windows/win8/win8_firefox_75.config.yml - - CONFIG_FILE=windows/win8/win8_edge_81.config.yml - - CONFIG_FILE=windows/win8/win8_ie_10.config.yml - - CONFIG_FILE=windows/xp/xp_chrome_14.config.yml - - CONFIG_FILE=windows/xp/xp_chrome_28.config.yml - - CONFIG_FILE=windows/xp/xp_chrome_43.config.yml - - CONFIG_FILE=windows/xp/xp_firefox_16.config.yml - - CONFIG_FILE=windows/xp/xp_firefox_25.config.yml - - CONFIG_FILE=windows/xp/xp_firefox_47.config.yml - - CONFIG_FILE=windows/xp/xp_ie_7.config.yml +# - CONFIG_FILE=osx/elcapitan/elcapitan_firefox_6.config.yml +# - CONFIG_FILE=osx/elcapitan/elcapitan_firefox_75.config.yml +# - CONFIG_FILE=osx/elcapitan/elcapitan_safari_9-1.config.yml +# - CONFIG_FILE=osx/snowleopard/snowleopard_chrome_14.config.yml +# - CONFIG_FILE=osx/snowleopard/snowleopard_chrome_35.config.yml +# - CONFIG_FILE=osx/snowleopard/snowleopard_chrome_49.config.yml +# - CONFIG_FILE=osx/snowleopard/snowleopard_firefox_7.config.yml +# - CONFIG_FILE=osx/snowleopard/snowleopard_firefox_38esr.config.yml +# - CONFIG_FILE=osx/snowleopard/snowleopard_firefox_42.config.yml +# - CONFIG_FILE=osx/snowleopard/snowleopard_safari_5-1.config.yml +# - CONFIG_FILE=windows/win10/win10_chrome_37.config.yml +# - CONFIG_FILE=windows/win10/win10_chrome_59.config.yml +# - CONFIG_FILE=windows/win10/win10_firefox_32.config.yml +# - CONFIG_FILE=windows/win10/win10_firefox_68esr.config.yml +# - CONFIG_FILE=windows/win10/win10_firefox_75.config.yml +# - CONFIG_FILE=windows/win10/win10_edge_81.config.yml +# - CONFIG_FILE=windows/win10/win10_ie_11.config.yml +# - CONFIG_FILE=windows/win8/win8_chrome_22.config.yml +# - CONFIG_FILE=windows/win8/win8_chrome_81.config.yml +# - CONFIG_FILE=windows/win8/win8_firefox_32.config.yml +# - CONFIG_FILE=windows/win8/win8_firefox_75.config.yml +# - CONFIG_FILE=windows/win8/win8_edge_81.config.yml +# - CONFIG_FILE=windows/win8/win8_ie_10.config.yml +# - CONFIG_FILE=windows/xp/xp_chrome_14.config.yml +# - CONFIG_FILE=windows/xp/xp_chrome_28.config.yml +# - CONFIG_FILE=windows/xp/xp_chrome_43.config.yml +# - CONFIG_FILE=windows/xp/xp_firefox_16.config.yml +# - CONFIG_FILE=windows/xp/xp_firefox_25.config.yml +# - CONFIG_FILE=windows/xp/xp_firefox_47.config.yml +# - CONFIG_FILE=windows/xp/xp_ie_7.config.yml jobs: fast_finish: true include: diff --git a/spec/beef/extensions/websocket_hooked_browser_spec.rb b/spec/beef/extensions/websocket_hooked_browser_spec.rb index 093497b00..9a84c9b31 100644 --- a/spec/beef/extensions/websocket_hooked_browser_spec.rb +++ b/spec/beef/extensions/websocket_hooked_browser_spec.rb @@ -117,7 +117,9 @@ RSpec.describe 'BeEF WebSockets: Browser Hooking', :run_on_browserstack => true https = BeEF::Core::Models::Http puts https @debug_mod_ids = JSON.parse(RestClient.get "#{RESTAPI_MODULES}?token=#{@token}") + puts @debug_mod_ids @hooks = JSON.parse(RestClient.get "#{RESTAPI_HOOKS}?token=#{@token}") + puts @hooks @session = @hooks['hooked-browsers']['online'] puts @session puts "this is th https session that gets deleted"