=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== ifupdown-0.8.36/archcommon.c-87- ifupdown-0.8.36/archcommon.c:88:void compute_v4_addr(interface_defn *ifd, char **pparam, int argc, char **argv) { ifupdown-0.8.36/archcommon.c-89- char s[INET_ADDRSTRLEN * 2 + 2]; /* 2 is for slash and \0 */ ############################################## ifupdown-0.8.36/archcommon.h-11-void make_hex_address(interface_defn *ifd, char **pparam, int argc, char **argv); ifupdown-0.8.36/archcommon.h:12:void compute_v4_addr(interface_defn *ifd, char **pparam, int argc, char **argv); ifupdown-0.8.36/archcommon.h-13-void compute_v4_mask(interface_defn *ifd, char **pparam, int argc, char **argv); ############################################## ifupdown-0.8.36/archkfreebsd.c-23- ifupdown-0.8.36/archkfreebsd.c:24: unsigned char *ll = (unsigned char *)LLADDR(dl); ifupdown-0.8.36/archkfreebsd.c-25- char buf[18]; ############################################## ifupdown-0.8.36/contrib/ensureifup-21- ifupdown-0.8.36/contrib/ensureifup:22:if [ `$ifstate "$iface"` = DOWN ] ifupdown-0.8.36/contrib/ensureifup-23-then ############################################## ifupdown-0.8.36/contrib/ensureifup-26- ifup "$iface" ifupdown-0.8.36/contrib/ensureifup:27: [ `$ifstate "$iface"` = UP ] && logger -s "$iface now up again" ifupdown-0.8.36/contrib/ensureifup-28-fi ############################################## ifupdown-0.8.36/debian/preinst-10- f=/etc/network/interfaces ifupdown-0.8.36/debian/preinst:11: if [ `md5sum < $f | cut -f1 -d ' '` = "4ed352919f69a77ad302ad1593204405" ]; then ifupdown-0.8.36/debian/preinst-12- if [ `wc -c < /etc/network/interfaces` -eq 2466 ]; then ############################################## ifupdown-0.8.36/examples/check-mac-address.sh-16-/sbin/ip -brief link show dev "$1" | read iface state mac rest ifupdown-0.8.36/examples/check-mac-address.sh:17:targetmac=`echo "$2" | tr A-F a-f` ifupdown-0.8.36/examples/check-mac-address.sh-18- ############################################## ifupdown-0.8.36/examples/generate-interfaces.pl-8-# slight improvements (route parsing and direct command ifupdown-0.8.36/examples/generate-interfaces.pl:9:# execution) done by Javier Fernandez-Sanguino ifupdown-0.8.36/examples/generate-interfaces.pl-10-# ############################################## ifupdown-0.8.36/examples/pcmcia-compat.sh-17-get_info $iface ifupdown-0.8.36/examples/pcmcia-compat.sh:18:HWADDR=`/sbin/ifconfig $DEVICE | sed -n -e 's/.*addr \([^ ]*\) */\1/p'` ifupdown-0.8.36/examples/pcmcia-compat.sh-19-