<86>Jul 25 10:30:23 userdel[851947]: delete user 'rooter' <86>Jul 25 10:30:23 userdel[851947]: removed group 'rooter' owned by 'rooter' <86>Jul 25 10:30:23 groupadd[851953]: group added to /etc/group: name=rooter, GID=702 <86>Jul 25 10:30:23 groupadd[851953]: group added to /etc/gshadow: name=rooter <86>Jul 25 10:30:23 groupadd[851953]: new group: name=rooter, GID=702 <86>Jul 25 10:30:23 useradd[851957]: new user: name=rooter, UID=702, GID=702, home=/root, shell=/bin/bash <86>Jul 25 10:30:23 userdel[851967]: delete user 'builder' <86>Jul 25 10:30:23 userdel[851967]: removed group 'builder' owned by 'builder' <86>Jul 25 10:30:23 userdel[851967]: removed shadow group 'builder' owned by 'builder' <86>Jul 25 10:30:23 groupadd[851977]: group added to /etc/group: name=builder, GID=703 <86>Jul 25 10:30:23 groupadd[851977]: group added to /etc/gshadow: name=builder <86>Jul 25 10:30:23 groupadd[851977]: new group: name=builder, GID=703 <86>Jul 25 10:30:23 useradd[851981]: new user: name=builder, UID=703, GID=703, home=/usr/src, shell=/bin/bash <13>Jul 25 10:30:25 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Jul 25 10:30:25 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>Jul 25 10:30:25 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>Jul 25 10:30:25 rpmi: libsystemd-1:246.14-alt1 p9+279856.100.1.1 1626804758 installed <13>Jul 25 10:30:25 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Jul 25 10:30:25 rpmi: libpcap0.8-2:1.9.1-alt2 p9+263886.100.3.1 1609171733 installed <13>Jul 25 10:30:25 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 10:30:25 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Jul 25 10:30:25 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 10:30:25 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Jul 25 10:30:25 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Jul 25 10:30:25 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Jul 25 10:30:25 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385903 installed <13>Jul 25 10:30:25 rpmi: libcrypto1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 10:30:25 rpmi: libssl1.1-1.1.1k-alt1 p9+268376.100.3.1 1616721011 installed <13>Jul 25 10:30:25 rpmi: libmysqlclient21-8.0.20-alt2 p9+252360.100.1.1 1590698673 installed <13>Jul 25 10:30:25 rpmi: libmysqlclient21-devel-8.0.20-alt2 p9+252360.100.1.1 1590698673 installed <13>Jul 25 10:30:25 rpmi: libpcap-devel-2:1.9.1-alt2 p9+263886.100.3.1 1609171733 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/prescanic-0.8.1-alt1.nosrc.rpm (w1.gzdio) Installing prescanic-0.8.1-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.20069 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf prescanic-0.8.1 + echo 'Source #0 (prescanic-0.8.1.tar.bz2):' Source #0 (prescanic-0.8.1.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/prescanic-0.8.1.tar.bz2 + /bin/tar -xf - + cd prescanic-0.8.1 + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (prescanic-0.8-alt-makefile.patch):' Patch #0 (prescanic-0.8-alt-makefile.patch): + /usr/bin/patch -p2 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.57871 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd prescanic-0.8.1 + make -j8 make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o main.o main.c main.c: In function 'main': main.c:21:3: warning: implicit declaration of function 'init'; did you mean 'exit'? [-Wimplicit-function-declaration] init(argc,argv); ^~~~ exit main.c:26:29: warning: implicit declaration of function 'add_victim' [-Wimplicit-function-declaration] victim = (struct host*) add_victim(config.single_host); ^~~~~~~~~~ main.c:27:22: warning: implicit declaration of function 'prescan'; did you mean 'pread'? [-Wimplicit-function-declaration] prescan_retval = prescan(victim); ^~~~~~~ pread main.c:30:7: warning: implicit declaration of function 'determine_os' [-Wimplicit-function-declaration] determine_os(victim); /* determine OS from fingerprint responses */ ^~~~~~~~~~~~ main.c:31:5: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] output(victim); ^~~~~~ main.c:32:5: warning: implicit declaration of function 'del_victim' [-Wimplicit-function-declaration] del_victim(victim); ^~~~~~~~~~ main.c:105:13: warning: implicit declaration of function 'wait'; did you mean 'main'? [-Wimplicit-function-declaration] wait(NULL); ^~~~ main make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o prescan.o prescan.c prescan.c: In function 'prescan': prescan.c:10:3: warning: implicit declaration of function 'forward_lookup' [-Wimplicit-function-declaration] forward_lookup(victim); ^~~~~~~~~~~~~~ prescan.c:11:24: warning: implicit declaration of function 'reverse_lookup' [-Wimplicit-function-declaration] if(!config.r_lookup) reverse_lookup(victim); ^~~~~~~~~~~~~~ prescan.c:20:10: warning: implicit declaration of function 'Inet_ntoa'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] Inet_ntoa(victim->ip), ^~~~~~~~~ inet_ntoa prescan.c:19:22: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] printf("SCANNING: %s (%s)\n", ~^ %d Inet_ntoa(victim->ip), ~~~~~~~~~~~~~~~~~~~~~ prescan.c:27:8: warning: implicit declaration of function 'send_icmp_echo' [-Wimplicit-function-declaration] if(send_icmp_echo(victim) < 0) ^~~~~~~~~~~~~~ prescan.c:32:5: warning: implicit declaration of function 'add_tcp' [-Wimplicit-function-declaration] add_tcp((SYN_SOURCE+i),config.port[i],victim); ^~~~~~~ prescan.c:42:10: warning: implicit declaration of function 'tcp_check' [-Wimplicit-function-declaration] if(tcp_check(victim)) ^~~~~~~~~ prescan.c:46:10: warning: implicit declaration of function 'dns_check' [-Wimplicit-function-declaration] if(dns_check(victim)) ^~~~~~~~~ prescan.c:51:10: warning: implicit declaration of function 'sniff' [-Wimplicit-function-declaration] if(sniff(victim)) ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o osdetect.o osdetect.c osdetect.c: In function 'init_osdetect': osdetect.c:12:56: warning: implicit declaration of function 'Inet_ntoa'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] printf("init_osdetect() running. (LOCAL IP: %s)\n",Inet_ntoa(config.local_ip)); ^~~~~~~~~ inet_ntoa osdetect.c:12:50: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] printf("init_osdetect() running. (LOCAL IP: %s)\n",Inet_ntoa(config.local_ip)); ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ %d osdetect.c:16:3: warning: implicit declaration of function 'send_tcp_stack_fingerprint' [-Wimplicit-function-declaration] send_tcp_stack_fingerprint(victim,PORT_1,1,1,0,0); ^~~~~~~~~~~~~~~~~~~~~~~~~~ osdetect.c: In function 'determine_os': osdetect.c:117:27: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] victim->os = (char *) Malloc(strlen(ptr)); ^~~~~~ valloc make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o init.o init.c init.c: In function 'init': init.c:30:38: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] config.single_host = (char*) Malloc(strlen(optarg)+1); ^~~~~~ valloc init.c:48:9: warning: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] Free(config.device); ^~~~ free init.c:84:3: warning: implicit declaration of function 'db_load_config' [-Wimplicit-function-declaration] db_load_config(); ^~~~~~~~~~~~~~ init.c:87:23: warning: implicit declaration of function 'db_setup' [-Wimplicit-function-declaration] if(config.db_setup) db_setup(); ^~~~~~~~ init.c:98:5: warning: implicit declaration of function 'init_pcap'; did you mean 'inet_ntop'? [-Wimplicit-function-declaration] init_pcap(); ^~~~~~~~~ inet_ntop init.c:102:23: warning: implicit declaration of function 'get_device_ip' [-Wimplicit-function-declaration] config.local_ip = get_device_ip(config.device); ^~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o tcp.o tcp.c tcp.c: In function 'tcp_check': tcp.c:18:34: warning: implicit declaration of function 'sock_status'; did you mean 'si_status'? [-Wimplicit-function-declaration] victim->tcp_current->state = sock_status(victim->tcp_current->sock); ^~~~~~~~~~~ si_status tcp.c:27:7: warning: implicit declaration of function 'talk_with_protocol' [-Wimplicit-function-declaration] talk_with_protocol(victim); ^~~~~~~~~~~~~~~~~~ tcp.c:33:9: warning: implicit declaration of function 'init_osdetect'; did you mean 'initstate_r'? [-Wimplicit-function-declaration] init_osdetect(victim); ^~~~~~~~~~~~~ initstate_r tcp.c: In function 'add_tcp': tcp.c:69:51: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] victim->tcp_current = (struct tcp_connection *) Malloc(sizeof(struct tcp_connection)); ^~~~~~ valloc tcp.c:81:5: warning: implicit declaration of function 'send_syn'; did you mean 'sendmsg'? [-Wimplicit-function-declaration] send_syn(src_port,port,victim); ^~~~~~~~ sendmsg tcp.c:83:33: warning: implicit declaration of function 'nonblock_tcp_connect' [-Wimplicit-function-declaration] victim->tcp_current->sock = nonblock_tcp_connect(victim->ip,victim->tcp_current->port); ^~~~~~~~~~~~~~~~~~~~ tcp.c: In function 'del_tcp': tcp.c:102:3: warning: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] Free(tcp_current); ^~~~ free make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o db.o db.c db.c: In function 'db_load_config': db.c:86:7: warning: implicit declaration of function 'strip_line_feed' [-Wimplicit-function-declaration] strip_line_feed(ptr); ^~~~~~~~~~~~~~~ db.c:92:33: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] config.db_server = (char*)Malloc(strlen(ptr) +1); ^~~~~~ valloc make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o protocol.o protocol.c protocol.c: In function 'talk_with_protocol': protocol.c:28:5: warning: implicit declaration of function 'tcp_close'; did you mean 'pcap_close'? [-Wimplicit-function-declaration] tcp_close(victim->tcp_current); ^~~~~~~~~ pcap_close protocol.c: In function 'talk_dns': protocol.c:37:3: warning: implicit declaration of function 'dns_connect'; did you mean 'connect'? [-Wimplicit-function-declaration] dns_connect(victim); ^~~~~~~~~~~ connect protocol.c: In function 'talk_ftp': protocol.c:49:16: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] ptr = (char*)Malloc(victim->tcp_current->datalen + 1); ^~~~~~ valloc protocol.c:50:12: warning: implicit declaration of function 'readline_from_sock' [-Wimplicit-function-declaration] retval = readline_from_sock(victim->tcp_current->sock,ptr,victim->tcp_current->datalen); ^~~~~~~~~~~~~~~~~~ protocol.c:62:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(victim->tcp_current->sock,FTP_SYST,strlen(FTP_SYST)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:64:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(victim->tcp_current->sock,FTP_USER,strlen(FTP_USER)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:74:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(victim->tcp_current->sock,FTP_PASS,strlen(FTP_PASS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c: In function 'talk_telnet': protocol.c:165:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(victim->tcp_current->sock,string,victim->tcp_current->datalen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c:179:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (victim->tcp_current->sock, output, 3); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ protocol.c: In function 'talk_http': protocol.c:233:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(victim->tcp_current->sock,HTTP_REQUEST,strlen(HTTP_REQUEST)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o output.o output.c output.c: In function 'output': output.c:17:38: warning: implicit declaration of function 'Inet_ntoa'; did you mean 'inet_ntoa'? [-Wimplicit-function-declaration] sprintf(chr_local_ip,"%s\0",(char*)Inet_ntoa(config.local_ip)); ^~~~~~~~~ inet_ntoa output.c:26:3: warning: implicit declaration of function 'db_connect'; did you mean 'connect'? [-Wimplicit-function-declaration] db_connect(); ^~~~~~~~~~ connect output.c:30:3: warning: implicit declaration of function 'send_query'; did you mean 'mysql_query'? [-Wimplicit-function-declaration] send_query(query_string); ^~~~~~~~~~ mysql_query output.c:122:3: warning: implicit declaration of function 'db_disconnect'; did you mean 'connect'? [-Wimplicit-function-declaration] db_disconnect(); ^~~~~~~~~~~~~ connect output.c:136:25: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] file_name = (char*) Malloc(16 + strlen(EXT)); ^~~~~~ valloc output.c:153:32: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat=] fprintf(output_f,"[> HOST:\t%s (%s)\n",Inet_ntoa(victim->ip),(victim->name ? victim->name : "DNS NAME UNKNOWN")); ~^ ~~~~~~~~~~~~~~~~~~~~~ %d make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o pcap.o pcap.c pcap.c: In function 'init_pcap': pcap.c:18:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] config.device = pcap_lookupdev(errbuffer); ^~~~~~ In file included from /usr/include/pcap.h:43, from prescan.h:4, from pcap.c:1: /usr/include/pcap/pcap.h:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o tool.o tool.c make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o rpc.o rpc.c make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o victim.o victim.c victim.c: In function 'add_victim': victim.c:13:27: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] victim = (struct host*) Malloc(sizeof(struct host)); ^~~~~~ valloc victim.c: In function 'del_victim': victim.c:51:3: warning: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] Free(victim->host); ^~~~ free make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o sniff.o sniff.c sniff.c: In function 'sniff': sniff.c:18:16: warning: implicit declaration of function 'next_packet'; did you mean 'net_write_packet'? [-Wimplicit-function-declaration] ptr=(char*)next_packet(); ^~~~~~~~~~~ net_write_packet sniff.c:59:17: warning: implicit declaration of function 'init_osdetect'; did you mean 'initstate_r'? [-Wimplicit-function-declaration] init_osdetect(victim); ^~~~~~~~~~~~~ initstate_r sniff.c:79:11: warning: implicit declaration of function 'handle_response' [-Wimplicit-function-declaration] handle_response(victim,0,tcp); ^~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o hnet.o hnet.c hnet.c: In function 'send_icmp_echo': hnet.c:38:12: warning: implicit declaration of function 'send_raw_packet'; did you mean 'net_write_packet'? [-Wimplicit-function-declaration] retval = send_raw_packet(&ip_header,NULL,NULL,&icmp_header,&data,PING_SIZE,0,1); ^~~~~~~~~~~~~~~ net_write_packet make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o net.o net.c net.c: In function 'send_raw_packet': net.c:44:27: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] packet = (char *) Malloc(packetsize + 1); /* 3 padding.. */ ^~~~~~ valloc net.c:106:62: warning: passing argument 5 of 'sendto' from incompatible pointer type [-Wincompatible-pointer-types] if(sendto(rawsock, packet, packetsize, sendto_flags, &sin, sizeof(sin)) < 0) ^~~~ In file included from /usr/include/pcap/socket.h:67, from /usr/include/pcap/pcap.h:87, from /usr/include/pcap.h:43, from prescan.h:4, from net.c:1: /usr/include/sys/socket.h:153:44: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' int __flags, __CONST_SOCKADDR_ARG __addr, ^ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -O2 -g -ggdb -I /usr/include/mysql/ -c -o dns.o dns.c dns.c: In function 'dns_connect': dns.c:67:22: warning: implicit declaration of function 'nonblock_udp_connect' [-Wimplicit-function-declaration] victim->udp_sock = nonblock_udp_connect(victim->ip,53); ^~~~~~~~~~~~~~~~~~~~ dns.c: In function 'dns_check': dns.c:76:12: warning: implicit declaration of function 'sock_status'; did you mean 'si_status'? [-Wimplicit-function-declaration] retval = sock_status(victim->udp_sock); ^~~~~~~~~~~ si_status dns.c:82:22: warning: implicit declaration of function 'Malloc'; did you mean 'valloc'? [-Wimplicit-function-declaration] packet = (char*) Malloc(512); ^~~~~~ valloc dns.c:85:5: warning: implicit declaration of function 'Free'; did you mean 'free'? [-Wimplicit-function-declaration] Free(packet); ^~~~ free dns.c: In function 'make_keypkt': dns.c:60:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(sock,pktbuf,pktlen); ^~~~~~~~~~~~~~~~~~~~~~~~~ dns.c: In function 'dns_check': dns.c:93:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(victim->udp_sock,buf,retval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dns.c:105:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(victim->udp_sock,buf,retval); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' gcc -o prescanic -O2 -g -ggdb -I /usr/include/mysql/ main.o prescan.o db.o init.o protocol.o osdetect.o output.o tcp.o pcap.o net.o tool.o victim.o rpc.o sniff.o hnet.o dns.o -lpcap -lmysqlclient make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.57871 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/prescanic-buildroot + : + /bin/rm -rf -- /usr/src/tmp/prescanic-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd prescanic-0.8.1 + mkdir -p /usr/src/tmp/prescanic-buildroot/usr/bin + make 'INSTALL=/usr/libexec/rpm-build/install -p' DESTDIR=/usr/src/tmp/prescanic-buildroot/usr/bin/ install make: Entering directory '/usr/src/RPM/BUILD/prescanic-0.8.1' install -m 775 prescanic /usr/src/tmp/prescanic-buildroot/usr/bin/prescanic make: Leaving directory '/usr/src/RPM/BUILD/prescanic-0.8.1' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/prescanic-buildroot (auto) mode of 'usr/bin/prescanic' changed from 0775 (rwxrwxr-x) to 0755 (rwxr-xr-x) Verifying and fixing files in /usr/src/tmp/prescanic-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/prescanic-buildroot/ (default) Compressing files in /usr/src/tmp/prescanic-buildroot (auto) Verifying ELF objects in /usr/src/tmp/prescanic-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/prescanic: uses non-LFS functions: fopen Hardlinking identical .pyc and .pyo files Processing files: prescanic-0.8.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.16742 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd prescanic-0.8.1 + DOCDIR=/usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8.1 + export DOCDIR + rm -rf /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8.1 + /bin/mkdir -p /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8.1 + cp -prL PROJECT README TODO /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8.1 + chmod -R go-w /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8.1 + chmod -R a+rX /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.76zRLM find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JM3eNG find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libmysqlclient.so.21 >= set:kgMz2DJOFgrWU2I5FTQqDUrW0, libmysqlclient.so.21(libmysqlclient_21.0), libpcap.so.0.8 >= set:kgzkeZ5Zm3AvZmoGP1JpxtxUSh, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.miyhEN Creating prescanic-debuginfo package Processing files: prescanic-debuginfo-0.8.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jDxli0 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jLCgqu find-requires: running scripts (debuginfo) Requires: prescanic = 0.8.1-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libmysqlclient.so.21), debug(libpcap.so.0.8) Adding to prescanic-debuginfo a strict dependency on prescanic Wrote: /usr/src/RPM/RPMS/i586/prescanic-0.8.1-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/prescanic-debuginfo-0.8.1-alt1.i586.rpm (w2.lzdio) 3.91user 0.78system 0:07.78elapsed 60%CPU (0avgtext+0avgdata 26556maxresident)k 0inputs+0outputs (0major+248238minor)pagefaults 0swaps 8.37user 3.02system 0:14.32elapsed 79%CPU (0avgtext+0avgdata 115592maxresident)k 0inputs+0outputs (0major+555783minor)pagefaults 0swaps --- prescanic-0.8.1-alt1.i586.rpm.repo 2019-03-29 09:20:37.000000000 +0000 +++ prescanic-0.8.1-alt1.i586.rpm.hasher 2021-07-25 10:30:36.350130459 +0000 @@ -19,3 +19,3 @@ Provides: prescanic = 0.8.1-alt1:sisyphus+225860.100.1.1 -File: /usr/bin/prescanic 100755 root:root 207cec340eccc18f17ef9cdd5406bdc5 +File: /usr/bin/prescanic 100755 root:root 9a1bc647ef2e75ae377162d1b9a0aafb File: /usr/share/doc/prescanic-0.8.1 40755 root:root @@ -24,2 +24,2 @@ File: /usr/share/doc/prescanic-0.8.1/TODO 100644 root:root f858febc1695a0ba8d5c4597f160a951 -RPMIdentity: 135836977625e5a796552efbce30e7fe +RPMIdentity: 0b9f4392f5e116f6a60b87123260d97b --- prescanic-debuginfo-0.8.1-alt1.i586.rpm.repo 2019-03-29 09:20:37.000000000 +0000 +++ prescanic-debuginfo-0.8.1-alt1.i586.rpm.hasher 2021-07-25 10:30:36.418130687 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/9e 40755 root:root -/usr/lib/debug/.build-id/9e/ca38e3aec118bae09d04b9c5b209110c5d60e2 120777 root:root ../../../../bin/prescanic -/usr/lib/debug/.build-id/9e/ca38e3aec118bae09d04b9c5b209110c5d60e2.debug 120777 root:root ../../usr/bin/prescanic.debug +/usr/lib/debug/.build-id/7f 40755 root:root +/usr/lib/debug/.build-id/7f/acdfdbf42651094fc321d4327e215e9ab26405 120777 root:root ../../../../bin/prescanic +/usr/lib/debug/.build-id/7f/acdfdbf42651094fc321d4327e215e9ab26405.debug 120777 root:root ../../usr/bin/prescanic.debug /usr/lib/debug/usr/bin/prescanic.debug 100644 root:root @@ -30,6 +30,6 @@ Provides: prescanic-debuginfo = 0.8.1-alt1:sisyphus+225860.100.1.1 -File: /usr/lib/debug/.build-id/9e 40755 root:root -File: /usr/lib/debug/.build-id/9e/ca38e3aec118bae09d04b9c5b209110c5d60e2 120777 root:root ../../../../bin/prescanic -File: /usr/lib/debug/.build-id/9e/ca38e3aec118bae09d04b9c5b209110c5d60e2.debug 120777 root:root ../../usr/bin/prescanic.debug -File: /usr/lib/debug/usr/bin/prescanic.debug 100644 root:root 8531831bbbcd21a50918819aa5ec077d +File: /usr/lib/debug/.build-id/7f 40755 root:root +File: /usr/lib/debug/.build-id/7f/acdfdbf42651094fc321d4327e215e9ab26405 120777 root:root ../../../../bin/prescanic +File: /usr/lib/debug/.build-id/7f/acdfdbf42651094fc321d4327e215e9ab26405.debug 120777 root:root ../../usr/bin/prescanic.debug +File: /usr/lib/debug/usr/bin/prescanic.debug 100644 root:root f8d54500ad3eaef64ee17167627c6af0 File: /usr/src/debug/prescanic-0.8.1 40755 root:root @@ -53,2 +53,2 @@ File: /usr/src/debug/prescanic-0.8.1/victim.c 100644 root:root 9da14ef1cfb27c492c62a236c25a3220 -RPMIdentity: 2a351637e4995356e8a7c2d072cf23a2 +RPMIdentity: 9d994026b5903aeadf31f238b760ac01