Created
June 25, 2015 13:01
-
-
Save xntrik/ee27d4a66de9c0704ee9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/beef/beef2015jun ± rake integration | |
Starting BeEF (wait a few seconds)..................... | |
export DISPLAY=:0; cd test/integration;ruby -W0 ts_integration.rb | |
Loaded suite BeEF Integration Test Suite | |
Started | |
...E | |
=============================================================================================================================================================================================================================== | |
Error: test_hooking_browser(TC_Login): Capybara::Ambiguous: Ambiguous match, found 3 elements matching link or button "127.0.0.1" | |
/Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/finders.rb:38:in `block in find' | |
/Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize' | |
/Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find' | |
/Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/actions.rb:13:in `click_link_or_button' | |
/Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/session.rb:676:in `block (2 levels) in <class:Session>' | |
/Users/xian/beef/beef2015jun/test/integration/tc_login.rb:75:in `test_hooking_browser' | |
72: | |
73: attacker.has_content?(VICTIM_DOMAIN) | |
74: attacker.has_content?('127.0.0.1') | |
=> 75: attacker.click_on('127.0.0.1') | |
76: | |
77: sleep 1.0 | |
78: | |
=============================================================================================================================================================================================================================== | |
........................ | |
Finished in 274.214691 seconds. | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
28 tests, 94 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications | |
96.4286% passed | |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
0.10 tests/s, 0.34 assertions/s | |
Shutting down BeEF... | |
ps -ef|grep beef|grep -v grep|awk '{print $2}'|xargs kill |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment