=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== net-tools-1.60+git20181103.0eebece/Makefile-143- rm -rf -- net-tools-$(RELEASE) net-tools-1.60+git20181103.0eebece/Makefile:144: @printf "\nThe tarball is ready to go:\n%s\n" "`du -b net-tools-$(RELEASE).tar.xz`" net-tools-1.60+git20181103.0eebece/Makefile-145- ############################################## net-tools-1.60+git20181103.0eebece/include/util-ank.h-38-extern int get_prefix_1(inet_prefix *dst, char *arg, int family); net-tools-1.60+git20181103.0eebece/include/util-ank.h:39:extern int get_addr(inet_prefix *dst, char *arg, int family); net-tools-1.60+git20181103.0eebece/include/util-ank.h-40-extern int get_prefix(inet_prefix *dst, char *arg, int family); ############################################## net-tools-1.60+git20181103.0eebece/include/util-ank.h-65-extern int iproute_monitor(int argc, char **argv); net-tools-1.60+git20181103.0eebece/include/util-ank.h:66:extern int do_ipaddr(int argc, char **argv); net-tools-1.60+git20181103.0eebece/include/util-ank.h-67-extern int do_iproute(int argc, char **argv); ############################################## net-tools-1.60+git20181103.0eebece/include/util-ank.h-72-extern int do_ipmonitor(int argc, char **argv); net-tools-1.60+git20181103.0eebece/include/util-ank.h:73:extern int do_multiaddr(int argc, char **argv); net-tools-1.60+git20181103.0eebece/include/util-ank.h-74-extern int do_qdisc(int argc, char **argv); ############################################## net-tools-1.60+git20181103.0eebece/ipmaddr.c-237- net-tools-1.60+git20181103.0eebece/ipmaddr.c:238:static void print_maddr(FILE *fp, struct ma_info *list) net-tools-1.60+git20181103.0eebece/ipmaddr.c-239-{ ############################################## net-tools-1.60+git20181103.0eebece/ipmaddr.c-278- } net-tools-1.60+git20181103.0eebece/ipmaddr.c:279: print_maddr(fp, list); net-tools-1.60+git20181103.0eebece/ipmaddr.c-280- } ############################################## net-tools-1.60+git20181103.0eebece/ipmaddr.c-365- net-tools-1.60+git20181103.0eebece/ipmaddr.c:366:int do_multiaddr(int argc, char **argv) net-tools-1.60+git20181103.0eebece/ipmaddr.c-367-{ ############################################## net-tools-1.60+git20181103.0eebece/ipmaddr.c-427- net-tools-1.60+git20181103.0eebece/ipmaddr.c:428: return do_multiaddr(argc-1, argv+1); net-tools-1.60+git20181103.0eebece/ipmaddr.c-429-} ############################################## net-tools-1.60+git20181103.0eebece/lib/inet.c-209-#ifdef DEBUG net-tools-1.60+git20181103.0eebece/lib/inet.c:210: fprintf (stderr, "gethostbyaddr (%08lx)\n", ad); net-tools-1.60+git20181103.0eebece/lib/inet.c-211-#endif net-tools-1.60+git20181103.0eebece/lib/inet.c:212: ent = gethostbyaddr((char *) &ad, 4, AF_INET); net-tools-1.60+git20181103.0eebece/lib/inet.c-213- if (ent != NULL) ############################################## net-tools-1.60+git20181103.0eebece/lib/inet.c-216-#ifdef DEBUG net-tools-1.60+git20181103.0eebece/lib/inet.c:217: fprintf (stderr, "getnetbyaddr (%08lx)\n", host_ad); net-tools-1.60+git20181103.0eebece/lib/inet.c-218-#endif net-tools-1.60+git20181103.0eebece/lib/inet.c:219: np = getnetbyaddr(host_ad, AF_INET); net-tools-1.60+git20181103.0eebece/lib/inet.c-220- if (np != NULL) ############################################## net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-38-#if HAVE_NEW_ADDRT net-tools-1.60+git20181103.0eebece/lib/inet_sr.c:39:#define mask_in_addr(x) (((struct sockaddr_in *)&((x).rt_genmask))->sin_addr.s_addr) net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-40-#define full_mask(x) (x) net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-41-#else net-tools-1.60+git20181103.0eebece/lib/inet_sr.c:42:#define mask_in_addr(x) ((x).rt_genmask) net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-43-#define full_mask(x) (((struct sockaddr_in *)&(x))->sin_addr.s_addr) ############################################## net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-142- args++; net-tools-1.60+git20181103.0eebece/lib/inet_sr.c:143: if (!*args || mask_in_addr(rt)) net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-144- return usage(E_OPTERR); ############################################## net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-267- /* sanity checks.. */ net-tools-1.60+git20181103.0eebece/lib/inet_sr.c:268: if (mask_in_addr(rt)) { net-tools-1.60+git20181103.0eebece/lib/inet_sr.c:269: __u32 mask = ~ntohl(mask_in_addr(rt)); net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-270- if ((rt.rt_flags & RTF_HOST) && mask != 0xffffffff) { ############################################## net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-278- mask = ((struct sockaddr_in *) &rt.rt_dst)->sin_addr.s_addr; net-tools-1.60+git20181103.0eebece/lib/inet_sr.c:279: if (mask & ~mask_in_addr(rt)) { net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-280- fprintf(stderr, _("route: netmask doesn't match route address\n")); ############################################## net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-285- if ((action == RTACTION_ADD) && rt.rt_flags & RTF_HOST) net-tools-1.60+git20181103.0eebece/lib/inet_sr.c:286: mask_in_addr(rt) = 0xffffffff; net-tools-1.60+git20181103.0eebece/lib/inet_sr.c-287- ############################################## net-tools-1.60+git20181103.0eebece/lib/interface.c-403-#if HAVE_AFIPX net-tools-1.60+git20181103.0eebece/lib/interface.c:404:static int ipx_getaddr(int sock, int ft, struct ifreq *ifr) net-tools-1.60+git20181103.0eebece/lib/interface.c-405-{ ############################################## net-tools-1.60+git20181103.0eebece/lib/interface.c-527- safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); net-tools-1.60+git20181103.0eebece/lib/interface.c:528: if (!ipx_getaddr(fd, IPX_FRAME_ETHERII, &ifr)) { net-tools-1.60+git20181103.0eebece/lib/interface.c-529- ife->has_ipx_bb = 1; ############################################## net-tools-1.60+git20181103.0eebece/lib/interface.c-532- safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); net-tools-1.60+git20181103.0eebece/lib/interface.c:533: if (!ipx_getaddr(fd, IPX_FRAME_SNAP, &ifr)) { net-tools-1.60+git20181103.0eebece/lib/interface.c-534- ife->has_ipx_sn = 1; ############################################## net-tools-1.60+git20181103.0eebece/lib/interface.c-537- safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); net-tools-1.60+git20181103.0eebece/lib/interface.c:538: if (!ipx_getaddr(fd, IPX_FRAME_8023, &ifr)) { net-tools-1.60+git20181103.0eebece/lib/interface.c-539- ife->has_ipx_e3 = 1; ############################################## net-tools-1.60+git20181103.0eebece/lib/interface.c-542- safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); net-tools-1.60+git20181103.0eebece/lib/interface.c:543: if (!ipx_getaddr(fd, IPX_FRAME_8022, &ifr)) { net-tools-1.60+git20181103.0eebece/lib/interface.c-544- ife->has_ipx_e2 = 1; ############################################## net-tools-1.60+git20181103.0eebece/lib/util-ank.c-226- net-tools-1.60+git20181103.0eebece/lib/util-ank.c:227:int get_addr(inet_prefix *dst, char *arg, int family) net-tools-1.60+git20181103.0eebece/lib/util-ank.c-228-{ ############################################## net-tools-1.60+git20181103.0eebece/lib/util-ank.c-311- if (addrlen && net-tools-1.60+git20181103.0eebece/lib/util-ank.c:312: (h_ent = gethostbyaddr(addr, addrlen, af)) != NULL) { net-tools-1.60+git20181103.0eebece/lib/util-ank.c-313- snprintf(abuf, alen-1, "%s", h_ent->h_name); ############################################## net-tools-1.60+git20181103.0eebece/.pc/Bug_541172-netstat.c-exit-codes.patch/netstat.c-857- struct sockaddr_in *sin = (struct sockaddr_in *)sas; net-tools-1.60+git20181103.0eebece/.pc/Bug_541172-netstat.c-exit-codes.patch/netstat.c:858: sin->sin_addr.s_addr = inet_addr(addr_str); net-tools-1.60+git20181103.0eebece/.pc/Bug_541172-netstat.c-exit-codes.patch/netstat.c-859- sas->ss_family = AF_INET; ############################################## net-tools-1.60+git20181103.0eebece/.pc/Add_missing_headers.patch/netstat.c-857- struct sockaddr_in *sin = (struct sockaddr_in *)sas; net-tools-1.60+git20181103.0eebece/.pc/Add_missing_headers.patch/netstat.c:858: sin->sin_addr.s_addr = inet_addr(addr_str); net-tools-1.60+git20181103.0eebece/.pc/Add_missing_headers.patch/netstat.c-859- sas->ss_family = AF_INET; ############################################## net-tools-1.60+git20181103.0eebece/netstat.c-858- struct sockaddr_in *sin = (struct sockaddr_in *)sas; net-tools-1.60+git20181103.0eebece/netstat.c:859: sin->sin_addr.s_addr = inet_addr(addr_str); net-tools-1.60+git20181103.0eebece/netstat.c-860- sas->ss_family = AF_INET;