<86>Jan 13 00:50:54 userdel[110085]: delete user 'rooter' <86>Jan 13 00:50:54 userdel[110085]: removed group 'rooter' owned by 'rooter' <86>Jan 13 00:50:54 userdel[110085]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 13 00:50:54 groupadd[110114]: group added to /etc/group: name=rooter, GID=627 <86>Jan 13 00:50:54 groupadd[110114]: group added to /etc/gshadow: name=rooter <86>Jan 13 00:50:54 groupadd[110114]: new group: name=rooter, GID=627 <86>Jan 13 00:50:54 useradd[110141]: new user: name=rooter, UID=627, GID=627, home=/root, shell=/bin/bash <86>Jan 13 00:50:54 userdel[110163]: delete user 'builder' <86>Jan 13 00:50:54 userdel[110163]: removed group 'builder' owned by 'builder' <86>Jan 13 00:50:54 userdel[110163]: removed shadow group 'builder' owned by 'builder' <86>Jan 13 00:50:54 groupadd[110183]: group added to /etc/group: name=builder, GID=628 <86>Jan 13 00:50:54 groupadd[110183]: group added to /etc/gshadow: name=builder <86>Jan 13 00:50:54 groupadd[110183]: new group: name=builder, GID=628 <86>Jan 13 00:50:54 useradd[110197]: new user: name=builder, UID=628, GID=628, home=/usr/src, shell=/bin/bash <13>Jan 13 00:50:56 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Jan 13 00:50:56 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Jan 13 00:50:56 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Jan 13 00:50:56 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Jan 13 00:50:56 rpmi: libpcap0.8-2:1.1.1-alt3 1298589613 installed <13>Jan 13 00:50:56 rpmi: zlib-devel-1.2.8-alt1 1371079009 installed <13>Jan 13 00:50:56 rpmi: libkeyutils-1.5.10-alt0.M80P.1 1490025499 installed <13>Jan 13 00:50:56 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Jan 13 00:50:56 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Jan 13 00:50:56 rpmi: libpcap-devel-2:1.1.1-alt3 1298589613 installed <13>Jan 13 00:50:56 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Jan 13 00:50:56 groupadd[120277]: group added to /etc/group: name=_keytab, GID=499 <86>Jan 13 00:50:56 groupadd[120277]: group added to /etc/gshadow: name=_keytab <86>Jan 13 00:50:56 groupadd[120277]: new group: name=_keytab, GID=499 <13>Jan 13 00:50:56 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <86>Jan 13 00:50:56 groupadd[120705]: group added to /etc/group: name=sasl, GID=498 <86>Jan 13 00:50:56 groupadd[120705]: group added to /etc/gshadow: name=sasl <86>Jan 13 00:50:56 groupadd[120705]: new group: name=sasl, GID=498 <13>Jan 13 00:50:56 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Jan 13 00:50:56 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Jan 13 00:50:56 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Jan 13 00:50:56 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Jan 13 00:50:56 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed <13>Jan 13 00:50:56 rpmi: libmysqlclient18-10.1.37-alt1 p8.217040.100 1543445219 installed <13>Jan 13 00:50:57 rpmi: libmysqlclient-devel-10.1.37-alt1 p8.217040.100 1543445219 installed Installing prescanic-0.8-alt2.qa2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.34615 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf prescanic-0.8 + echo 'Source #0 (prescanic-0.8.tar.bz2):' Source #0 (prescanic-0.8.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/prescanic-0.8.tar.bz2 + /bin/tar -xf - + cd prescanic-0.8 + /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 -p1 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.34615 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd prescanic-0.8 + '[' -n '' ']' + NPROCS=8 + make -j8 make: Entering directory `/usr/src/RPM/BUILD/prescanic-0.8' gcc -O2 -g -ggdb -c -o main.o main.c gcc -O2 -g -ggdb -c -o prescan.o prescan.c gcc -O2 -g -ggdb -c -o db.o db.c gcc -O2 -g -ggdb -c -o init.o init.c gcc -O2 -g -ggdb -c -o protocol.o protocol.c gcc -O2 -g -ggdb -c -o osdetect.o osdetect.c gcc -O2 -g -ggdb -c -o output.o output.c gcc -O2 -g -ggdb -c -o tcp.o tcp.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' [-Wimplicit-function-declaration] Inet_ntoa(victim->ip), ^ prescan.c:19:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=] printf("SCANNING: %s (%s)\n", ^ 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)) ^ init.c: In function 'init': init.c:29:38: warning: implicit declaration of function 'Malloc' [-Wimplicit-function-declaration] config.single_host = (char*) Malloc(strlen(optarg)+1); ^ init.c:29:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.single_host = (char*) Malloc(strlen(optarg)+1); ^ init.c:34:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.host_file = (char*) Malloc(strlen(optarg) + 1); ^ init.c:47:9: warning: implicit declaration of function 'Free' [-Wimplicit-function-declaration] Free(config.device); ^ init.c:48:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.device = (char*) Malloc(strlen(optarg) + 1); ^ init.c:80:3: warning: implicit declaration of function 'db_load_config' [-Wimplicit-function-declaration] db_load_config(); ^ init.c:83:23: warning: implicit declaration of function 'db_setup' [-Wimplicit-function-declaration] if(config.db_setup) db_setup(); ^ init.c:94:5: warning: implicit declaration of function 'init_pcap' [-Wimplicit-function-declaration] init_pcap(); ^ init.c:98:23: warning: implicit declaration of function 'get_device_ip' [-Wimplicit-function-declaration] config.local_ip = get_device_ip(config.device); ^ init.c: In function 'set_defaults': init.c:136:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.device = (char*) Malloc(8); ^ 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' [-Wimplicit-function-declaration] config.db_server = (char*)Malloc(strlen(ptr) +1); ^ db.c:92:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.db_server = (char*)Malloc(strlen(ptr) +1); ^ db.c:104:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.db_database = (char*)Malloc(strlen(ptr) +1); ^ main.c: In function 'main': main.c:21:3: warning: implicit declaration of function 'init' [-Wimplicit-function-declaration] init(argc,argv); ^ main.c:26:29: warning: implicit declaration of function 'add_victim' [-Wimplicit-function-declaration] victim = (struct host*) add_victim(config.single_host); ^ main.c:26:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim = (struct host*) add_victim(config.single_host); ^ main.c:27:22: warning: implicit declaration of function 'prescan' [-Wimplicit-function-declaration] prescan_retval = prescan(victim); ^ 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); ^ db.c:116:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.db_user = (char*)Malloc(strlen(ptr) +1); ^ main.c:62:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim = (struct host*) add_victim(string); ^ main.c:87:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim = (struct host*) add_victim(string); ^ main.c:105:13: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] wait(NULL); ^ db.c:128:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] config.db_pass = (char*)Malloc(strlen(ptr) +1); ^ gcc -O2 -g -ggdb -c -o pcap.o pcap.c osdetect.c: In function 'init_osdetect': osdetect.c:12:56: warning: implicit declaration of function 'Inet_ntoa' [-Wimplicit-function-declaration] printf("init_osdetect() running. (LOCAL IP: %s)\n",Inet_ntoa(config.local_ip)); ^ osdetect.c:12:12: 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)); ^ 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' [-Wimplicit-function-declaration] victim->os = (char *) Malloc(strlen(ptr)); ^ osdetect.c:117:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->os = (char *) Malloc(strlen(ptr)); ^ tcp.c: In function 'tcp_check': tcp.c:18:34: warning: implicit declaration of function 'sock_status' [-Wimplicit-function-declaration] victim->tcp_current->state = sock_status(victim->tcp_current->sock); ^ 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' [-Wimplicit-function-declaration] init_osdetect(victim); ^ tcp.c: In function 'add_tcp': tcp.c:69:51: warning: implicit declaration of function 'Malloc' [-Wimplicit-function-declaration] victim->tcp_current = (struct tcp_connection *) Malloc(sizeof(struct tcp_connection)); ^ tcp.c:69:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->tcp_current = (struct tcp_connection *) Malloc(sizeof(struct tcp_connection)); ^ tcp.c:81:5: warning: implicit declaration of function 'send_syn' [-Wimplicit-function-declaration] send_syn(src_port,port,victim); ^ 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' [-Wimplicit-function-declaration] Free(tcp_current); ^ protocol.c: In function 'talk_with_protocol': protocol.c:28:5: warning: implicit declaration of function 'tcp_close' [-Wimplicit-function-declaration] tcp_close(victim->tcp_current); ^ protocol.c: In function 'talk_dns': protocol.c:37:3: warning: implicit declaration of function 'dns_connect' [-Wimplicit-function-declaration] dns_connect(victim); ^ protocol.c: In function 'talk_ftp': protocol.c:49:16: warning: implicit declaration of function 'Malloc' [-Wimplicit-function-declaration] ptr = (char*)Malloc(victim->tcp_current->datalen + 1); ^ protocol.c:49:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ptr = (char*)Malloc(victim->tcp_current->datalen + 1); ^ 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:58:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->ftp_banner = (char*) Malloc(strlen(ptr) + 1); ^ protocol.c:69:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->ftp_syst = (char*) Malloc(strlen(ptr) + 1); ^ protocol.c: In function 'talk_imap': protocol.c:103:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->imap_banner = (char*) Malloc(victim->tcp_current->datalen + 1); ^ protocol.c: In function 'talk_smtp': protocol.c:123:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->smtp_banner = (char*) Malloc(victim->tcp_current->datalen + 1); ^ protocol.c: In function 'talk_pop3': protocol.c:142:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->pop3_banner = (char*) Malloc(victim->tcp_current->datalen + 1); ^ protocol.c: In function 'talk_telnet': protocol.c:163:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] string = (char*) Malloc(victim->tcp_current->datalen + 1); ^ protocol.c:190:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->telnet_banner = (char*) Malloc(telnet_banner_len + 1); ^ protocol.c: In function 'talk_http': protocol.c:238:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] line = (char*) Malloc(256); ^ protocol.c:248:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->http_server = (char *) Malloc(strlen(ptr) + 1); ^ protocol.c: In function 'talk_ftp': 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)); ^ gcc -O2 -g -ggdb -c -o net.o net.c output.c: In function 'output': output.c:18:38: warning: implicit declaration of function 'Inet_ntoa' [-Wimplicit-function-declaration] sprintf(chr_local_ip,"%s\0",(char*)Inet_ntoa(config.local_ip)); ^ output.c:18:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sprintf(chr_local_ip,"%s\0",(char*)Inet_ntoa(config.local_ip)); ^ output.c:19:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] sprintf(chr_victim_ip,"%s\0",(char*)Inet_ntoa(victim->ip)); ^ output.c:22:3: warning: implicit declaration of function 'db_connect' [-Wimplicit-function-declaration] db_connect(); ^ output.c:26:3: warning: implicit declaration of function 'send_query' [-Wimplicit-function-declaration] send_query(query_string); ^ output.c:118:3: warning: implicit declaration of function 'db_disconnect' [-Wimplicit-function-declaration] db_disconnect(); ^ output.c:130:25: warning: implicit declaration of function 'Malloc' [-Wimplicit-function-declaration] file_name = (char*) Malloc(16 + strlen(EXT)); ^ output.c:130:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] file_name = (char*) Malloc(16 + strlen(EXT)); ^ output.c:148:20: 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")); ^ gcc -O2 -g -ggdb -c -o tool.o tool.c gcc -O2 -g -ggdb -c -o victim.o victim.c gcc -O2 -g -ggdb -c -o rpc.o rpc.c gcc -O2 -g -ggdb -c -o sniff.o sniff.c gcc -O2 -g -ggdb -c -o hnet.o hnet.c gcc -O2 -g -ggdb -c -o dns.o dns.c net.c: In function 'send_raw_packet': net.c:44:27: warning: implicit declaration of function 'Malloc' [-Wimplicit-function-declaration] packet = (char *) Malloc(packetsize + 1); /* 3 padding.. */ ^ net.c:44:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] packet = (char *) Malloc(packetsize + 1); /* 3 padding.. */ ^ 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/netinet/in.h:23:0, from /usr/include/netdb.h:27, from prescan.h:7, from net.c:1: /usr/include/sys/socket.h:163:16: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' extern ssize_t sendto (int __fd, const void *__buf, size_t __n, ^ net.c: In function 'reverse_lookup': net.c:187:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->name = (char*) Malloc(strlen(host->h_name) +1); ^ victim.c: In function 'add_victim': victim.c:13:27: warning: implicit declaration of function 'Malloc' [-Wimplicit-function-declaration] victim = (struct host*) Malloc(sizeof(struct host)); ^ victim.c:13:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim = (struct host*) Malloc(sizeof(struct host)); ^ victim.c:41:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->host = (char*) Malloc(strlen(hostname)+1); ^ victim.c: In function 'del_victim': victim.c:51:3: warning: implicit declaration of function 'Free' [-Wimplicit-function-declaration] Free(victim->host); ^ sniff.c: In function 'sniff': sniff.c:18:16: warning: implicit declaration of function 'next_packet' [-Wimplicit-function-declaration] ptr=(char*)next_packet(); ^ sniff.c:18:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] ptr=(char*)next_packet(); ^ sniff.c:59:17: warning: implicit declaration of function 'init_osdetect' [-Wimplicit-function-declaration] init_osdetect(victim); ^ sniff.c:79:11: warning: implicit declaration of function 'handle_response' [-Wimplicit-function-declaration] handle_response(victim,0,tcp); ^ 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); ^ hnet.c: In function 'send_icmp_echo': hnet.c:38:12: warning: implicit declaration of function 'send_raw_packet' [-Wimplicit-function-declaration] retval = send_raw_packet(&ip_header,NULL,NULL,&icmp_header,&data,PING_SIZE,0,1); ^ dns.c: In function 'dns_check': dns.c:76:12: warning: implicit declaration of function 'sock_status' [-Wimplicit-function-declaration] retval = sock_status(victim->udp_sock); ^ dns.c:82:22: warning: implicit declaration of function 'Malloc' [-Wimplicit-function-declaration] packet = (char*) Malloc(512); ^ dns.c:82:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] packet = (char*) Malloc(512); ^ dns.c:85:5: warning: implicit declaration of function 'Free' [-Wimplicit-function-declaration] Free(packet); ^ dns.c:91:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf = (char*) Malloc(retval+1); ^ dns.c:94:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] packet = (char*) Malloc(512); ^ dns.c:103:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] buf = (char*) Malloc(retval+1); ^ dns.c: In function 'find_dns_reply': dns.c:152:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] victim->bind_version = (char*) Malloc(strlen(verstr)+1); ^ 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); ^ gcc -o prescanic -O2 -g -ggdb 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 -L/usr/lib -L/usr/local/lib -lpcap -Lmysql -Lmysql -lmysqlclient make: Leaving directory `/usr/src/RPM/BUILD/prescanic-0.8' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.97010 + 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 + cd prescanic-0.8 + mkdir -p /usr/src/tmp/prescanic-buildroot/usr/bin + make 'INSTALL=/bin/install -p' DESTDIR=/usr/src/tmp/prescanic-buildroot/usr/bin install make: Entering directory `/usr/src/RPM/BUILD/prescanic-0.8' install -m 775 prescanic /usr/src/tmp/prescanic-buildroot/usr/bin/prescanic make: Leaving directory `/usr/src/RPM/BUILD/prescanic-0.8' + /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) 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) Hardlinking identical .pyc and .pyo files Processing files: prescanic-0.8-alt2.qa2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.97010 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd prescanic-0.8 + DOCDIR=/usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8 + export DOCDIR + rm -rf /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8 + /bin/mkdir -p /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8 + cp -prL PROJECT README TODO /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8 + chmod -R go-w /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8 + chmod -R a+rX /usr/src/tmp/prescanic-buildroot/usr/share/doc/prescanic-0.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Du9vov 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.UjN3S4 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libmysqlclient.so.18()(64bit) >= set:miY6sX43dNUFg6Hpbi3XyWFaLqY, libmysqlclient.so.18(libmysqlclient_18)(64bit), libpcap.so.0.8()(64bit) >= 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.liPL9G Creating prescanic-debuginfo package Processing files: prescanic-debuginfo-0.8-alt2.qa2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.A4Hsbm find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1WWHZ3 find-requires: running scripts (debuginfo) Requires: prescanic = 0.8-alt2.qa2, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libmysqlclient.so.18), debug64(libpcap.so.0.8) Wrote: /usr/src/RPM/RPMS/x86_64/prescanic-0.8-alt2.qa2.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/prescanic-debuginfo-0.8-alt2.qa2.x86_64.rpm 1.75user 0.61system 0:06.40elapsed 36%CPU (0avgtext+0avgdata 29376maxresident)k 0inputs+0outputs (0major+218418minor)pagefaults 0swaps 9.19user 3.06system 0:17.87elapsed 68%CPU (0avgtext+0avgdata 125040maxresident)k 1512inputs+0outputs (0major+569613minor)pagefaults 0swaps --- prescanic-0.8-alt2.qa2.x86_64.rpm.repo 2013-04-14 17:41:01.000000000 +0000 +++ prescanic-0.8-alt2.qa2.x86_64.rpm.hasher 2019-01-13 00:51:05.062864594 +0000 @@ -12,5 +12,5 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) -Requires: libmysqlclient.so.18()(64bit) >= set:lhYE0DGQezS9SdtwbuXk8Nquhq +Requires: libmysqlclient.so.18()(64bit) >= set:miY6sX43dNUFg6Hpbi3XyWFaLqY Requires: rpmlib(SetVersions) -Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit) +Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit) Requires: libpcap.so.0.8()(64bit) >= set:kgzkeZ5Zm3AvZmoGP1JpxtxUSh