Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
recompile apps without sudo requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
pirate committed Nov 9, 2016
1 parent 9499b1a commit 9347226
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified Security Growler Light.app.zip
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

FAST_CMD = "netstat -tan | grep '[:.]{0}' | grep '{1}'"
LSOF_CMD = "sudo lsof +c 0 -i:{0} | grep -v '^launchd ' | grep '{1}'"
LSOF_CMD = "lsof +c 0 -i:{0} | grep -v '^launchd ' | grep '{1}'" # ideally this should be with sudo

def get_details(port, state='ESTABLISHED'):
get_conn_details = LSOF_CMD.format(port, state or '.*')
Expand Down
Binary file modified Security Growler.app.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion Security Growler.app/Contents/Resources/sources/sockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

FAST_CMD = "netstat -tan | grep '[:.]{0}' | grep '{1}'"
LSOF_CMD = "sudo lsof +c 0 -i:{0} | grep -v '^launchd ' | grep '{1}'"
LSOF_CMD = "lsof +c 0 -i:{0} | grep -v '^launchd ' | grep '{1}'" # ideally this should be with sudo

def get_details(port, state='ESTABLISHED'):
get_conn_details = LSOF_CMD.format(port, state or '.*')
Expand Down

0 comments on commit 9347226

Please sign in to comment.