diff --git a/test/integration/tc_debug_modules.rb b/test/integration/tc_debug_modules.rb index e5d726e6e..0c7edd67b 100644 --- a/test/integration/tc_debug_modules.rb +++ b/test/integration/tc_debug_modules.rb @@ -4,7 +4,7 @@ # See the file 'doc/COPYING' for copying permission # require 'test/unit' -require 'rest_client' +require 'rest-client' require 'json' require '../common/test_constants' require '../common/beef_test' @@ -173,4 +173,4 @@ class TC_DebugModules < Test::Unit::TestCase assert JSON.parse(data)["port_status"].include?("open") end -end \ No newline at end of file +end diff --git a/test/integration/tc_dns_rest.rb b/test/integration/tc_dns_rest.rb index cd2a19906..9340ddd2f 100644 --- a/test/integration/tc_dns_rest.rb +++ b/test/integration/tc_dns_rest.rb @@ -4,7 +4,7 @@ # See the file 'doc/COPYING' for copying permission # require 'test/unit' -require 'rest_client' +require 'rest-client' require 'json' require '../common/test_constants' diff --git a/test/integration/tc_social_engineering_rest.rb b/test/integration/tc_social_engineering_rest.rb index b033b4676..662b71792 100644 --- a/test/integration/tc_social_engineering_rest.rb +++ b/test/integration/tc_social_engineering_rest.rb @@ -4,7 +4,7 @@ # See the file 'doc/COPYING' for copying permission # require 'test/unit' -require 'rest_client' +require 'rest-client' require 'json' require '../common/test_constants' diff --git a/tools/rest_api_examples/browser-details b/tools/rest_api_examples/browser-details index 79e987ce5..7d2e91ed3 100755 --- a/tools/rest_api_examples/browser-details +++ b/tools/rest_api_examples/browser-details @@ -3,7 +3,7 @@ # Retrieves browser details and logs for all online hooked browsers # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp' diff --git a/tools/rest_api_examples/clone_page b/tools/rest_api_examples/clone_page old mode 100644 new mode 100755 index bbf1509b6..610c7f8d4 --- a/tools/rest_api_examples/clone_page +++ b/tools/rest_api_examples/clone_page @@ -3,7 +3,7 @@ # Clone a web page and mount it locally # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp' diff --git a/tools/rest_api_examples/command-modules b/tools/rest_api_examples/command-modules index 2ee309dba..2369ccef2 100755 --- a/tools/rest_api_examples/command-modules +++ b/tools/rest_api_examples/command-modules @@ -3,7 +3,7 @@ # Retrieves module details and pops an alert dialog on all hooked browsers # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp' diff --git a/tools/rest_api_examples/dns b/tools/rest_api_examples/dns index e42f97935..6e2b9a880 100755 --- a/tools/rest_api_examples/dns +++ b/tools/rest_api_examples/dns @@ -3,7 +3,7 @@ # Retrieves DNS rule set # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp' diff --git a/tools/rest_api_examples/export-logs b/tools/rest_api_examples/export-logs index 2857f1fbc..e26f15d7e 100755 --- a/tools/rest_api_examples/export-logs +++ b/tools/rest_api_examples/export-logs @@ -3,7 +3,7 @@ # Retrieves BeEF logs and logs for all online hooked browsers # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp' diff --git a/tools/rest_api_examples/metasploit b/tools/rest_api_examples/metasploit index 7a5d4185a..c7127da37 100755 --- a/tools/rest_api_examples/metasploit +++ b/tools/rest_api_examples/metasploit @@ -5,7 +5,7 @@ # then stops the payload handlers. # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp' diff --git a/tools/rest_api_examples/network b/tools/rest_api_examples/network index 3aeddc4ea..329f86230 100755 --- a/tools/rest_api_examples/network +++ b/tools/rest_api_examples/network @@ -3,7 +3,7 @@ # Retrieves details for all identified network hosts and network services # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp' diff --git a/tools/rest_api_examples/webrtc b/tools/rest_api_examples/webrtc index 76eae824f..e69bb073f 100755 --- a/tools/rest_api_examples/webrtc +++ b/tools/rest_api_examples/webrtc @@ -3,7 +3,7 @@ # Retrieves browser details and logs for all online hooked browsers # Refer to the wiki for info: https://github.com/beefproject/beef/wiki/BeEF-RESTful-API ## -require 'rest_client' +require 'rest-client' require 'json' require 'optparse' require 'pp'