==> Creating clean working copy [build]...done ==> Making package: thc-pptp-bruter 0.1.4-2 (Fri Mar 24 03:35:56 EDT 2017) ==> Retrieving sources... -> Found thc-pptp-bruter-0.1.4.tar.gz ==> Validating source files with sha512sums... thc-pptp-bruter-0.1.4.tar.gz ... Passed ==> Making package: thc-pptp-bruter 0.1.4-2 (Fri Mar 24 03:35:58 EDT 2017) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found thc-pptp-bruter-0.1.4.tar.gz ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... thc-pptp-bruter-0.1.4.tar.gz ... Passed ==> Extracting sources... -> Extracting thc-pptp-bruter-0.1.4.tar.gz with bsdtar ==> Starting build()... Begining autoconfiguration process for THC-pptp-bruter-0.1.4... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... missing checking for working autoconf... found checking for working automake-1.4... missing checking for working autoheader... found checking for working makeinfo... found checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for main in -lutil... yes checking for main in -lcrypto... yes checking for SSL_accept in -lssl... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for strings.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for select... yes checking for socket... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing default-1 commands make all-recursive make[1]: Entering directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' Making all in src make[2]: Entering directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -O2 -Wall -c pptp_bruter.c pptp_bruter.c: In function 'asn_extract': pptp_bruter.c:292:14: warning: pointer targets in return differ in signedness [-Wpointer-sign] return src + 1; ~~~~^~~ pptp_bruter.c: In function 'asn_next': pptp_bruter.c:311:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return src; ^~~ pptp_bruter.c: In function 'gre_dispatch': pptp_bruter.c:386:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = asn_next(ptr, end, &type, &asnlen); ^ pptp_bruter.c:413:39: warning: pointer targets in passing argument 5 of 'send_lcp' differ in signedness [-Wpointer-sign] send_lcp(fd, slot, 0x04, lcp->id, resp, reject - resp); ^~~~ pptp_bruter.c:32:12: note: expected 'unsigned char *' but argument is of type 'char *' static int send_lcp(int fd, struct _slot *slot, unsigned char code, unsigned char id, unsigned char *data, int len); ^~~~~~~~ pptp_bruter.c:417:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = asn_extract(lcp->payload, len, 0x03, &asnlen); ^ pptp_bruter.c:426:40: warning: pointer targets in passing argument 5 of 'send_lcp' differ in signedness [-Wpointer-sign] send_lcp(fd, slot, 0x03, lcp->id, "\x03\x05\xc2\x23\x81", 5); ^~~~~~~~~~~~~~~~~~~~~~ pptp_bruter.c:32:12: note: expected 'unsigned char *' but argument is of type 'char *' static int send_lcp(int fd, struct _slot *slot, unsigned char code, unsigned char id, unsigned char *data, int len); ^~~~~~~~ pptp_bruter.c:479:14: warning: pointer targets in passing argument 1 of 'ChapMS_v2' differ in signedness [-Wpointer-sign] ChapMS_v2(resp + 1, lcp->payload + 1, slot->password, strlen(slot->password), opt.user); ^~~~ In file included from pptp_bruter.c:29:0: chap_ms.h:11:5: note: expected 'unsigned char *' but argument is of type 'char *' int ChapMS_v2(unsigned char *resp, unsigned char *chl, unsigned char *secret, int secret_len, char *username); ^~~~~~~~~ pptp_bruter.c:479:42: warning: pointer targets in passing argument 3 of 'ChapMS_v2' differ in signedness [-Wpointer-sign] ChapMS_v2(resp + 1, lcp->payload + 1, slot->password, strlen(slot->password), opt.user); ^~~~ In file included from pptp_bruter.c:29:0: chap_ms.h:11:5: note: expected 'unsigned char *' but argument is of type 'char *' int ChapMS_v2(unsigned char *resp, unsigned char *chl, unsigned char *secret, int secret_len, char *username); ^~~~~~~~~ pptp_bruter.c:479:82: warning: pointer targets in passing argument 5 of 'ChapMS_v2' differ in signedness [-Wpointer-sign] ChapMS_v2(resp + 1, lcp->payload + 1, slot->password, strlen(slot->password), opt.user); ^~~ In file included from pptp_bruter.c:29:0: chap_ms.h:11:5: note: expected 'char *' but argument is of type 'unsigned char *' int ChapMS_v2(unsigned char *resp, unsigned char *chl, unsigned char *secret, int secret_len, char *username); ^~~~~~~~~ pptp_bruter.c:480:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] memcpy(resp + 1 + 49, opt.user, strlen(opt.user)); ^~~ In file included from pptp_bruter.c:20:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ pptp_bruter.c:482:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] send_ppp_lcp(fd, slot, lcp->id, resp, 1 + 49 + strlen(opt.user)); ^~~ In file included from pptp_bruter.c:20:0: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ pptp_bruter.c:498:40: warning: pointer targets in passing argument 5 of 'send_lcp' differ in signedness [-Wpointer-sign] send_lcp(fd, slot, 0x05, lcp->id, "unknown", 7); ^~~~~~~~~ pptp_bruter.c:32:12: note: expected 'unsigned char *' but argument is of type 'char *' static int send_lcp(int fd, struct _slot *slot, unsigned char code, unsigned char id, unsigned char *data, int len); ^~~~~~~~ pptp_bruter.c:505:39: warning: pointer targets in passing argument 5 of 'send_lcp' differ in signedness [-Wpointer-sign] send_lcp(fd, slot, 0x05, lcp->id, "unknown", 7); ^~~~~~~~~ pptp_bruter.c:32:12: note: expected 'unsigned char *' but argument is of type 'char *' static int send_lcp(int fd, struct _slot *slot, unsigned char code, unsigned char id, unsigned char *data, int len); ^~~~~~~~ pptp_bruter.c: In function 'send_first_gre': pptp_bruter.c:584:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ptr = lcp->payload; ^ pptp_bruter.c:573:8: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] char *ptr; ^~~ pptp_bruter.c: In function 'do_getopt': pptp_bruter.c:751:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opt.user = optarg; ^ pptp_bruter.c:763:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opt.host = argv[optind]; ^ pptp_bruter.c: In function 'init_defaults': pptp_bruter.c:775:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] opt.user = "administrator"; ^ pptp_bruter.c: In function 'pptp_reconnect': pptp_bruter.c:922:35: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] ret = pptp_open(pptp, inet_addr(opt.host), htons(opt.port)); ^~~ In file included from pptp_bruter.c:17:0: /usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'unsigned char *' extern in_addr_t inet_addr (const char *__cp) __THROW; ^~~~~~~~~ pptp_bruter.c: In function 'main': pptp_bruter.c:1049:35: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] gre_fd = pptp_gre_bind(inet_addr(opt.host)); ^~~ In file included from pptp_bruter.c:17:0: /usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'unsigned char *' extern in_addr_t inet_addr (const char *__cp) __THROW; ^~~~~~~~~ pptp_bruter.c:1054:35: warning: pointer targets in passing argument 1 of 'inet_addr' differ in signedness [-Wpointer-sign] ret = pptp_open(&pptp, inet_addr(opt.host), htons(opt.port)); ^~~ In file included from pptp_bruter.c:17:0: /usr/include/arpa/inet.h:34:18: note: expected 'const char *' but argument is of type 'unsigned char *' extern in_addr_t inet_addr (const char *__cp) __THROW; ^~~~~~~~~ pptp_bruter.c:1149:27: warning: pointer targets in passing argument 2 of 'gre_read' differ in signedness [-Wpointer-sign] ret = gre_read(gre_fd, buf, sizeof buf, &call_id); ^~~ In file included from pptp_bruter.c:26:0: pptp_gre.h:95:5: note: expected 'unsigned char *' but argument is of type 'char *' int gre_read(int fd, unsigned char *buf, unsigned int len, unsigned short *call_id); ^~~~~~~~ pptp_bruter.c:1166:34: warning: pointer targets in passing argument 2 of 'gre_process' differ in signedness [-Wpointer-sign] ret = gre_process(&slot->gre, buf, ret); ^~~ In file included from pptp_bruter.c:26:0: pptp_gre.h:96:5: note: expected 'unsigned char *' but argument is of type 'char *' int gre_process(GRE *gre, unsigned char *buf, unsigned int len); ^~~~~~~~~~~ pptp_bruter.c:1179:42: warning: pointer targets in passing argument 4 of 'gre_dispatch' differ in signedness [-Wpointer-sign] if (gre_dispatch(gre_fd, &pptp, slot, buf, ret) == -1) ^~~ pptp_bruter.c:319:1: note: expected 'unsigned char *' but argument is of type 'char *' gre_dispatch(int fd, PPTP *pptp, struct _slot *slot, unsigned char *buf, int len) ^~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -O2 -Wall -c chap_ms.c chap_ms.c: In function 'ChallengeResponse': chap_ms.c:60:18: warning: pointer targets in passing argument 2 of 'DesEncrypt' differ in signedness [-Wpointer-sign] DesEncrypt(chl, ZPasswordHash + 0, resp + 0); ^~~~~~~~~~~~~ chap_ms.c:41:1: note: expected 'unsigned char *' but argument is of type 'char *' DesEncrypt(unsigned char *clear, unsigned char *key, unsigned char *cipher) ^~~~~~~~~~ chap_ms.c:61:18: warning: pointer targets in passing argument 2 of 'DesEncrypt' differ in signedness [-Wpointer-sign] DesEncrypt(chl, ZPasswordHash + 7, resp + 8); ^~~~~~~~~~~~~ chap_ms.c:41:1: note: expected 'unsigned char *' but argument is of type 'char *' DesEncrypt(unsigned char *clear, unsigned char *key, unsigned char *cipher) ^~~~~~~~~~ chap_ms.c:62:18: warning: pointer targets in passing argument 2 of 'DesEncrypt' differ in signedness [-Wpointer-sign] DesEncrypt(chl, ZPasswordHash + 14, resp + 16); ^~~~~~~~~~~~~ chap_ms.c:41:1: note: expected 'unsigned char *' but argument is of type 'char *' DesEncrypt(unsigned char *clear, unsigned char *key, unsigned char *cipher) ^~~~~~~~~~ chap_ms.c: In function 'ChapMS_v2': chap_ms.c:122:17: warning: pointer targets in passing argument 1 of 'NtPasswordHash' differ in signedness [-Wpointer-sign] NtPasswordHash(secret, secret_len, pwdhash); ^~~~~~ chap_ms.c:90:1: note: expected 'char *' but argument is of type 'unsigned char *' NtPasswordHash(char *secret, int sec_len, unsigned char *hash) ^~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -O2 -Wall -c ppp_fcs.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -O2 -Wall -c pptp_gre.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -O2 -Wall -c net.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/include -D_FORTIFY_SOURCE=2 -I/usr/include -O2 -Wall -c pptp.c gcc -O2 -Wall -L/usr/lib -L/usr/local/lib -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/lib -o thc-pptp-bruter pptp_bruter.o chap_ms.o ppp_fcs.o pptp_gre.o net.o pptp.o -lnsl -lssl -lcrypto -lutil make[2]: Leaving directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4/src' make[2]: Entering directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' make[2]: Leaving directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' make[1]: Leaving directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' ==> Entering fakeroot environment... ==> Starting package()... Making install in src make[1]: Entering directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4/src' make[2]: Entering directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4/src' /bin/sh ../config/mkinstalldirs /build/thc-pptp-bruter/pkg/thc-pptp-bruter/usr/bin mkdir /build/thc-pptp-bruter/pkg/thc-pptp-bruter/usr mkdir /build/thc-pptp-bruter/pkg/thc-pptp-bruter/usr/bin /usr/bin/install -c thc-pptp-bruter /build/thc-pptp-bruter/pkg/thc-pptp-bruter/usr/bin/thc-pptp-bruter make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4/src' make[1]: Leaving directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4/src' make[1]: Entering directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' make[2]: Entering directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' make[1]: Leaving directory '/build/thc-pptp-bruter/src/THC-pptp-bruter-0.1.4' ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "thc-pptp-bruter"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... error: invalid option '--noprogressbar' -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: thc-pptp-bruter 0.1.4-2 (Fri Mar 24 03:36:11 EDT 2017) ==> Cleaning up...