From d9cb64e1cbee23177cceef573a03e3f72c2b4c72 Mon Sep 17 00:00:00 2001 From: Brendan Coles Date: Sat, 19 Dec 2015 04:57:50 +0000 Subject: [PATCH] successfully --- .../admin_ui/controllers/authentication/authentication.rb | 4 ++-- test/integration/tc_login.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/extensions/admin_ui/controllers/authentication/authentication.rb b/extensions/admin_ui/controllers/authentication/authentication.rb index 11e4fecee..b01e9336e 100644 --- a/extensions/admin_ui/controllers/authentication/authentication.rb +++ b/extensions/admin_ui/controllers/authentication/authentication.rb @@ -73,7 +73,7 @@ class Authentication < BeEF::Extension::AdminUI::HttpController session_cookie_name = config.get('beef.http.session_cookie_name') # get session cookie name Rack::Utils.set_cookie_header!(@headers, session_cookie_name, {:value => @session.get_id, :path => "/", :httponly => true}) - BeEF::Core::Logger.instance.register('Authentication', "User with ip #{@request.ip} has successfuly authenticated in the application.") + BeEF::Core::Logger.instance.register('Authentication', "User with ip #{@request.ip} has successfully authenticated in the application.") @body = "{ success : true }" end @@ -96,7 +96,7 @@ class Authentication < BeEF::Extension::AdminUI::HttpController session_cookie_name = config.get('beef.http.session_cookie_name') # get session cookie name Rack::Utils.set_cookie_header!(@headers, session_cookie_name, {:value => "", :path => "/", :httponly => true, expires: Time.now}) - BeEF::Core::Logger.instance.register('Authentication', "User with ip #{@request.ip} has successfuly logged out.") + BeEF::Core::Logger.instance.register('Authentication', "User with ip #{@request.ip} has successfully logged out.") @body = "{ success : true }" end diff --git a/test/integration/tc_login.rb b/test/integration/tc_login.rb index 4ca92c805..b62495f91 100644 --- a/test/integration/tc_login.rb +++ b/test/integration/tc_login.rb @@ -61,7 +61,7 @@ class TC_Login < Test::Unit::TestCase session.should have_content('Event') session.should have_content('Date') session.should have_content('Page') - session.should have_content('User with ip 127.0.0.1 has successfuly authenticated in the application') + session.should have_content('User with ip 127.0.0.1 has successfully authenticated in the application') BeefTest.save_screenshot(session) BeefTest.logout(session)