diff --git a/extensions/dns_rebinding/api.rb b/extensions/dns_rebinding/api.rb index 86f55b7eb..6c3653281 100644 --- a/extensions/dns_rebinding/api.rb +++ b/extensions/dns_rebinding/api.rb @@ -1,3 +1,8 @@ +# +# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net +# Browser Exploitation Framework (BeEF) - http://beefproject.com +# See the file 'doc/COPYING' for copying permission +# module BeEF module Extension module DNSRebinding diff --git a/extensions/dns_rebinding/config.yaml b/extensions/dns_rebinding/config.yaml index b8466d543..532a3dd74 100644 --- a/extensions/dns_rebinding/config.yaml +++ b/extensions/dns_rebinding/config.yaml @@ -1,3 +1,8 @@ +# +# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net +# Browser Exploitation Framework (BeEF) - http://beefproject.com +# See the file 'doc/COPYING' for copying permission +# beef: extension: dns_rebinding: diff --git a/extensions/dns_rebinding/extension.rb b/extensions/dns_rebinding/extension.rb index 2d0d219f1..9a0a8c336 100644 --- a/extensions/dns_rebinding/extension.rb +++ b/extensions/dns_rebinding/extension.rb @@ -1,3 +1,8 @@ +# +# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net +# Browser Exploitation Framework (BeEF) - http://beefproject.com +# See the file 'doc/COPYING' for copying permission +# module BeEF module Extension module DNSRebinding diff --git a/modules/network/dns_rebinding/command.js b/modules/network/dns_rebinding/command.js index 0b3274985..cd8e948e0 100644 --- a/modules/network/dns_rebinding/command.js +++ b/modules/network/dns_rebinding/command.js @@ -1,3 +1,8 @@ +// +// Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net +// Browser Exploitation Framework (BeEF) - http://beefproject.com +// See the file 'doc/COPYING' for copying permission +// beef.execute(function() { var domain = "<%= @domain %>" if (window.location.href.indexOf(domain) == -1) { diff --git a/modules/network/dns_rebinding/config.yaml b/modules/network/dns_rebinding/config.yaml index 130c43826..982bfc527 100644 --- a/modules/network/dns_rebinding/config.yaml +++ b/modules/network/dns_rebinding/config.yaml @@ -1,3 +1,8 @@ +# +# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net +# Browser Exploitation Framework (BeEF) - http://beefproject.com +# See the file 'doc/COPYING' for copying permission +# beef: module: dns_rebinding: diff --git a/modules/network/dns_rebinding/module.rb b/modules/network/dns_rebinding/module.rb index f006a5cba..ccab2b9c5 100644 --- a/modules/network/dns_rebinding/module.rb +++ b/modules/network/dns_rebinding/module.rb @@ -1,3 +1,8 @@ +# +# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net +# Browser Exploitation Framework (BeEF) - http://beefproject.com +# See the file 'doc/COPYING' for copying permission +# class Dns_rebinding < BeEF::Core::Command def self.options domain = BeEF::Core::Configuration.instance.get('beef.module.dns_rebinding.domain')