Advertisement
Guest User

Untitled

a guest
Jul 19th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. ~/beef/beef2015jun ± rake integration
  2. Starting BeEF (wait a few seconds).....................
  3. export DISPLAY=:0; cd test/integration;ruby -W0 ts_integration.rb
  4. Loaded suite BeEF Integration Test Suite
  5. Started
  6. ...E
  7. ===============================================================================================================================================================================================================================
  8. Error: test_hooking_browser(TC_Login): Capybara::Ambiguous: Ambiguous match, found 3 elements matching link or button "127.0.0.1"
  9. /Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/finders.rb:38:in `block in find'
  10. /Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/base.rb:84:in `synchronize'
  11. /Users/xian/.rvm/gems/ruby-2.2.1@beef/gems/capybara-2.4.4/lib/capybara/node/finders.rb:30:in `find'
  12. /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'
  13. /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>'
  14. /Users/xian/beef/beef2015jun/test/integration/tc_login.rb:75:in `test_hooking_browser'
  15. 72:
  16. 73: attacker.has_content?(VICTIM_DOMAIN)
  17. 74: attacker.has_content?('127.0.0.1')
  18. => 75: attacker.click_on('127.0.0.1')
  19. 76:
  20. 77: sleep 1.0
  21. 78:
  22. ===============================================================================================================================================================================================================================
  23. ........................
  24.  
  25. Finished in 274.214691 seconds.
  26. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  27. 28 tests, 94 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 notifications
  28. 96.4286% passed
  29. -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  30. 0.10 tests/s, 0.34 assertions/s
  31.  
  32. Shutting down BeEF...
  33. ps -ef|grep beef|grep -v grep|awk '{print $2}'|xargs kill
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement