From 6613ab69a97b2a63e64cdbedce9e42d7c8958930 Mon Sep 17 00:00:00 2001 From: epi052 <43392618+epi052@users.noreply.github.com> Date: Thu, 20 Feb 2020 19:10:59 -0600 Subject: [PATCH] install masscan now adds CAP_NET_RAW linux capability to masscan (#23) closes #21 --- recon-pipeline.py | 2 +- recon/__init__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recon-pipeline.py b/recon-pipeline.py index 970442f..2d51dc6 100755 --- a/recon-pipeline.py +++ b/recon-pipeline.py @@ -170,7 +170,7 @@ class ReconShell(cmd2.Cmd): # name for the option came from @AlphaRingo command.pop(command.index("--sausage")) - webbrowser.open("localhost:8082") # hard-coded here, can specify different with the status command + webbrowser.open("127.0.0.1:8082") # hard-coded here, can specify different with the status command if args.verbose: # verbose is not a luigi option, need to remove it diff --git a/recon/__init__.py b/recon/__init__.py index cc80a6f..b03780f 100644 --- a/recon/__init__.py +++ b/recon/__init__.py @@ -40,6 +40,7 @@ tools = { "make -s -j -C /tmp/masscan", f"mv /tmp/masscan/bin/masscan {tool_paths.get('masscan')}", "rm -rf /tmp/masscan", + f"sudo setcap CAP_NET_RAW+ep {tool_paths.get('masscan')}", ], }, "amass": {