This update addresses issue 197. jQuery.getScript() is now used to load the cross domain instructions from the framework. Scripts are now loaded and executed instead of using XMLHttpRequests.
git-svn-id: https://beef.googlecode.com/svn/trunk@680 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
@@ -51,6 +51,8 @@ module BeEF
|
||||
response.body = @body
|
||||
end
|
||||
|
||||
alias do_GET do_POST
|
||||
|
||||
private
|
||||
|
||||
@request
|
||||
|
||||
@@ -52,6 +52,8 @@ module BeEF
|
||||
response.body = ''
|
||||
end
|
||||
|
||||
alias do_GET do_POST
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
@@ -99,7 +99,8 @@ module BeEF
|
||||
|
||||
end
|
||||
|
||||
alias do_OPTIONS do_POST
|
||||
alias do_OPTIONS do_POST
|
||||
alias do_GET do_POST
|
||||
|
||||
# returns a selected parameter from the query string.
|
||||
def get_param(query, key)
|
||||
|
||||
@@ -60,6 +60,8 @@ module BeEF
|
||||
response.body = ''
|
||||
end
|
||||
|
||||
alias do_GET do_POST
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user