Rename get_internal_ip to get_internal_ip_java

This commit is contained in:
Brendan Coles
2019-03-24 22:55:49 +00:00
parent 0ed6c3866e
commit a103ca3f30
6 changed files with 17 additions and 17 deletions

View File

@@ -1,15 +0,0 @@
#
# Copyright (c) 2006-2019 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
get_internal_ip:
enable: true
category: "Host"
name: "Get Internal IP (Java)"
description: "Retrieve the internal (behind NAT) IP address of the victim machine using an unsigned Java applet.<br/><br/>The browser must have Java enabled and configured to allow execution of unsigned Java applets."
authors: ["antisnatchor"]
target:
user_notify: ["ALL"]

View File

@@ -0,0 +1,15 @@
#
# Copyright (c) 2006-2019 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
beef:
module:
get_internal_ip_java:
enable: true
category: "Host"
name: "Get Internal IP (Java)"
description: "Retrieve the local network interface IP address of the victim machine using an unsigned Java applet.<br/><br/>The browser must have Java enabled and configured to allow execution of unsigned Java applets.<br/><br/>Note that modern Java (as of Java 7u51) will outright refuse to execute unsigned Java applets, and will also reject self-signed Java applets unless they're added to the exception list."
authors: ["antisnatchor"]
target:
user_notify: ["ALL"]

View File

@@ -3,10 +3,10 @@
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Get_internal_ip < BeEF::Core::Command
class Get_internal_ip_java < BeEF::Core::Command
def pre_send
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/host/get_internal_ip/get_internal_ip.class', '/get_internal_ip', 'class')
BeEF::Core::NetworkStack::Handlers::AssetHandler.instance.bind('/modules/host/get_internal_ip_java/get_internal_ip.class', '/get_internal_ip', 'class')
end
#def self.options