Replace 'rest_client' with 'rest-client'

This commit is contained in:
Brendan Coles
2015-06-22 15:15:48 +00:00
parent e31f0b8c44
commit 83f88ad401
11 changed files with 12 additions and 12 deletions

View File

@@ -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
end

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

2
tools/rest_api_examples/clone_page Normal file → Executable file
View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'