Skip to content

Commit

Permalink
Merge pull request #1912 from beefproject/update_sw_port_scanner
Browse files Browse the repository at this point in the history
fixed a few spelling mistakes and changed the name
  • Loading branch information
jcrew99 authored Apr 16, 2020
2 parents 6431df6 + 1aa76f9 commit abbe9db
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion core/main/client/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ beef.websocket = {
},

/**
* Send Helo message to the BeEF server and start async polling.
* Send Hello message to the BeEF server and start async polling.
*/
start:function () {
new beef.websocket.init();
Expand Down
2 changes: 1 addition & 1 deletion core/main/network_stack/websocket/websocket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def start_websocket_server(ws_options)

# new zombie
unless msg_hash['cookie'].nil?
print_debug("[WebSocket] Browser says helo! WebSocket is running")
print_debug("[WebSocket] Browser says hello! WebSocket is running")
# insert new connection in activesocket
@@activeSocket["#{msg_hash["cookie"]}"] = ws
print_debug("[WebSocket] activeSocket content [#{@@activeSocket}]")
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
#
beef:
module:
sw_port_scanner:
fetch_port_scanner:
enable: true
category: "Network"
name: "SW Port Scanner"
description: " Uses web workers to port scan"
name: "Fetch Port Scanner"
description: " Uses fetch to test the response in order to determine if a port is open or not"
authors: ["Crimes by Will", "jcrew99"]
# http://caniuse.com/cors
target:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Sw_port_scanner < BeEF::Core::Command
class Fetch_port_scanner < BeEF::Core::Command

# set and return all options for this module
def self.options
Expand Down

0 comments on commit abbe9db

Please sign in to comment.