===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
whereami-0.3.34/bin/userwhereami.pl-116-  if(process_location("$home/.whereami.conf", "$home/.whereiam.sh")) {
whereami-0.3.34/bin/userwhereami.pl:117:    system("sh -c \". $home/.whereiam.sh\"");
whereami-0.3.34/bin/userwhereami.pl-118-  }
##############################################
whereami-0.3.34/bin/whereami-136-  chmod 0755, "$statedir/whereiam.sh";
whereami-0.3.34/bin/whereami:137:  system( "sh", "-c", "$statedir/whereiam.sh" );
whereami-0.3.34/bin/whereami-138-
##############################################
whereami-0.3.34/bin/whereami-494-    }
whereami-0.3.34/bin/whereami:495:    elsif ( 0 == system( $testname, $params ) ) {
whereami-0.3.34/bin/whereami-496-      $state = "success";
##############################################
whereami-0.3.34/debian/whereami.network-hook-23-EXTRA_HINT=""
whereami-0.3.34/debian/whereami.network-hook:24:SITUATION=`basename \`dirname $0\` .d`
whereami-0.3.34/debian/whereami.network-hook-25-if [ "$SITUATION" = "pre-up" ] ; then
##############################################
whereami-0.3.34/scripts/bind-forwarders-73-# Test to see if bind is already running (just reload it) or needs to be started
whereami-0.3.34/scripts/bind-forwarders:74:BIND_RUNNING="`find /proc -type d -maxdepth 1 -name ${BINDPID}`"
whereami-0.3.34/scripts/bind-forwarders-75-if [ "$BIND_RUNNING" = "" ] ; then
##############################################
whereami-0.3.34/scripts/masqmail_route-13-# whereami sets the list of locations to be comma-separated - possibly a mistake!
whereami-0.3.34/scripts/masqmail_route:14:LOCATIONS="`echo ${LOCATION} | tr ',' ' '`"
whereami-0.3.34/scripts/masqmail_route-15-
##############################################
whereami-0.3.34/scripts/tests/testping-35-if [ -x /usr/bin/fping ] ; then
whereami-0.3.34/scripts/tests/testping:36:  if [ "`fping -a -B2 -i5 -r5 -t30 $IPTOFIND`" = "$IPTOFIND" ] ; then
whereami-0.3.34/scripts/tests/testping-37-    #   Leave the interface running in this case
##############################################
whereami-0.3.34/scripts/tests/testsupplicant-48-  fi
whereami-0.3.34/scripts/tests/testsupplicant:49:  if [ "`iwconfig ${INTERFACE} | grep Encryption | cut -f3 -d: `" = "restricted" ] ; then
whereami-0.3.34/scripts/tests/testsupplicant-50-    # Success
##############################################
whereami-0.3.34/scripts/tests/testdhcp-49-DHCLIENTPATH=${DHCLIENTPATH:-/sbin/dhclient}
whereami-0.3.34/scripts/tests/testdhcp:50:DHCLIENT=`basename $DHCLIENTPATH`
whereami-0.3.34/scripts/tests/testdhcp-51-DHCPCDPATH=${DHCPCDPATH:-/sbin/dhcpcd}
##############################################
whereami-0.3.34/scripts/tests/testdhcp-86-        fi
whereami-0.3.34/scripts/tests/testdhcp:87:        DHCP_ADDRESS=`grep "IP: " $STATEFILE | tr -d " " | cut -f2 -d:`
whereami-0.3.34/scripts/tests/testdhcp-88-        ;;
##############################################
whereami-0.3.34/scripts/tests/testdhcp-114-      stop)
whereami-0.3.34/scripts/tests/testdhcp:115:        dhcli_pid="`ps ax | grep $DHCLIENT | grep $INTERFACE | cut -c-5`"
whereami-0.3.34/scripts/tests/testdhcp-116-        [ -n "$dhcli_pid" ] && kill $dhcli_pid
##############################################
whereami-0.3.34/scripts/tests/testdhcp-123-        if ps ax | grep $DHCLIENT | grep -q $INTERFACE ; then
whereami-0.3.34/scripts/tests/testdhcp:124:          DHCP_ADDRESS="`/sbin/ifconfig $INTERFACE | head -2 | tail -1 | cut -d: -f2 | cut -d\  -f1`"
whereami-0.3.34/scripts/tests/testdhcp-125-          [ -n "$DHCP_ADDRESS" ] && return 0 || return 1
##############################################
whereami-0.3.34/scripts/tests/testdhcp-153-      stop)
whereami-0.3.34/scripts/tests/testdhcp:154:        dhcli_pid="`ps ax | grep $DHCLIENT | grep $INTERFACE | cut -c-5`"
whereami-0.3.34/scripts/tests/testdhcp-155-        [ -n "$dhcli_pid" ] && kill $dhcli_pid
##############################################
whereami-0.3.34/scripts/tests/testdhcp-160-      test)
whereami-0.3.34/scripts/tests/testdhcp:161:        DHCP_ADDRESS="`grep new_ip_address= $STATEFILE | cut -f2 -d=`"
whereami-0.3.34/scripts/tests/testdhcp-162-        [ -n "$DHCP_ADDRESS" ]
##############################################
whereami-0.3.34/scripts/tests/testdhcp-184-      stop)
whereami-0.3.34/scripts/tests/testdhcp:185:        if [ -s "$PIDFILE" ] && kill -0 "`cat "$PIDFILE"`" ;then
whereami-0.3.34/scripts/tests/testdhcp-186-          $DHCPCDPATH -k "$INTERFACE" > /dev/null
##############################################
whereami-0.3.34/scripts/tests/testdhcp-193-        fi
whereami-0.3.34/scripts/tests/testdhcp:194:        DHCP_ADDRESS="`grep '^IPADDR=' $INFOFILE| cut -f2 -d=`"
whereami-0.3.34/scripts/tests/testdhcp-195-        ;;
##############################################
whereami-0.3.34/scripts/tests/testarp-59-
whereami-0.3.34/scripts/tests/testarp:60:IFSTATE="`ifconfig | egrep \"^${INTERFACE}[\t ]\"`"
whereami-0.3.34/scripts/tests/testarp-61-if [ "$IFSTATE" = "" ] ; then
##############################################
whereami-0.3.34/scripts/tests/testssid-31-
whereami-0.3.34/scripts/tests/testssid:32:LINKPWR="`cat /proc/net/wireless | grep $INTERFACE | tr -s ' ' | cut -f4 -d' ' | cut -f1 -d.`"
whereami-0.3.34/scripts/tests/testssid-33-
##############################################
whereami-0.3.34/scripts/tests/testssid-41-if [ "$LINKPWR" -gt "$MINPWR" ] ; then
whereami-0.3.34/scripts/tests/testssid:42:	FOUNDSSID="`iwgetid $INTERFACE | cut -f2 -d: | cut -f2 -d'\"'`"
whereami-0.3.34/scripts/tests/testssid-43-	if [ "$FOUNDSSID" = "$TESTSSID" ] ; then
##############################################
whereami-0.3.34/scripts/tests/testssid-61-
whereami-0.3.34/scripts/tests/testssid:62:LINKPWR="`cat /proc/net/wireless | grep $INTERFACE | tr -s ' ' | cut -f4 -d' ' | cut -f1 -d.`"
whereami-0.3.34/scripts/tests/testssid-63-
##############################################
whereami-0.3.34/scripts/tests/testssid-70-  iwconfig $INTERFACE key off
whereami-0.3.34/scripts/tests/testssid:71:  LINKPWR="`cat /proc/net/wireless | grep $INTERFACE | tr -s ' ' | cut -f4 -d' ' | cut -f1 -d.`"
whereami-0.3.34/scripts/tests/testssid-72-  if [ "$LINKPWR" -gt 4 ] ; then
##############################################
whereami-0.3.34/scripts/tests/testappassive-54-{
whereami-0.3.34/scripts/tests/testappassive:55:  IFSTATE="`ifconfig | egrep \"^${INTERFACE}[\t ]\"`"
whereami-0.3.34/scripts/tests/testappassive-56-  if [ "$IFSTATE" = "" ] ; then
##############################################
whereami-0.3.34/scripts/tests/testap-83-  MAXATTEMPTS=4
whereami-0.3.34/scripts/tests/testap:84:  IFSTATE="`ifconfig | egrep \"^${INTERFACE}[\t ]\"`"
whereami-0.3.34/scripts/tests/testap-85-  if [ "$IFSTATE" = "" ] ; then
##############################################
whereami-0.3.34/scripts/tests/testap-112-{
whereami-0.3.34/scripts/tests/testap:113:  FIRST_SSID="`ap_pattern_match \"$1\" | head -n1 | cut -f2 -d'\"'`"
whereami-0.3.34/scripts/tests/testap-114-  if [ "" != "${FIRST_SSID}" ] ; then
##############################################
whereami-0.3.34/scripts/findnet-12-
whereami-0.3.34/scripts/findnet:13:mynet=`echo $1 | cut -d'.' -f1-3`
whereami-0.3.34/scripts/findnet-14-myip=$mynet.$2