Fixed issue causing misidentification of debug modules.

This commit is contained in:
Jack Walker
2020-04-24 14:10:23 +10:00
parent c5f9cb9e5f
commit 31cd48319f
2 changed files with 67 additions and 67 deletions

View File

@@ -13,73 +13,73 @@ 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/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_chrome_81.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=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_chrome_81.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_8.config.yml
# - CONFIG_FILE=windows/xp/xp_firefox_45esr.config.yml
# - CONFIG_FILE=windows/xp/xp_firefox_47.config.yml
# - CONFIG_FILE=windows/xp/xp_ie_7.config.yml
# jobs:
# include:
# - name: "Full Test Suite 2.5.3"
# rvm: 2.5.3
# env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
# script: bundle exec rake
# fast_finish: true
# - name: "Full Test Suite 2.6.0"
# rvm: 2.6.0
# env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
# script: bundle exec rake
# fast_finish: true
# - name: "Full Test Suite 2.6.3"
# rvm: 2.6.3
# env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
# script: bundle exec rake
# fast_finish: true
# - name: "Full Test Suite 2.6.5"
# rvm: 2.6.5
# env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
# script: bundle exec rake
# fast_finish: true
# - name: "Full Test Suite 2.7.0"
# rvm: 2.7.0
# env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
# script: bundle exec rake
# fast_finish: true
- CONFIG_FILE=windows/xp/xp_firefox_45esr.config.yml
- CONFIG_FILE=windows/xp/xp_firefox_47.config.yml
- CONFIG_FILE=windows/xp/xp_ie_7.config.yml
jobs:
include:
- name: "Full Test Suite 2.5.3"
rvm: 2.5.3
env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
script: bundle exec rake
fast_finish: true
- name: "Full Test Suite 2.6.0"
rvm: 2.6.0
env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
script: bundle exec rake
fast_finish: true
- name: "Full Test Suite 2.6.3"
rvm: 2.6.3
env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
script: bundle exec rake
fast_finish: true
- name: "Full Test Suite 2.6.5"
rvm: 2.6.5
env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
script: bundle exec rake
fast_finish: true
- name: "Full Test Suite 2.7.0"
rvm: 2.7.0
env: CONFIG_FILE=windows/win10/win10_chrome_81.config.yml
script: bundle exec rake
fast_finish: true
script:
- bundle exec rspec --tag run_on_browserstack
addons:

View File

@@ -99,7 +99,7 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do
@debug_mod_names_ids = {}
@debug_mods = @debug_mod_ids.to_a.select { |cmd_mod| cmd_mod[1]['category'] == 'Debug' }
.map do |debug_mod|
@debug_mod_names_ids[debug_mod[1]['class']] = debug_mod[0]
@debug_mod_names_ids[debug_mod[1]['class']] = debug_mod[0]['id']
end
end