Skip to content

Commit

Permalink
Merge pull request #1895 from beefproject/remove_arerule_from_enabled…
Browse files Browse the repository at this point in the history
…_by_default

Remove arerule from enabled by default
  • Loading branch information
jcrew99 authored Apr 6, 2020
2 parents 097effe + 50ed492 commit 4acaab2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
25 changes: 0 additions & 25 deletions arerules/enabled/lan_port_scan.json

This file was deleted.

1 change: 0 additions & 1 deletion modules/network/sw_port_scanner/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ for (var i=0; i<blocked_ports.length; i++) {
beef.net.send("<%= @command_url %>", <%= @command_id %>, port_+": port is closed", beef.are.status_success());
}
else {
console.log(end-start)
// This is a little sketchy but the only way to tell in Chrome/Chromium if the port is open. Basically sub 11ms connection was refused
if ((end - start) < 11 ) {
beef.net.send("<%= @command_url %>", <%= @command_id %>, port_+": port is closed", beef.are.status_success());
Expand Down

0 comments on commit 4acaab2

Please sign in to comment.