===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
broctl-1.4/testing/Scripts/broctl-test-setup-29-    # Split input into two cmd-line args.
broctl-1.4/testing/Scripts/broctl-test-setup:30:    origrelpath=`echo $1 | awk '{print $1}'`
broctl-1.4/testing/Scripts/broctl-test-setup:31:    newfile=`echo $1 | awk '{print $2}'`
broctl-1.4/testing/Scripts/broctl-test-setup-32-    if [ "$newfile" = "--new" ]; then
##############################################
broctl-1.4/testing/Scripts/build-bro-41-
broctl-1.4/testing/Scripts/build-bro:42:BROCTLSRCDIR=`dirname "$0"`/../..
broctl-1.4/testing/Scripts/build-bro-43-BROSRCDIR=${BROCTLSRCDIR}/../..
##############################################
broctl-1.4/testing/Scripts/build-bro-46-# Absolute path of a directory where all of the broctl test files are located.
broctl-1.4/testing/Scripts/build-bro:47:BROCTL_TEST=`python -c "from __future__ import print_function; import os,sys; print(os.path.realpath(sys.argv[1]))" ${BROCTLBUILDDIR}/testing`
broctl-1.4/testing/Scripts/build-bro-48-test $? -ne 0 && exit 1
##############################################
broctl-1.4/configure-77-    case "$1" in
broctl-1.4/configure:78:        -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
broctl-1.4/configure-79-        *) optarg= ;;
##############################################
broctl-1.4/cmake/BroPluginDynamic.cmake-10-if ( NOT BRO_PLUGIN_INTERNAL_BUILD )
broctl-1.4/cmake/BroPluginDynamic.cmake:11:   include(${BRO_DIST}/cmake/CommonCMakeConfig.cmake)
broctl-1.4/cmake/BroPluginDynamic.cmake-12-
##############################################
broctl-1.4/cmake/bro-plugin-install-package.sh-8-if [ $# != 2 ]; then
broctl-1.4/cmake/bro-plugin-install-package.sh:9:    echo "usage: `basename $0` <canonical plugin name> <destination directory>"
broctl-1.4/cmake/bro-plugin-install-package.sh-10-    exit 1
##############################################
broctl-1.4/cmake/bro-plugin-create-package.sh-9-if [ $# = 0 ]; then
broctl-1.4/cmake/bro-plugin-create-package.sh:10:    echo "usage: `basename $0` <canonical plugin name> [<additional files to include into binary distribution>]"
broctl-1.4/cmake/bro-plugin-create-package.sh-11-    exit 1
##############################################
broctl-1.4/cmake/bro-plugin-create-package.sh-20-    if [ -e ../$i ]; then
broctl-1.4/cmake/bro-plugin-create-package.sh:21:        dir=`dirname $i`
broctl-1.4/cmake/bro-plugin-create-package.sh-22-        mkdir -p ${dir}
##############################################
broctl-1.4/cmake/package_postupgrade.sh.in-13-if [ -e ${backupNamesFile} ]; then
broctl-1.4/cmake/package_postupgrade.sh.in:14:    backupFileList=`cat ${backupNamesFile}`
broctl-1.4/cmake/package_postupgrade.sh.in-15-
broctl-1.4/cmake/package_postupgrade.sh.in-16-    for backupFile in ${backupFileList}; do
broctl-1.4/cmake/package_postupgrade.sh.in:17:        origFileName=`echo ${backupFile} | sed 's/\(.*\)\..*/\1/'`
broctl-1.4/cmake/package_postupgrade.sh.in-18-
##############################################
broctl-1.4/BroControl/util.py-167-# with square brackets.
broctl-1.4/BroControl/util.py:168:def format_bro_addr(addr):
broctl-1.4/BroControl/util.py-169-    if ":" not in addr:
##############################################
broctl-1.4/BroControl/util.py-186-# quoting the brackets.
broctl-1.4/BroControl/util.py:187:def format_rsync_addr(addr):
broctl-1.4/BroControl/util.py-188-    if ":" not in addr:
##############################################
broctl-1.4/BroControl/util.py-193-# Scopes a non-global IPv6 address with a zone identifier according to RFC 4007
broctl-1.4/BroControl/util.py:194:def scope_addr(addr):
broctl-1.4/BroControl/util.py-195-    zoneid = config.Config.zoneid
##############################################
broctl-1.4/BroControl/control.py-894-                args = " ".join(_make_bro_params(node, False))
broctl-1.4/BroControl/control.py:895:                cmds += [(node.name, os.path.join(self.config.scriptsdir, "update") + " %s %s %s/tcp %s" % (util.format_bro_addr(node.addr), zone, node.getPort(), args), env, None)]
broctl-1.4/BroControl/control.py-896-                self.ui.info("updating %s ..." % node.name)
##############################################
broctl-1.4/BroControl/install.py-111-            out.write("redef Communication::nodes += {\n")
broctl-1.4/BroControl/install.py:112:            out.write("\t[\"control\"] = [$host=%s, $zone_id=\"%s\", $class=\"control\", $events=Control::controller_events],\n" % (util.format_bro_addr(manager.addr), manager.zone_id))
broctl-1.4/BroControl/install.py-113-            out.write("};\n")
##############################################
broctl-1.4/BroControl/install.py-126-            # Control definition.  For now just reuse the manager information.
broctl-1.4/BroControl/install.py:127:            out.write("\t[\"control\"] = [$node_type=Cluster::CONTROL, $ip=%s, $zone_id=\"%s\", $p=%s/tcp],\n" % (util.format_bro_addr(manager.addr), config.Config.zoneid, broport.next_port(manager)))
broctl-1.4/BroControl/install.py-128-
broctl-1.4/BroControl/install.py-129-            # Manager definition
broctl-1.4/BroControl/install.py:130:            out.write("\t[\"%s\"] = [$node_type=Cluster::MANAGER, $ip=%s, $zone_id=\"%s\", $p=%s/tcp, $workers=set(" % (manager.name, util.format_bro_addr(manager.addr), manager.zone_id, broport.next_port(manager)))
broctl-1.4/BroControl/install.py-131-            for s in workers:
##############################################
broctl-1.4/BroControl/install.py-138-            for p in proxies:
broctl-1.4/BroControl/install.py:139:                out.write("\t[\"%s\"] = [$node_type=Cluster::PROXY, $ip=%s, $zone_id=\"%s\", $p=%s/tcp, $manager=\"%s\", $workers=set(" % (p.name, util.format_bro_addr(p.addr), p.zone_id, broport.next_port(p), manager.name))
broctl-1.4/BroControl/install.py-140-                for s in workers:
##############################################
broctl-1.4/BroControl/install.py-148-                p = w.count % len(proxies)
broctl-1.4/BroControl/install.py:149:                out.write("\t[\"%s\"] = [$node_type=Cluster::WORKER, $ip=%s, $zone_id=\"%s\", $p=%s/tcp, $interface=\"%s\", $manager=\"%s\", $proxy=\"%s\"],\n" % (w.name, util.format_bro_addr(w.addr), w.zone_id, broport.next_port(w), w.interface, manager.name, proxies[p].name))
broctl-1.4/BroControl/install.py-150-
##############################################
broctl-1.4/BroControl/events.py-55-
broctl-1.4/BroControl/events.py:56:    host = util.scope_addr(node.addr)
broctl-1.4/BroControl/events.py-57-
##############################################
broctl-1.4/BroControl/execute.py-50-        args = ["-rRl", "--delete", "--rsh=\"ssh -o ConnectTimeout=30\""]
broctl-1.4/BroControl/execute.py:51:        dst = ["%s:/" % util.format_rsync_addr(util.scope_addr(n.host))]
broctl-1.4/BroControl/execute.py-52-        args += paths + dst
##############################################
broctl-1.4/BroControl/execute.py-57-        if not success:
broctl-1.4/BroControl/execute.py:58:            cmdout.error("rsync to %s failed: %s" % (util.scope_addr(id.host), "\n".join(output)))
broctl-1.4/BroControl/execute.py-59-            result = False
##############################################
broctl-1.4/BroControl/execute.py-145-        # On Linux, ifconfig is often not in the user's standard PATH.
broctl-1.4/BroControl/execute.py:146:        proc = subprocess.Popen(["PATH=$PATH:/sbin:/usr/sbin ifconfig", "-a"], stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
broctl-1.4/BroControl/execute.py-147-        out, err = proc.communicate()
##############################################
broctl-1.4/bin/send-mail-10-
broctl-1.4/bin/send-mail:11:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/send-mail-12-if [ $? -ne 0 ]; then
##############################################
broctl-1.4/bin/helpers/top-8-
broctl-1.4/bin/helpers/top:9:. `dirname $0`/../broctl-config.sh
broctl-1.4/bin/helpers/top-10-
##############################################
broctl-1.4/bin/helpers/start-12-
broctl-1.4/bin/helpers/start:13:. `dirname $0`/../broctl-config.sh
broctl-1.4/bin/helpers/start-14-
##############################################
broctl-1.4/bin/helpers/df-6-
broctl-1.4/bin/helpers/df:7:. `dirname $0`/../broctl-config.sh
broctl-1.4/bin/helpers/df-8-
##############################################
broctl-1.4/bin/run-bro-28-
broctl-1.4/bin/run-bro:29:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/run-bro-30-
##############################################
broctl-1.4/bin/run-bro-73-    fi
broctl-1.4/bin/run-bro:74:    mybro=${tmpexecdir}/`basename "${bro}"`
broctl-1.4/bin/run-bro-75-    rm -f "$mybro"
##############################################
broctl-1.4/bin/make-archive-name-36-
broctl-1.4/bin/make-archive-name:37:ext=`echo $1 | sed 's/^.*\.//'`
broctl-1.4/bin/make-archive-name:38:name=`basename $1 .$ext`
broctl-1.4/bin/make-archive-name-39-writer=$2
##############################################
broctl-1.4/bin/make-archive-name-42-
broctl-1.4/bin/make-archive-name:43:day=`echo $opened  | awk -F - '{printf "%s-%s-%s", $1, $2, $3}'`
broctl-1.4/bin/make-archive-name:44:from=`echo $opened | awk -F - '{printf "%s:%s:%s", $4, $5, $6}'`
broctl-1.4/bin/make-archive-name:45:to=`echo $closed | awk -F - '{printf "%s:%s:%s", $4, $5, $6}'`
broctl-1.4/bin/make-archive-name-46-
##############################################
broctl-1.4/bin/check-config-17-
broctl-1.4/bin/check-config:18:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/check-config-19-
##############################################
broctl-1.4/bin/post-terminate-44-
broctl-1.4/bin/post-terminate:45:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/post-terminate-46-
##############################################
broctl-1.4/bin/post-terminate-80-    if [ "${havenfs}" = "1" ]; then
broctl-1.4/bin/post-terminate:81:        mybro=${tmpexecdir}/`basename "${bro}"`
broctl-1.4/bin/post-terminate-82-    fi
##############################################
broctl-1.4/bin/post-terminate-148-        # Strip off the leading "./"
broctl-1.4/bin/post-terminate:149:        logname=`echo $i | sed 's#^\./##'`
broctl-1.4/bin/post-terminate-150-
broctl-1.4/bin/post-terminate-151-        # Strip off the file extension
broctl-1.4/bin/post-terminate:152:        basename=`echo $logname | sed 's/\.[^.]*$//'`
broctl-1.4/bin/post-terminate-153-
##############################################
broctl-1.4/bin/post-terminate-157-        if [ -f .rotated.$basename ]; then
broctl-1.4/bin/post-terminate:158:            strt=`cat .rotated.$basename`
broctl-1.4/bin/post-terminate-159-        fi
##############################################
broctl-1.4/bin/archive-log-35-
broctl-1.4/bin/archive-log:36:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/archive-log-37-
##############################################
broctl-1.4/bin/archive-log-56-
broctl-1.4/bin/archive-log:57:century=`date +%Y | sed 's/..$//'`
broctl-1.4/bin/archive-log-58-
broctl-1.4/bin/archive-log-59-# Convert timestamps to the format YYYY-MM-DD-HH-MM-SS
broctl-1.4/bin/archive-log:60:from=`echo $century$from | sed 's/[_.]/-/g'`
broctl-1.4/bin/archive-log:61:to=`echo $century$to | sed 's/[_.]/-/g'`
broctl-1.4/bin/archive-log-62-
broctl-1.4/bin/archive-log-63-# Extract file extension from original filename
broctl-1.4/bin/archive-log:64:ext=`echo $file_name | sed 's/^.*\.//'`
broctl-1.4/bin/archive-log-65-
##############################################
broctl-1.4/bin/archive-log-70-# Compute the archived log filename
broctl-1.4/bin/archive-log:71:dest=`"${makearchivename}" $base_name.$ext $writer $from $to`
broctl-1.4/bin/archive-log-72-if [ -z "$dest" ]; then
##############################################
broctl-1.4/bin/archive-log-86-
broctl-1.4/bin/archive-log:87:dest_dir=`dirname "$dest"`
broctl-1.4/bin/archive-log-88-
##############################################
broctl-1.4/bin/run-bro-on-trace-12-
broctl-1.4/bin/run-bro-on-trace:13:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/run-bro-on-trace-14-
##############################################
broctl-1.4/bin/update-11-
broctl-1.4/bin/update:12:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/update-13-
##############################################
broctl-1.4/bin/cflow-stats-6-
broctl-1.4/bin/cflow-stats:7:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/cflow-stats-8-
##############################################
broctl-1.4/bin/crash-diag-6-
broctl-1.4/bin/crash-diag:7:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/crash-diag-8-
##############################################
broctl-1.4/bin/crash-diag-28-if [ -f "${bro}" ];then
broctl-1.4/bin/crash-diag:29:    bro_version=`"${bro}" -v 2>&1 >/dev/null | awk '{print $3}'`
broctl-1.4/bin/crash-diag-30-else
##############################################
broctl-1.4/bin/expire-logs-5-
broctl-1.4/bin/expire-logs:6:. `dirname $0`/broctl-config.sh
broctl-1.4/bin/expire-logs-7-
##############################################
broctl-1.4/bin/expire-logs-32-    # (no output means all lines are older than the expire time).
broctl-1.4/bin/expire-logs:33:    nl=`awk -v expiretime=$exptime '{ if ( $1 > expiretime ) { print NR-1; exit } }' "$slfile"`
broctl-1.4/bin/expire-logs-34-
##############################################
broctl-1.4/bin/postprocessors/summarize-connections-30-
broctl-1.4/bin/postprocessors/summarize-connections:31:. `dirname $0`/../broctl-config.sh
broctl-1.4/bin/postprocessors/summarize-connections-32-if [ $? -ne 0 ]; then
##############################################
broctl-1.4/bin/postprocessors/summarize-connections-73-    # Convert timestamps to the format HH:MM:SS, and build the subject line.
broctl-1.4/bin/postprocessors/summarize-connections:74:    start=`echo $open | sed 's/^..-..-.._//' | sed 's/\./:/g'`
broctl-1.4/bin/postprocessors/summarize-connections:75:    end=`echo $close | sed 's/^..-..-.._//' | sed 's/\./:/g'`
broctl-1.4/bin/postprocessors/summarize-connections-76-    subject="Connection summary from $start-$end"