Giter Site home page Giter Site logo

ncrack's Introduction

Nmap Build Status Language grade: C/C++ Language grade: Python Total alerts

Nmap is released under a custom license, which is based on (but not compatible with) GPLv2. The Nmap license allows free usage by end users, and we also offer a commercial license for companies that wish to redistribute Nmap technology with their products. See Nmap Copyright and Licensing for full details.

The latest version of this software as well as binary installers for Windows, macOS, and Linux (RPM) are available from Nmap.org

Full documentation is also available on the Nmap.org website.

Questions and suggestions may be sent to the Nmap-dev mailing list.

Installing

Ideally, you should be able to just type:

./configure
make
make install

For far more in-depth compilation, installation, and removal notes, read the Nmap Install Guide on Nmap.org.

Using Nmap

Nmap has a lot of features, but getting started is as easy as running nmap scanme.nmap.org. Running nmap without any parameters will give a helpful list of the most common options, which are discussed in depth in the man page. Users who prefer a graphical interface can use the included Zenmap front-end.

Contributing

Information about filing bug reports and contributing to the Nmap project can be found in the HACKING and CONTRIBUTING.md files.

ncrack's People

Contributors

aaptel avatar blshkv avatar bonsaiviking avatar bxcrs avatar chris-pcguy avatar damiefc avatar dmiller-nmap avatar edeirme avatar hillu avatar iamleot avatar ithilgore avatar juergenhoetzel avatar rhertzog avatar schischi avatar stephengroat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ncrack's Issues

PROBLEM?

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Users\HP>ncrack -u C:\Users\HP\Desktop\pass\user.txt -p 21 -P C:\Users\HP\Desktop\pass\pass.txt ca41.server.pro

Starting Ncrack 0.6 ( http://ncrack.org ) at 2018-07-23 23:58 Arab Standard Time

Ncrack done: 1 service scanned in 6.40 seconds.

Ncrack finished.

what should i do?

Segmentation fault (core dump)

I get that error when i load a file with ip address with the option if -iL, please fix this or give a workaround. It happens when i use for ssh option.

Ncrack problem

Hi there,
When i start a bruteforce operation with the following command
ncrack -p 3389 -iL host.txt -U user.txt -P pass.txt CL=2 at=2 cd=1m -oN Results -v -sL -f -d --passwords-first
i get a "failed to open input file host.txt for reading"

But when i run this command
ncrack -p 3389 107.128.97.18 -U user.txt -P pass.txt CL=2 at=2 cd=1m -oN Results -v -sL -f -d --passwords-first it works.

However i have a bunch of ips i want to check and can't afford to input them in one by one.

Thanks for your time and good work!

PS running ncrack on windows 7

one-way hashing algorithm

Hi Team,

This issue was observed during source code analysis, we saw that:
https://github.com/nmap/ncrack/blob/master/opensshlib/defines.h#L691

The crypt functions use a poor one-way hashing algorithm; since they only accept passwords of 8 characters or fewer and only a two-byte salt, they are excessively vulnerable to dictionary attacks given today's faster computing equipment such as (CWE-327).

It is recommended to use a different algorithm, such as SHA-256, with a larger, non-repeating salt.

Cheers!

[BUILD FAIL] 16.04 - 4.8.0-51-generic - configure: WARNING: Your OpenSSL headers do not match

Hi,
tryna to build a git based pentest suite. Every software should be able to compile on ubuntu lts. Here iam, with this old gem not bothering to cooperate.

ISSUE: ncrack refuses (vehemently) to build on ubuntu 16.04. What am i missing?
[configure: WARNING: Your OpenSSL headers do not match your]

In file included from cipher.c:46:0:
cipher.h:69:17: error: field ‘evp’ has incomplete type
  EVP_CIPHER_CTX evp;
                 ^~~
Makefile:71: recipe for target 'cipher.o' failed
make[1]: *** [cipher.o] Error 1
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/opensshlib'
Makefile:84: recipe for target 'opensshlib_build' failed
make: *** [opensshlib_build] Error 2
make: *** Waiting for unfinished jobs....
rm -f libnbase.a
ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o
ranlib libnbase.a
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nbase'

HASTEBIN PASTE
https://hastebin.com/eqewuzihus.coffeescript

✘-2 /opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack [master|✔] 
13:51 $ make clean
cd nsock/src && make clean
make[1]: Entering directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nsock/src'
cd ../tests && make clean
make[2]: Entering directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nsock/tests'
rm -f tests_main.o basic.o timer.o logs.o connect.o ghlists.o ghheaps.o cancel.o tests_main
make[2]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nsock/tests'
rm -f error.o filespace.o gh_heap.o nsock_connect.o nsock_core.o nsock_iod.o nsock_read.o nsock_timers.o nsock_write.o nsock_ssl.o nsock_event.o nsock_pool.o netutils.o nsock_pcap.o nsock_engines.o engine_select.o engine_epoll.o engine_kqueue.o engine_poll.o nsock_proxy.o nsock_log.o proxy_http.o proxy_socks4.o libnsock.a
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nsock/src'
cd nbase && make clean
make[1]: Entering directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nbase'
rm -f snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o libnbase.a 
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nbase'
cd opensshlib && make clean
make[1]: Entering directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/opensshlib'
rm -f *.o *.a  libopenssh.a config.cache config.log
rm -f *.out core
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/opensshlib'
cd modules && make clean
make[1]: Entering directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/modules'
rm -f ncrack_ssh.o ncrack_smb.o ncrack_rdp.o ncrack_sip.o ncrack_psql.o ncrack_mysql.o ncrack_ftp.o ncrack_telnet.o ncrack_http.o ncrack_pop3.o ncrack_vnc.o ncrack_redis.o ncrack_winrm.o ncrack_owa.o ncrack_imap.o ncrack_cassandra.o 
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/modules'
rm -f dependencies.mk makefile.dep
rm -f ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o ncrack config.cache
✔ /opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack [master|✔] 
13:52 $ ./configure --without-openssl-header-check
checking for strip... /usr/bin/strip
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for inline... inline
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether the compiler is gcc 4 or greater... yes
checking for __func__... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for library containing setsockopt... none required
checking for library containing gethostbyname... none required
checking if sockaddr{} has sa_len member... no
checking whether byte ordering is bigendian... no
checking if struct in_addr is a wacky huge structure (some Sun boxes)... no
checking for strerror... yes
checking for signal... yes
checking for type of 6th argument to recvfrom()... socklen_t
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for BIO_int_ctrl in -lcrypto... yes
checking for SSL_new in -lssl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  'Makefile.in' seems to ignore the --datarootdir setting
config.status: creating modules/Makefile
config.status: creating ncrack_config.h
config.status: ncrack_config.h is unchanged
=== configuring in nbase (/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nbase)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--without-openssl-header-check' '--with-libpcap=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 for string.h... (cached) yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... 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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/types.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking for sys/stat.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for inttypes.h... (cached) yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/socket.h... (cached) yes
checking for net/if.h... yes
checking for __attribute__... yes
checking if sockaddr{} has sa_len member... no
checking whether byte ordering is bigendian... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for nanosleep... yes
checking for strerror... yes
checking for strcasestr... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for signal... yes
checking for vsnprintf... (cached) yes
checking for snprintf... (cached) yes
checking for asprintf... yes
checking for asnprintf... no
checking for vasprintf... yes
checking for vasnprintf... no
checking for getopt... yes
checking for getopt_long_only... yes
checking for usleep... yes
checking for gettimeofday... yes
checking for sleep... yes
checking for getopt_long_only... (cached) yes
checking for strcasecmp... (cached) yes
checking for strncasecmp... (cached) yes
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for working getaddrinfo... yes
checking for library containing inet_addr... none required
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking for AF_INET6 definition... yes
checking for IPv6 support... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/err.h usability... yes
checking openssl/err.h presence... yes
checking for openssl/err.h... yes
checking openssl/rand.h usability... yes
checking openssl/rand.h presence... yes
checking for openssl/rand.h... yes
checking for BIO_int_ctrl in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for /proc/self/exe... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbase_config.h
config.status: nbase_config.h is unchanged
=== configuring in nsock/src (/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nsock/src)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--without-openssl-header-check' '--with-libpcap=no' --cache-file=/dev/null --srcdir=.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 if PCAP_NETMASK_UNKNOWN is defined/handled by libpcap... yes
checking linux/version.h usability... yes
checking linux/version.h presence... yes
checking for linux/version.h... yes
checking for Linux epoll(7) interface... yes
checking for poll(2)... yes
checking for kqueue... no
checking for kevent... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking for ranlib... ranlib
checking for gethostent... yes
checking for setsockopt... yes
checking for nanosleep... yes
checking for ANSI C header files... (cached) yes
checking net/bpf.h usability... yes
checking net/bpf.h presence... yes
checking for net/bpf.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for BIO_int_ctrl in -lcrypto... yes
checking for SSL_new in -lssl... yes
checking for library containing dlopen... -ldl
checking for SSL_set_tlsext_host_name... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating ../tests/Makefile
config.status: creating ../include/nsock_config.h
config.status: ../include/nsock_config.h is unchanged
=== configuring in opensshlib (/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/opensshlib)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  '--without-openssl-header-check' '--with-libpcap=no' --cache-file=/dev/null --srcdir=.
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 ISO C89... none needed
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/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 whether byte ordering is bigendian... no
checking for gawk... gawk
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for egrep... (cached) /bin/grep -E
checking for ar... ar
checking for cat... /bin/cat
checking for kill... /bin/kill
checking for perl5... no
checking for perl... /usr/bin/perl
checking for sed... /bin/sed
checking for ent... no
checking for bash... /bin/bash
checking for ksh... (cached) /bin/bash
checking for sh... (cached) /bin/bash
checking for sh... /bin/sh
checking for groff... /usr/bin/groff
checking for nroff... /usr/bin/nroff
checking for mandoc... no
checking for groupadd... /usr/sbin/groupadd
checking for useradd... /usr/sbin/useradd
checking for pkgmk... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for login... /bin/login
checking for passwd... /usr/bin/passwd
checking for inline... inline
checking whether LLONG_MAX is declared... yes
checking whether SYSTR_POLICY_KILL is declared... no
checking whether RLIMIT_NPROC is declared... yes
checking whether PR_SET_NO_NEW_PRIVS is declared... yes
checking whether OpenSSL will be used for cryptography... yes
checking whether SSH protocol 1 support is enabled... no
checking if gcc supports -Werror... yes
checking if gcc supports compile flag -Qunused-arguments... no
checking if gcc supports compile flag -Wunknown-warning-option... no
checking if gcc supports compile flag -Wall... yes
checking if gcc supports compile flag -Wpointer-arith... yes
checking if gcc supports compile flag -Wuninitialized... yes
checking if gcc supports compile flag -Wsign-compare... yes
checking if gcc supports compile flag -Wformat-security... yes
checking if gcc supports compile flag -Wsizeof-pointer-memaccess... yes
checking if gcc supports compile flag -Wpointer-sign... yes
checking if gcc supports compile flag -Wunused-result... yes
checking if gcc supports compile flag -fno-strict-aliasing... yes
checking if gcc supports compile flag -D_FORTIFY_SOURCE=2... yes
checking if gcc supports link flag -Wl,-z,relro... yes
checking if gcc supports link flag -Wl,-z,now... yes
checking if gcc supports link flag -Wl,-z,noexecstack... yes
checking if gcc supports compile flag -ftrapv and linking succeeds... yes
checking gcc version... 6.3.0
checking if gcc accepts -fno-builtin-memset... yes
checking if gcc supports -fstack-protector-strong... yes
checking if -fstack-protector-strong works... yes
checking if compiler allows __attribute__ on return types... yes
checking blf.h usability... no
checking blf.h presence... no
checking for blf.h... no
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking crypto/sha2.h usability... no
checking crypto/sha2.h presence... no
checking for crypto/sha2.h... no
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking endian.h usability... yes
checking endian.h presence... yes
checking for endian.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking floatingpoint.h usability... no
checking floatingpoint.h presence... no
checking for floatingpoint.h... no
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking ia.h usability... no
checking ia.h presence... no
checking for ia.h... no
checking iaf.h usability... no
checking iaf.h presence... no
checking for iaf.h... no
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking login.h usability... no
checking login.h presence... no
checking for login.h... no
checking maillock.h usability... no
checking maillock.h presence... no
checking for maillock.h... no
checking ndir.h usability... no
checking ndir.h presence... no
checking for ndir.h... no
checking net/if_tun.h usability... no
checking net/if_tun.h presence... no
checking for net/if_tun.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netgroup.h usability... no
checking netgroup.h presence... no
checking for netgroup.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking pty.h usability... yes
checking pty.h presence... yes
checking for pty.h... yes
checking readpassphrase.h usability... no
checking readpassphrase.h presence... no
checking for readpassphrase.h... no
checking rpc/types.h usability... yes
checking rpc/types.h presence... yes
checking for rpc/types.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking sha2.h usability... no
checking sha2.h presence... no
checking for sha2.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/audit.h usability... no
checking sys/audit.h presence... no
checking for sys/audit.h... no
checking sys/bitypes.h usability... yes
checking sys/bitypes.h presence... yes
checking for sys/bitypes.h... yes
checking sys/bsdtty.h usability... no
checking sys/bsdtty.h presence... no
checking for sys/bsdtty.h... no
checking sys/capability.h usability... yes
checking sys/capability.h presence... yes
checking for sys/capability.h... yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/dir.h usability... yes
checking sys/dir.h presence... yes
checking for sys/dir.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/ndir.h usability... no
checking sys/ndir.h presence... no
checking for sys/ndir.h... no
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/prctl.h usability... yes
checking sys/prctl.h presence... yes
checking for sys/prctl.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/stat.h... (cached) yes
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/stropts.h usability... yes
checking sys/stropts.h presence... yes
checking for sys/stropts.h... yes
checking sys/strtio.h usability... no
checking sys/strtio.h presence... no
checking for sys/strtio.h... no
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timers.h usability... no
checking sys/timers.h presence... no
checking for sys/timers.h... no
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking tmpdir.h usability... no
checking tmpdir.h presence... no
checking for tmpdir.h... no
checking ttyent.h usability... yes
checking ttyent.h presence... yes
checking for ttyent.h... yes
checking ucred.h usability... no
checking ucred.h presence... no
checking for ucred.h... no
checking for unistd.h... (cached) yes
checking usersec.h usability... no
checking usersec.h presence... no
checking for usersec.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking vis.h usability... no
checking vis.h presence... no
checking for vis.h... no
checking for lastlog.h... yes
checking for sys/ptms.h... no
checking for login_cap.h... no
checking for sys/mount.h... yes
checking for sys/un.h... yes
checking linux/if_tun.h usability... yes
checking linux/if_tun.h presence... yes
checking for linux/if_tun.h... yes
checking for linux/seccomp.h... yes
checking for linux/filter.h... yes
checking for linux/audit.h... yes
checking for prctl... yes
checking for seccomp architecture... "AUDIT_ARCH_X86_64"
checking compiler and flags for sanity... yes
checking for yp_match... no
checking for yp_match in -lnsl... yes
checking for setsockopt... yes
checking for dirname... yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for getspnam... yes
checking for library containing basename... none required
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking for possibly buggy zlib... no
checking for strcasecmp... yes
checking for utimes... yes
checking bsd/libutil.h usability... yes
checking bsd/libutil.h presence... yes
checking for bsd/libutil.h... yes
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking for library containing fmt_scaled... no
checking for library containing scan_scaled... no
checking for library containing login... -lutil
checking for library containing logout... none required
checking for library containing logwtmp... none required
checking for library containing openpty... none required
checking for library containing updwtmp... none required
checking for fmt_scaled... no
checking for scan_scaled... no
checking for login... yes
checking for logout... yes
checking for openpty... yes
checking for updwtmp... yes
checking for logwtmp... yes
checking for library containing inet_ntop... none required
checking for strftime... yes
checking for GLOB_ALTDIRFUNC support... yes
checking for gl_matchc field in glob_t... no
checking for gl_statv and GLOB_KEEPSTAT extensions for glob... no
checking whether GLOB_NOMATCH is declared... yes
checking whether struct dirent allocates space for d_name... yes
checking for /proc/pid/fd directory... yes
checking for gcc >= 4.x... yes
checking if gcc supports compile flag -fPIE... yes
checking if gcc supports link flag -pie... yes
checking whether both -fPIE and -pie are supported... yes
checking for Blowfish_initstate... no
checking for Blowfish_expandstate... no
checking for Blowfish_expand0state... no
checking for Blowfish_stream2word... no
checking for asprintf... yes
checking for b64_ntop... no
checking for __b64_ntop... no
checking for b64_pton... no
checking for __b64_pton... no
checking for bcopy... yes
checking for bcrypt_pbkdf... no
checking for bindresvport_sa... no
checking for blf_enc... no
checking for cap_rights_limit... no
checking for clock... yes
checking for closefrom... no
checking for dirfd... yes
checking for endgrent... yes
checking for explicit_bzero... no
checking for fchmod... yes
checking for fchown... yes
checking for freeaddrinfo... yes
checking for fstatfs... yes
checking for fstatvfs... yes
checking for futimes... yes
checking for getaddrinfo... yes
checking for getcwd... yes
checking for getgrouplist... yes
checking for getnameinfo... yes
checking for getopt... yes
checking for getpeereid... no
checking for getpeerucred... no
checking for getpgid... yes
checking for getpgrp... yes
checking for _getpty... no
checking for getrlimit... yes
checking for getttyent... yes
checking for glob... yes
checking for group_from_gid... no
checking for inet_aton... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for innetgr... yes
checking for login_getcapbool... no
checking for mblen... yes
checking for md5_crypt... no
checking for memmove... yes
checking for memset_s... no
checking for mkdtemp... yes
checking for mmap... yes
checking for ngetaddrinfo... no
checking for nsleep... no
checking for ogetaddrinfo... no
checking for openlog_r... no
checking for poll... yes
checking for prctl... (cached) yes
checking for pstat... no
checking for readpassphrase... no
checking for reallocarray... no
checking for recvmsg... yes
checking for rresvport_af... yes
checking for sendmsg... yes
checking for setdtablesize... no
checking for setegid... yes
checking for setenv... yes
checking for seteuid... yes
checking for setgroupent... no
checking for setgroups... yes
checking for setlinebuf... yes
checking for setlogin... no
checking for setpassent... no
checking for setpcred... no
checking for setproctitle... no
checking for setregid... yes
checking for setreuid... yes
checking for setrlimit... yes
checking for setsid... yes
checking for setvbuf... yes
checking for sigaction... yes
checking for sigvec... no
checking for snprintf... yes
checking for socketpair... yes
checking for statfs... yes
checking for statvfs... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... no
checking for strlcpy... no
checking for strmode... no
checking for strnlen... yes
checking for strnvis... no
checking for strptime... yes
checking for strtonum... no
checking for strtoll... yes
checking for strtoul... yes
checking for strtoull... yes
checking for swap32... no
checking for sysconf... yes
checking for tcgetpgrp... yes
checking for timingsafe_bcmp... no
checking for truncate... yes
checking for unsetenv... yes
checking for updwtmpx... yes
checking for user_from_uid... no
checking for usleep... yes
checking for vasprintf... yes
checking for vsnprintf... yes
checking for waitpid... yes
checking for library containing dlopen... -ldl
checking for gai_strerror... yes
checking for library containing nanosleep... none required
checking for library containing clock_gettime... none required
checking whether getrusage is declared... no
checking whether strsep is declared... yes
checking for strsep... yes
checking whether tcsendbreak is declared... yes
checking whether h_errno is declared... yes
checking whether SHUT_RD is declared... yes
checking whether O_NONBLOCK is declared... yes
checking whether writev is declared... yes
checking whether MAXSYMLINKS is declared... yes
checking whether offsetof is declared... yes
checking whether howmany is declared... yes
checking whether NFDBITS is declared... yes
checking for fd_mask... yes
checking for setresuid... yes
checking if setresuid seems to work... yes
checking for setresgid... yes
checking if setresgid seems to work... yes
checking for realpath... yes
checking if realpath works with non-existent files... no
checking for gettimeofday... yes
checking for time... yes
checking for endutent... yes
checking for getutent... yes
checking for getutid... yes
checking for getutline... yes
checking for pututline... yes
checking for setutent... yes
checking for utmpname... yes
checking for endutxent... yes
checking for getutxent... yes
checking for getutxid... yes
checking for getutxline... yes
checking for getutxuser... no
checking for pututxline... yes
checking for setutxdb... no
checking for setutxent... yes
checking for utmpxname... yes
checking for getlastlogxbyname... no
checking for daemon... yes
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings... yes
checking whether vsnprintf returns correct values on overflow... yes
checking whether snprintf can declare const char *fmt... yes
checking whether system supports SO_PEERCRED getsockopt... yes
checking for (overly) strict mkstemp... yes
checking if openpty correctly handles controlling tty... yes
checking whether AI_NUMERICSERV is declared... yes
checking whether getpgrp requires zero arguments... yes
checking OpenSSL header version... 1010005f (OpenSSL 1.1.0e  16 Feb 2017)
checking OpenSSL library version... 1010005f (OpenSSL 1.1.0e  16 Feb 2017)
checking whether OpenSSL's headers match the library... no
configure: WARNING: Your OpenSSL headers do not match your
	library. Check config.log for details.
	Also see contrib/findssl.sh for help identifying header/library mismatches.
checking if programs using OpenSSL functions will link... no
checking if programs using OpenSSL need -ldl... no
checking for BN_is_prime_ex... yes
checking for DSA_generate_parameters_ex... yes
checking for EVP_DigestInit_ex... yes
checking for EVP_DigestFinal_ex... yes
checking for EVP_MD_CTX_init... no
checking for EVP_MD_CTX_cleanup... no
checking for EVP_MD_CTX_copy_ex... yes
checking for HMAC_CTX_init... no
checking for RSA_generate_key_ex... yes
checking for RSA_get_default_method... yes
checking whether OpenSSL has crippled AES support... no
checking whether OpenSSL has AES CTR via EVP... yes
checking whether OpenSSL has AES GCM via EVP... yes
checking for library containing EVP_CIPHER_CTX_ctrl... none required
checking if EVP_DigestUpdate returns an int... yes
checking for crypt in -lcrypt... yes
checking for crypt... yes
checking for DES_crypt... yes
checking for SHA256_Update... yes
checking for EVP_sha256... yes
checking for EVP_ripemd160... yes
checking whether OpenSSL has NID_X9_62_prime256v1... yes
checking whether OpenSSL has NID_secp384r1... yes
checking whether OpenSSL has NID_secp521r1... yes
checking if OpenSSL's NID_secp521r1 is functional... yes
checking for arc4random... no
checking for arc4random_buf... no
checking for arc4random_stir... no
checking for arc4random_uniform... no
checking for ia_openinfo in -liaf... no
checking whether OpenSSL's PRNG is internally seeded... yes
checking whether SECCOMP_MODE_FILTER is declared... yes
checking kernel for seccomp_filter support... yes
checking if select works with descriptor rlimit... yes
checking if setrlimit(RLIMIT_NOFILE,{0,0}) works... yes
checking if setrlimit RLIMIT_FSIZE works... yes
checking for long long... yes
checking for unsigned long long... yes
checking for long double... yes
checking size of short int... 2
checking size of int... 4
checking size of long int... 8
checking size of long long int... 8
checking for u_int type... yes
checking for intXX_t types... yes
checking for int64_t type... yes
checking for u_intXX_t types... yes
checking for u_int64_t types... yes
checking for uintXX_t types in stdint.h... yes
checking for uintXX_t types in inttypes.h... yes
checking for u_char... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for socklen_t... yes
checking for sig_atomic_t... yes
checking for fsblkcnt_t... yes
checking for fsfilcnt_t... yes
checking for in_addr_t... yes
checking for in_port_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for clock_t... yes
checking for sa_family_t... yes
checking for pid_t... yes
checking for mode_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct addrinfo... yes
checking for struct timeval... yes
checking for struct timespec... yes
checking for ut_host field in utmp.h... yes
checking for ut_host field in utmpx.h... yes
checking for syslen field in utmpx.h... no
checking for ut_pid field in utmp.h... yes
checking for ut_type field in utmp.h... yes
checking for ut_type field in utmpx.h... yes
checking for ut_tv field in utmp.h... yes
checking for ut_id field in utmp.h... yes
checking for ut_id field in utmpx.h... yes
checking for ut_addr field in utmp.h... yes
checking for ut_addr field in utmpx.h... yes
checking for ut_addr_v6 field in utmp.h... yes
checking for ut_addr_v6 field in utmpx.h... yes
checking for ut_exit field in utmp.h... yes
checking for ut_time field in utmp.h... no
checking for ut_time field in utmpx.h... no
checking for ut_tv field in utmpx.h... yes
checking for struct stat.st_blksize... yes
checking for struct passwd.pw_gecos... yes
checking for struct passwd.pw_class... no
checking for struct passwd.pw_change... no
checking for struct passwd.pw_expire... no
checking for struct __res_state.retrans... yes
checking for ss_family field in struct sockaddr_storage... yes
checking for __ss_family field in struct sockaddr_storage... no
checking for msg_accrights field in struct msghdr... no
checking if struct statvfs.f_fsid is integral type... yes
checking for msg_control field in struct msghdr... yes
checking if libc defines __progname... yes
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking whether va_copy exists... yes
checking whether __va_copy exists... yes
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for library containing getrrsetbyname... no
checking for library containing res_query... no
checking for library containing dn_expand... no
checking if res_query will link... no
checking for res_query in -lresolv... yes
checking for _getshort... yes
checking for _getlong... yes
checking whether _getshort is declared... no
checking whether _getlong is declared... no
checking for HEADER.ad... yes
checking if struct __res_state _res is an extern... yes
checking for xauth... /usr/bin/xauth
checking Discovering system mail directory... Using: /var/mail from _PATH_MAILDIR
checking for "/dev/ptc"... no
checking for nroff... (cached) /usr/bin/nroff
checking if the systems has expire shadow information... yes
checking for "/etc/default/login"... no
Adding /usr/local/bin to USER_PATH so scp will work
checking if we need to convert IPv4 in IPv6-mapped addresses... yes (default)
checking if your system defines LASTLOG_FILE... no
checking if your system defines _PATH_LASTLOG... yes
checking if your system defines UTMP_FILE... yes
checking if your system defines WTMP_FILE... yes
checking if your system defines WTMPX_FILE... no
checking for struct lastlog.ll_line... yes
checking for struct utmp.ut_line... yes
checking whether BROKEN_GETADDRINFO is declared... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating buildpkg.sh
config.status: creating config.h
config.status: config.h is unchanged
               ~00000                                       
              00000000                                      
             ,000$ 0$+~                                     
             $=0=  .0+0                                     
             000    000                                     
            :000    0~0                                     
            0000.    0                                      
            00000     .                                     
           .000000                                          
           0?= +.,.                                         
          ,?00.$000                                         
          00000~.:~0                                        
          .$+00~?~000                                       
          :00000.=0000                                      
          ?00?00+=:  ,0,                                    
     00000..0000~ 000000.   $0                              
    00..0~0?0::00,?0::?$0.  00 ~                            
   .0.   ,0?00000.0$,+,000.00 $00                           
   0.   00.?00=00000~0+0:0000?0,~0?.                        
  .0  +00   0+0000 0000=?~0000?00 00                        
 .: .~~   .000=00000~00=000000+0.0~0$$.                     
 00 ,    ?00.. 000~000000000000.:0.0:0~   0$00.+            
00.0    00   00?~000~000000000+00   + ~0000000000=$0000     
   $   00   00.   .00,000000000000$.00000.    .0000+$+~00   
  0   00  .0       000000000?~0000000.   0.   .0$000000+$0  
 0    0   0     000:$~0000=0.0000,$.       00   0000000000  
     0   00    ?.0000      $0 0 .                     .0000 
   .     $    ?000.                                     0 0 
        0     +~?000                                        
       0.    :000000?0     |=------=[ Ncrack ]=------=| 
             0000$?+00                                      
             00+0:~0$0+                                     
             .0$000?00                                      
               0?000000                                     
                  .000~0         
Configuration complete.  Type make (or gmake on some *BSD machines) to compile.
✔ /opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack [master|✔] 
13:53 $ make -j 2
Makefile:135: makefile.dep: No such file or directory
g++ -MM -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"x86_64-unknown-linux-gnu\" -DNCRACKDATADIR=\"/usr/local/share/ncrack\" -D_FORTIFY_SOURCE=2  ncrack.cc utils.cc TargetGroup.cc Target.cc targets.cc NcrackOps.cc Service.cc ServiceGroup.cc Connection.h services.cc timing.cc ncrack_error.cc output.cc ncrack_tty.cc Buf.cc NcrackOutputTable.cc ncrack_input.cc ncrack_resume.cc crypto.cc http.cc http_digest.cc  > makefile.dep
Compiling libnbase
cd nbase && make
Compiling openssh lib
cd opensshlib && make
make[1]: Entering directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nbase'
gcc -g -O2 -Wall    -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2    -c -o snprintf.o snprintf.c
make[1]: Entering directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/opensshlib'
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c strlcpy.c
snprintf.c:51:19: warning: ‘rcsid’ defined but not used [-Wunused-const-variable=]
 static const char rcsid[] =
                   ^~~~~
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c strlcat.c
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c bsd-snprintf.c
gcc -g -O2 -Wall    -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2    -c -o nbase_str.o nbase_str.c
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c bsd-asprintf.c
gcc -g -O2 -Wall    -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2    -c -o nbase_misc.o nbase_misc.c
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c sha2.c
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c bufaux.c
gcc -g -O2 -Wall    -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2    -c -o nbase_memalloc.o nbase_memalloc.c
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c bufbn.c
gcc -g -O2 -Wall    -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2    -c -o nbase_rnd.o nbase_rnd.c
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c buffer.c
gcc -g -O2 -Wall    -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2    -c -o nbase_addrset.o nbase_addrset.c
gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c cipher.c
In file included from cipher.c:46:0:
cipher.h:69:17: error: field ‘evp’ has incomplete type
  EVP_CIPHER_CTX evp;
                 ^~~
Makefile:71: recipe for target 'cipher.o' failed
make[1]: *** [cipher.o] Error 1
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/opensshlib'
Makefile:84: recipe for target 'opensshlib_build' failed
make: *** [opensshlib_build] Error 2
make: *** Waiting for unfinished jobs....
rm -f libnbase.a
ar cr libnbase.a snprintf.o nbase_str.o nbase_misc.o nbase_memalloc.o nbase_rnd.o nbase_addrset.o
ranlib libnbase.a
make[1]: Leaving directory '/opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack/nbase'
✘-2 /opt/ITSEC/4.Password/1.Network/ncrack/nmap/ncrack [master|✔] 
13:53 $ 

undefined reference to `clock_gettime'

With both the 0.5 package from https://nmap.org/ncrack/ and git clone https://github.com/nmap/ncrack on Ubuntu 14.04.5 LTS there is a compilation error:

g++ -Lnbase -Lnsock/src -Lopensshlib   -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o modules/ncrack_ssh.o modules/ncrack_smb.o modules/ncrack_rdp.o modules/ncrack_sip.o modules/ncrack_psql.o modules/ncrack_mysql.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_winrm.o modules/ncrack_owa.o modules/ncrack_imap.o -lnsock -lnbase -lssl -lcrypto -lopenssh 
opensshlib/libopenssh.a(misc.o): In function `monotime':
ncrack/opensshlib/misc.c:918: undefined reference to `clock_gettime'
ncrack/opensshlib/misc.c:922: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[1]: *** [ncrack] Error 1
make[1]: Leaving directory `bin/ncrack'
make: *** [all] Error 2

Changing Makefile as follows fix the issue:

LDFLAGS = -Lnbase -Lnsock/src -Lopensshlib -L $(DBGFLAGS) $(STATIC)
LDADD=-lrt

But then after a make clean and make I get:

g++ -Lnbase -Lnsock/src -Lopensshlib -L   -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o modules/ncrack_ssh.o modules/ncrack_smb.o modules/ncrack_rdp.o modules/ncrack_sip.o modules/ncrack_psql.o modules/ncrack_mysql.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_winrm.o modules/ncrack_owa.o modules/ncrack_imap.o -lnsock -lnbase -lssl -lcrypto -lopenssh 
g++: error: ncrack: No such file or directory
make[1]: *** [ncrack] Error 1
make[1]: Leaving directory `bin/ncrack'
make: *** [all] Error 2

Thanks,
Francesco

ncrack

Hello,

I am trying to brute force on a non-standard port 2222 sftp. I added the new port and the service name in ncrack-services as sssh 2222/tcp, when running the following command

ncrack -vv -user acb -pass password :2222 i received the following error:

Starting Ncrack 0.5 ( http://ncrack.org ) at 2017-06-01 07:34 EDT

Invalid service module: sssh
QUITTING!

Kindly advise how i can successfully perform a successful brute fore with no errors.

As per my understanding there is also ssl certificate in the session, should we add also the ssl before starting the brutefore ?

Thanks in Advance

Below is the telnet results of port 2222:

SSH-2.0-mod_sftp/0.9.9
�╘��{Ä!PÜ╔wo^⌡�├gÄ5─ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1,rsa1024-sha1ssh-rsa,ssh-dss aes128-ctr,aes192-ctr,aes256-ctr aes128-ctr,aes192-ctr,aes256-ctr%hmac-sha1,hmac-sha2-256,hmac-sha2-512%hmac-sha1,hmac-sha2-256,[email protected],zlib,[email protected],zlib,noneΦo�Ç

[Feature Request] JSON output format

I think it would be great if there was an option to output the scan results in JSON. It would make integration with automation systems much smoother.

If you'd like I can try to prototype this feature on a forked version of this, then send in a pull request. Let me know!

stack smashing errors with SSH and MySQL modules in Ubuntu 16.04 box

I get segmentation fault errors when trying the SSH and MySQL modules against a Ubuntu 16.04 box.

# ncrack --user root mysql://127.0.0.1 -d9 -v
Fetchfile found /usr/local/share/ncrack/default.pwd

Starting Ncrack 0.5 ( http://ncrack.org ) at 2016-04-25 11:34 PDT

mysql://127.0.0.1:3306 (EID 1) Initiating new Connection
mysql://127.0.0.1:3306 pushed to list FULL
*** stack smashing detected ***: ncrack terminated
Aborted (core dumped)

/ncrack-0.5# ncrack --user admin --pass admin 127.0.0.1:22 -d9 -v

Starting Ncrack 0.5 ( http://ncrack.org ) at 2016-04-25 11:31 PDT

ssh://127.0.0.1:22 (EID 1) Initiating new Connection
ssh://127.0.0.1:22 pushed to list FULL
Discovered credentials on ssh://127.0.0.1:22 'admin' 'admin'
ssh://127.0.0.1:22 popped from list FULL
ssh://127.0.0.1:22 (EID 1) Attempts: total 1 completed 1 supported 1 --- rate 12.52 
ssh://127.0.0.1:22 (EID 2) Initiating new Connection
ssh://127.0.0.1:22 (EID 3) Initiating new Connection
ssh://127.0.0.1:22 (EID 4) Initiating new Connection
ssh://127.0.0.1:22 (EID 5) Initiating new Connection
ssh://127.0.0.1:22 (EID 6) Initiating new Connection
ssh://127.0.0.1:22 (EID 7) Initiating new Connection
ssh://127.0.0.1:22 (EID 8) Initiating new Connection
ssh://127.0.0.1:22 (EID 9) Initiating new Connection
ssh://127.0.0.1:22 (EID 10) Initiating new Connection
ssh://127.0.0.1:22 (EID 11) Initiating new Connection
ssh://127.0.0.1:22 pushed to list FULL
Segmentation fault (core dumped)

Any ideas?

RDP Module hangs against systems with interactive logon messages

Hello!
I was testing ncrack today against my Windows 2012 R2 server. It works beautifully with standard RDP. However, when the interactive logon message is presented prior to the authentication step, ncrack seems to try over and over but gets nowhere.

More information about interactive logon messages can be found here: https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/interactive-logon-message-text-for-users-attempting-to-log-on

ncrack segmentation fault( tested on ssh) (only on multi target mode(-iL))

hi.
every time i try to brute force ssh i get SIGSEGV after a few mins
so i tested it with gbd
(i have increeced open file limit to 65000 and stack to unlimite)
here's the out put

"
(gdb) run -p ssh -g cl=200,CL=300,at=4 -U user.txt -P passl.txt -oN out -iL ip
Starting program: /usr/local/bin/ncrack -p ssh -g cl=200,CL=300,at=4 -U user.txt -P passl.txt -oN out -iL ip
Warning: File ./ncrack-services exists, but Ncrack is using /usr/local/share/ncrack/ncrack-services for security and consistency reasons. Set NCRACKDIR=. to give priority to files in your local directory (may affect the other data files too).

Starting Ncrack 0.6 ( http://ncrack.org ) at 2017-05-07 02:43 PDT

Program received signal SIGPIPE, Broken pipe.

Program received signal SIGPIPE, Broken pipe.
Stats: 0:00:42 elapsed; 88 services completed (19132 total)
Rate: 0.00; Found: 0; About 0.00% done

Program received signal SIGPIPE, Broken pipe.

Program received signal SIGPIPE, Broken pipe.
Stats: 0:00:48 elapsed; 367 services completed (19132 total)
Rate: 0.76; Found: 0; About 0.00% done
Stats: 0:00:51 elapsed; 368 services completed (19132 total)
Rate: 0.47; Found: 0; About 0.01% done

Program received signal SIGPIPE, Broken pipe.
Stats: 0:00:53 elapsed; 403 services completed (19132 total)
Rate: 88.58; Found: 2; About 0.65% done
(press 'p' to list discovered credentials)

Program received signal SIGPIPE, Broken pipe.
Stats: 0:00:56 elapsed; 414 services completed (19132 total)
Rate: 391.35; Found: 2; About 1.28% done; ETC: 03:58 (1:13:18 remaining)
(press 'p' to list discovered credentials)
Discovered credentials for ssh on 64.71.168.50 22/tcp:
64.71.168.50 22/tcp ssh: 'root' 'root'
Discovered credentials for ssh on 65.19.138.126 22/tcp:
65.19.138.126 22/tcp ssh: 'root' 'root'
Stats: 0:01:10 elapsed; 662 services completed (19132 total)
Rate: 535.87; Found: 2; About 3.29% done; ETC: 03:19 (0:34:18 remaining)
(press 'p' to list discovered credentials)
Stats: 0:01:25 elapsed; 836 services completed (19132 total)
Rate: 487.81; Found: 6; About 6.08% done; ETC: 03:07 (0:21:54 remaining)
(press 'p' to list discovered credentials)
Discovered credentials for ssh on 64.71.168.50 22/tcp:
64.71.168.50 22/tcp ssh: 'root' 'root'
Discovered credentials for ssh on 65.19.138.126 22/tcp:
65.19.138.126 22/tcp ssh: 'root' 'root'
65.19.138.126 22/tcp ssh: 'user' 'test'
65.19.138.126 22/tcp ssh: 'admin' 'test'
65.19.138.126 22/tcp ssh: 'root' 'test'
Discovered credentials for ssh on 72.52.116.58 22/tcp:
72.52.116.58 22/tcp ssh: 'root' 'root'
Stats: 0:01:42 elapsed; 842 services completed (19132 total)
Rate: 286.98; Found: 10; About 6.69% done; ETC: 03:09 (0:23:58 remaining)
(press 'p' to list discovered credentials)

Program received signal SIGPIPE, Broken pipe.
Discovered credentials for ssh on 64.71.168.50 22/tcp:
64.71.168.50 22/tcp ssh: 'root' 'root'
64.71.168.50 22/tcp ssh: 'root' 'test'
Discovered credentials for ssh on 65.19.138.126 22/tcp:
65.19.138.126 22/tcp ssh: 'root' 'root'
65.19.138.126 22/tcp ssh: 'user' 'test'
65.19.138.126 22/tcp ssh: 'admin' 'test'
65.19.138.126 22/tcp ssh: 'root' 'test'
Discovered credentials for ssh on 72.52.116.58 22/tcp:
72.52.116.58 22/tcp ssh: 'root' 'root'
72.52.116.58 22/tcp ssh: 'admin' 'UserPass'
72.52.116.58 22/tcp ssh: 'root' 'UserPass'
72.52.116.58 22/tcp ssh: 'admin' 'PassW0rd'
72.52.116.58 22/tcp ssh: 'user' 'PassW0rd'

Program received signal SIGPIPE, Broken pipe.

Program received signal SIGPIPE, Broken pipe.
Stats: 0:01:57 elapsed; 1127 services completed (19132 total)
Rate: 373.90; Found: 11; About 7.91% done; ETC: 03:08 (0:22:55 remaining)
(press 'p' to list discovered credentials)

Program received signal SIGPIPE, Broken pipe.
Stats: 0:02:08 elapsed; 1385 services completed (19132 total)
Rate: 529.17; Found: 12; About 9.54% done; ETC: 03:06 (0:20:13 remaining)
(press 'p' to list discovered credentials)
Discovered credentials for ssh on 64.71.168.50 22/tcp:
64.71.168.50 22/tcp ssh: 'root' 'root'
64.71.168.50 22/tcp ssh: 'root' 'test'
Discovered credentials for ssh on 65.19.138.126 22/tcp:
65.19.138.126 22/tcp ssh: 'root' 'root'
65.19.138.126 22/tcp ssh: 'user' 'test'
65.19.138.126 22/tcp ssh: 'admin' 'test'
65.19.138.126 22/tcp ssh: 'root' 'test'
Discovered credentials for ssh on 74.82.52.66 22/tcp:
74.82.52.66 22/tcp ssh: 'root' 'root'
Discovered credentials for ssh on 72.52.116.58 22/tcp:
72.52.116.58 22/tcp ssh: 'root' 'root'
72.52.116.58 22/tcp ssh: 'admin' 'UserPass'
72.52.116.58 22/tcp ssh: 'root' 'UserPass'
72.52.116.58 22/tcp ssh: 'admin' 'PassW0rd'
72.52.116.58 22/tcp ssh: 'user' 'PassW0rd'
Stats: 0:02:19 elapsed; 1453 services completed (19132 total)
Rate: 473.54; Found: 12; About 10.63% done; ETC: 03:05 (0:19:28 remaining)
(press 'p' to list discovered credentials)
Discovered credentials for ssh on 64.71.168.50 22/tcp:
64.71.168.50 22/tcp ssh: 'root' 'root'
64.71.168.50 22/tcp ssh: 'root' 'test'
Discovered credentials for ssh on 65.19.138.126 22/tcp:
65.19.138.126 22/tcp ssh: 'root' 'root'
65.19.138.126 22/tcp ssh: 'user' 'test'
65.19.138.126 22/tcp ssh: 'admin' 'test'
65.19.138.126 22/tcp ssh: 'root' 'test'
Discovered credentials for ssh on 74.82.52.66 22/tcp:
74.82.52.66 22/tcp ssh: 'root' 'root'
Discovered credentials for ssh on 72.52.116.58 22/tcp:
72.52.116.58 22/tcp ssh: 'root' 'root'
72.52.116.58 22/tcp ssh: 'admin' 'UserPass'
72.52.116.58 22/tcp ssh: 'root' 'UserPass'
72.52.116.58 22/tcp ssh: 'admin' 'PassW0rd'
72.52.116.58 22/tcp ssh: 'user' 'PassW0rd'
Stats: 0:02:41 elapsed; 1460 services completed (19132 total)
Rate: 241.74; Found: 13; About 11.35% done; ETC: 03:07 (0:21:06 remaining)
(press 'p' to list discovered credentials)

Program received signal SIGPIPE, Broken pipe.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---return
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---return
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---return
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---retun
Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGSEGV, Segmentation fault.

---Type to continue, or q to quit---q
Quit
(gdb) where
#0 0x0000000000459b14 in ?? ()
#1 0x00000000004597cf in ?? ()
#2 0x00000000004347df in ?? ()
#3 0x0000000000436959 in ?? ()
#4 0x00000000004369e6 in ?? ()
#5 0x0000000000436c10 in ?? ()
#6 0x000000000041c9c9 in ?? ()
#7 0x000000000042ce38 in ?? ()
#8 0x000000000042a9dc in ?? ()
#9 0x000000000042ed19 in ?? ()
#10 0x000000000042a463 in ?? ()
#11 0x000000000040b783 in ?? ()
#12 0x000000000040756b in ?? ()
#13 0x000001624a747f45 in __libc_start_main (main=0x407540, argc=13, argv=0x3e31aebf678, init=, fini=,
rtld_fini=, stack_end=0x3e31aebf668) at libc-start.c:287
#14 0x0000000000407763 in ?? ()
"

dmesg:
grsec: From 2.191.238.207: Segmentation fault occurred at 0000000000000002 in /usr/local/bin/ncrack[ncrack:13542] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/gdb[gdb:12025] uid/euid:0/0 gid/egid:0/0
grsec: From 2.191.238.207: Segmentation fault occurred at 0000000000000002 in /usr/local/bin/ncrack[ncrack:13542] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/gdb[gdb:12025] uid/euid:0/0 gid/egid:0/0
grsec: From 2.191.238.207: Segmentation fault occurred at 0000000000000002 in /usr/local/bin/ncrack[ncrack:13542] uid/euid:0/0 gid/egid:0/0, parent /usr/bin/gdb[gdb:12025] uid/euid:0/0 gid/egid:0/0
grsec: more alerts, logging disabled for 10 seconds

( i had set gdb to not pass SIGSEGV and SIGPIPE)

i tied every possibe opetion ( only -p ssh, -g cl=.., , --conncetion-limit=.., ..) but still get Segmentation fault

os:ubuntu 14.04 amd64 , kernel=3.2.61

thanks for reading

ncrack error

HI dear,
when I start a brute force operation with this command: ncrack -U user.txt -P pass.txt 127.0.0.1:22 I receive the error message: failed to open input file users.txt for reading!
Quitting! if instead I write on the terminal in this way:
ncrack -U user -P pass 127.0.0.1:22
I get the problem: segmentation error how can I solve the problem?

failure while searching for PORT

I'm getting this issue when running a scan for hosts discovered via nmap.
The only possible reason might be because I said -oN result.txt instead of -oN result.
Altho I'm not even sure that's relevant, couldn't find any info on it.

root@kali:~# ncrack -v -U usr.txt -P pw.txt -T5 -iN result.txt                                                   
                                                                                                                   
Starting Ncrack 0.6 ( http://ncrack.org ) at 2019-05-24 22:11 CEST                                                   │
                                                                                                                     
-iN fgets failure while searching for PORT                                                                   
                                                                                                                   
QUITTING!

Invalid service module: ssh

 $ ncrack -v localhost:22
 Warning: File ./ncrack-services exists, but Ncrack is using /usr/local/share/ncrack/ncrack-services for security and consistency reasons. Set NCRACKDIR=. to give priority to files in your local directory (may affect the other data files too).

 Starting Ncrack 0.5 ( http://ncrack.org ) at 2016-08-06 22:50 CST

 Invalid service module: ssh
 QUITTING!

Any address isn't working. Not localhost, not VMs or other pcs on the net. They all throw the same error. I don't know if it could be the ssh or what. Ssh is working fine. I can connect to others:

$ ssh -V
OpenSSH_7.2p2 Ubuntu-4ubuntu1, OpenSSL 1.0.2g-fips  1 Mar 2016

¿Any clue what to try?

Request for more URL-friendly syntax

It would IMHO be nice to have a more URL-familiar syntax for password-cracking HTTP/HTTPS resources. So these examples (as is required now?):

ncrack -p80 10.0.0.1 -g path=Status_Router.asp
ncrack -p443 10.0.0.1 -g path=Status_Router.asp

could be issued as:

ncrack http://10.0.0.1/Status_Router.asp 
ncrack https://10.0.0.1/Status_Router.asp 

I.e. the default port could be 80 and 443 as usual.
(and maybe ncrack 10.0.0.1:80/Status_Router.asp and ncrack 10.0.0.1:443/Status_Router.asp too?).

This could be extended to default port for other schemes that has a IETF defined URL-scheme.

Invalid service module: ms-wbt-server

➜ tools ncrack -vv -u root -P 500-worst-passwords.txt 192.168.31.36:3389

Starting Ncrack 0.7 ( http://ncrack.org ) at 2018-03-25 13:52 CST

Invalid service module: ms-wbt-server
QUITTING!

platform macos 10.13.3

how can i solve this problem?

Ncrack Looping

anyone help me ?

wc -l ../password
5 ../password

more ../username
root

ncrack -d10 ssh://x.x.x.x:22 -U ../username -P ../password
Fetchfile found ../username
Fetchfile found ../password

Starting Ncrack 0.6 ( http://ncrack.org ) at 2018-08-06 12:23 CST

ssh://x.x.x.x:22 (EID 1) Initiating new Connection
ssh://x.x.x.x:22 pushed to list FULL
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 (EID 1) Connection closed by peer
ssh://x.x.x.x:22 popped from list FULL
ssh://x.x.x.x:22 (EID 1) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 (EID 2) Initiating new Connection
ssh://x.x.x.x:22 (EID 3) Initiating new Connection
ssh://x.x.x.x:22 (EID 4) Initiating new Connection
ssh://x.x.x.x:22 (EID 5) Initiating new Connection
ssh://x.x.x.x:22 (EID 6) Initiating new Connection
ssh://x.x.x.x:22 Password list finished!
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' 'Q!w2e3r4t5'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 6) Connection closed by peer
ssh://x.x.x.x:22 (EID 6) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' 'Q!w2e3r4t5'
ssh://x.x.x.x:22 (EID 7) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 2) Connection closed by peer
ssh://x.x.x.x:22 (EID 2) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 (EID 8) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4rT%'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 4) Connection closed by peer
ssh://x.x.x.x:22 (EID 4) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4rT%'
ssh://x.x.x.x:22 (EID 9) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '!Q2w3e4r5t'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 5) Connection closed by peer
ssh://x.x.x.x:22 (EID 5) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '!Q2w3e4r5t'
ssh://x.x.x.x:22 (EID 10) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' 'changeme'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 3) Connection closed by peer
ssh://x.x.x.x:22 (EID 3) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' 'changeme'
ssh://x.x.x.x:22 (EID 11) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' 'changeme'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 11) Connection closed by peer
ssh://x.x.x.x:22 (EID 11) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' 'changeme'
ssh://x.x.x.x:22 (EID 12) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' 'Q!w2e3r4t5'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 7) Connection closed by peer
ssh://x.x.x.x:22 (EID 7) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' 'Q!w2e3r4t5'
ssh://x.x.x.x:22 (EID 13) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 8) Connection closed by peer
ssh://x.x.x.x:22 (EID 8) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 (EID 14) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4rT%'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 9) Connection closed by peer
ssh://x.x.x.x:22 (EID 9) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4rT%'
ssh://x.x.x.x:22 (EID 15) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '!Q2w3e4r5t'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 10) Connection closed by peer
ssh://x.x.x.x:22 (EID 10) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '!Q2w3e4r5t'
ssh://x.x.x.x:22 (EID 16) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' 'changeme'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 12) Connection closed by peer
ssh://x.x.x.x:22 (EID 12) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' 'changeme'
ssh://x.x.x.x:22 (EID 17) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' 'Q!w2e3r4t5'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 13) Connection closed by peer
ssh://x.x.x.x:22 (EID 13) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' 'Q!w2e3r4t5'
ssh://x.x.x.x:22 (EID 18) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 14) Connection closed by peer
ssh://x.x.x.x:22 (EID 14) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 (EID 19) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4rT%'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 15) Connection closed by peer
ssh://x.x.x.x:22 (EID 15) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4rT%'
ssh://x.x.x.x:22 (EID 20) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '!Q2w3e4r5t'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 16) Connection closed by peer
ssh://x.x.x.x:22 (EID 16) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '!Q2w3e4r5t'
ssh://x.x.x.x:22 (EID 21) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI
ssh://x.x.x.x:22 Pool: Append 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 popped from list PAIRFINI
ssh://x.x.x.x:22 (EID 19) Connection closed by peer
ssh://x.x.x.x:22 (EID 19) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ssh://x.x.x.x:22 Pool: extract 'root' '1q2w3e4r5t'
ssh://x.x.x.x:22 (EID 22) Initiating new Connection
ssh://x.x.x.x:22 pushed to list PAIRFINI

Manual can log in, but blasting fails

ssh://172.17.4.27:10022 finished.
ssh://172.17.4.28:10022 finished.
ssh://172.17.4.31:10022 finished.
ssh://172.17.4.32:10022 finished.
ssh://172.17.4.33:10022 finished.

IP 172.17.4.29、172.17.4.29 not in the list, but in fact can use the blasting account password login.

$ ssh [email protected] -p10022
The authenticity of host '[172.17.4.29]:10022 ([172.17.4.29]:10022)' can't be established.
RSA key fingerprint is 78:d8:22:28:0a:ad:a3:fe:xx:xx:xx:xx:xx:ee:xx:xx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[172.17.4.29]:10022' (RSA) to the list of known hosts.
[email protected]'s password:
Last login: Thu Dec  8 03:09:46 2016 from 172.17.15.137
[root@localhost ~]# exit
logout
Connection to 172.17.4.29 closed.

Pass OpenSSL configure flags to subdirs

Tried using --with-openssl to pass the appropriate directory where OpenSSL was installed, but the opensshlib subdir's configure script expects this to come as the --with-ssl-dir option. Need to change this so only one option to the top-level configure script is needed.

Building fails: ntlmssp.cc: undefined reference to `ntlm_create_hash(...`

Build fails on raspbian 9 (stretch) with the followiing error:

ntlmssp.o: In function `ntlmssp_generate_blob(auth_data*, unsigned char*, int, unsigned char**, unsigned short*)':
ntlmssp.cc:(.text+0x19c): undefined reference to `ntlm_create_hash(char const*, unsigned char*)'

Any ideas what could be the problem?

full log:

~/ncrack/ncrack-0.7 $ make
Compiling libnbase
cd nbase && make
make[1]: Entering directory '/home/pi/ncrack/ncrack-0.7/nbase'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/ncrack/ncrack-0.7/nbase'
Compiling libnsock
cd nsock/src && make
make[1]: Entering directory '/home/pi/ncrack/ncrack-0.7/nsock/src'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/ncrack/ncrack-0.7/nsock/src'
Compiling modules
cd modules && make
make[1]: Entering directory '/home/pi/ncrack/ncrack-0.7/modules'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/pi/ncrack/ncrack-0.7/modules'
make ncrack
make[1]: Entering directory '/home/pi/ncrack/ncrack-0.7'
Compiling Ncrack...
rm -f ncrack
g++ -Lnbase -Lnsock/src   -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o xml.o ntlmssp.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_owa.o modules/ncrack_imap.o modules/ncrack_cassandra.o modules/ncrack_mssql.o modules/ncrack_cvs.o modules/ncrack_wordpress.o modules/ncrack_joomla.o modules/ncrack_dicom.o modules/ncrack_mqtt.o -lnsock -lnbase   
ntlmssp.o: In function `ntlmssp_generate_blob(auth_data*, unsigned char*, int, unsigned char**, unsigned short*)':
ntlmssp.cc:(.text+0x19c): undefined reference to `ntlm_create_hash(char const*, unsigned char*)'
collect2: error: ld returned 1 exit status
Makefile:67: recipe for target 'ncrack' failed
make[1]: *** [ncrack] Error 1
make[1]: Leaving directory '/home/pi/ncrack/ncrack-0.7'
Makefile:64: recipe for target 'all' failed
make: *** [all] Error 2

ncrack problem

HI dear,
when I start a brute force operation with this command: ncrack -U user.txt -P pass.txt 127.0.0.1:22 I receive the error message: failed to open input file users.txt for reading!
Quitting! if instead I write on the terminal in this way:
ncrack -U user -P pass 127.0.0.1:22
I get the problem: segmentation error how can I solve the problem?

XML output

Hi guys,

I've tried to get XML results using following command:
ncrack <host> -p ssh -v -T5 --user root --pass toor -oX -

Output is:

Ncrack 0.5 scan initiated Tue Sep 12 00:53:09 2017 as:  />

EOF

Same message I get when pass file name instead -.

Is there an option to output XML to stdout?

BTW, where can I found XML schema definitions or at least example output?

modules/ncrack_ssh.cc:131:10: fatal error: ncrack.h: No such file or directory

g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"armv4-unknown-none\" -DNCRACKDATADIR=\"/workspace/ncrack-lib/share/ncrack\" -D_FORTIFY_SOURCE=2  -O2 -Wall -fno-strict-aliasing  modules/ncrack_ssh.cc -o modules/ncrack_ssh.o
modules/ncrack_ssh.cc:131:10: fatal error: ncrack.h: No such file or directory
  131 | #include "ncrack.h"
      |          ^~~~~~~~~~
compilation terminated.

host=arm
libc=musl
build shell

sudo apk add make
export OPENSSL_DIR="/workspace/openssl-lib"
export LDFLAGS="-L/workspace/openssl-lib/lib -L/workspace/zlib-lib/lib --static"
export CPPFLAGS="-I/workspace/openssl-lib/include -I/workspace/zlib-lib/include "
export CLAGS="-I/workspace/openssl-lib/include -I/workspace/zlib-lib/include  "
cd ncrack-0.7
make clean
./configure --host=armv4 --prefix=/workspace/ncrack-lib
make
make install

skipping incompatible nsock/src/libnsock.a when searching for -lnsock [link error.]

Compiling Ncrack...
rm -f ncrack
g++ -L/workspace/openssl-lib/lib -L/workspace/zlib-lib/lib --static -Lnbase -Lnsock/src -Lopensshlib   -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o xml.o ntlmssp.o modules/ncrack_ssh.o modules/ncrack_smb.o modules/ncrack_smb2.o modules/ncrack_rdp.o modules/ncrack_sip.o modules/ncrack_psql.o modules/ncrack_mysql.o modules/ncrack_winrm.o modules/ncrack_mongodb.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_owa.o modules/ncrack_imap.o modules/ncrack_cassandra.o modules/ncrack_mssql.o modules/ncrack_cvs.o modules/ncrack_wordpress.o modules/ncrack_joomla.o modules/ncrack_dicom.o modules/ncrack_mqtt.o -lnsock -lnbase -lssl -lcrypto -lopenssh 
/lib/gcc/arm-linux-musleabi/9.1.0/../../../../arm-linux-musleabi/bin/ld: skipping incompatible nsock/src/libnsock.a when searching for -lnsock
/lib/gcc/arm-linux-musleabi/9.1.0/../../../../arm-linux-musleabi/bin/ld: cannot find -lnsock
/lib/gcc/arm-linux-musleabi/9.1.0/../../../../arm-linux-musleabi/bin/ld: cannot find -lopenssh
collect2: error: ld returned 1 exit status
make: *** [Makefile:69: ncrack] Error 1

host: arm
libc:musl
build shell:
docker run -ti --rm --user $(id -u) -v $(pwd):/workspace -w /workspace muslcc/x86_64:arm-linux-musleabi sh

sudo apk add make
export OPENSSL_DIR="/workspace/openssl-lib"
export LDFLAGS="-L/workspace/openssl-lib/lib -L/workspace/zlib-lib/lib --static"
export CPPFLAGS="-I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -I/workspace/ncrack-0.7 "
export CLAGS="-I/workspace/openssl-lib/include -I/workspace/zlib-lib/include  -I/workspace/ncrack-0.7 "
cd ncrack-0.7
make clean
./configure --host=arm --prefix=/workspace/ncrack-lib
make
make install

Failing to compile

I am trying to compile Ncrack 0.6 on linux mint 18.3, 4.10.0-38-generic #42~16.04.1-Ubuntu. OpenSSL version OpenSSL 1.0.2g, libssl-dev (1.0.2g-1ubuntu4.12) and libssh-dev (0.6.3-4.3) installed.

"./configure" ends fine, but when I try "make", it fails, this is the output:

Compiling Ncrack...
rm -f ncrack
g++ -Lnbase -Lnsock/src -Lopensshlib   -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o xml.o modules/ncrack_ssh.o modules/ncrack_smb.o modules/ncrack_rdp.o modules/ncrack_sip.o modules/ncrack_psql.o modules/ncrack_mysql.o modules/ncrack_winrm.o modules/ncrack_mongodb.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_owa.o modules/ncrack_imap.o modules/ncrack_cassandra.o modules/ncrack_mssql.o modules/ncrack_cvs.o modules/ncrack_wordpress.o modules/ncrack_joomla.o -lnsock -lnbase -lssl -lcrypto -lopenssh 
opensshlib/libopenssh.a(kexdhc.o): In function `kexdh_client':
/home/vm/nmap/ncrack/opensshlib/kexdhc.c:80: undefined reference to `DH_get0_key'
opensshlib/libopenssh.a(kexdhc.o): In function `ncrackssh_input_kex_dh':
/home/vm/nmap/ncrack/opensshlib/kexdhc.c:169: undefined reference to `DH_get0_key'
opensshlib/libopenssh.a(kexgexc.o): In function `ncrackssh_input_kex_dh_gex_group':
/home/vm/nmap/ncrack/opensshlib/kexgexc.c:128: undefined reference to `DH_get0_key'
opensshlib/libopenssh.a(kexgexc.o): In function `ncrackssh_input_kex_dh_gex_reply':
/home/vm/nmap/ncrack/opensshlib/kexgexc.c:231: undefined reference to `DH_get0_key'
/home/vm/nmap/ncrack/opensshlib/kexgexc.c:232: undefined reference to `DH_get0_pqg'
opensshlib/libopenssh.a(digest-openssl.o): In function `ssh_digest_start':
/home/vm/nmap/ncrack/opensshlib/digest-openssl.c:126: undefined reference to `EVP_MD_CTX_new'
/home/vm/nmap/ncrack/opensshlib/digest-openssl.c:128: undefined reference to `EVP_MD_CTX_free'
opensshlib/libopenssh.a(digest-openssl.o): In function `ssh_digest_free':
/home/vm/nmap/ncrack/opensshlib/digest-openssl.c:181: undefined reference to `EVP_MD_CTX_free'
opensshlib/libopenssh.a(sshkey.o): In function `to_blob_buf':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:813: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:788: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:789: undefined reference to `DSA_get0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_equal_public':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:693: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:694: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:700: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:701: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:702: undefined reference to `DSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:703: undefined reference to `DSA_get0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_size':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:287: undefined reference to `DSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:283: undefined reference to `RSA_get0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_add_private':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:558: undefined reference to `RSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:559: undefined reference to `RSA_set0_factors'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:560: undefined reference to `RSA_set0_crt_params'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:565: undefined reference to `DSA_set0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_new':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:499: undefined reference to `RSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:514: undefined reference to `DSA_set0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:515: undefined reference to `DSA_set0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_fingerprint_raw':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:926: undefined reference to `RSA_get0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_from_private':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:1818: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:1819: undefined reference to `DSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:1820: undefined reference to `DSA_set0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:1821: undefined reference to `DSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:1849: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:1850: undefined reference to `RSA_set0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_demote':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2331: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2333: undefined reference to `RSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2343: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2344: undefined reference to `DSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2346: undefined reference to `DSA_set0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2347: undefined reference to `DSA_set0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_certify':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2493: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2474: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2475: undefined reference to `DSA_get0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_private_serialize':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2624: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2625: undefined reference to `RSA_get0_factors'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2626: undefined reference to `RSA_get0_crt_params'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2651: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2652: undefined reference to `DSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2661: undefined reference to `DSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2640: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2641: undefined reference to `RSA_get0_factors'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2642: undefined reference to `RSA_get0_crt_params'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_from_blob_internal':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2057: undefined reference to `RSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2077: undefined reference to `DSA_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2078: undefined reference to `DSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2083: undefined reference to `DSA_set0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2084: undefined reference to `DSA_set0_key'
opensshlib/libopenssh.a(sshkey.o): In function `sshkey_private_deserialize':
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2838: undefined reference to `RSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2765: undefined reference to `DSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2756: undefined reference to `DSA_set0_pqg'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2757: undefined reference to `DSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2839: undefined reference to `RSA_set0_factors'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2857: undefined reference to `RSA_set0_crt_params'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2855: undefined reference to `RSA_set0_key'
/home/vm/nmap/ncrack/opensshlib/sshkey.c:2856: undefined reference to `RSA_set0_factors'
opensshlib/libopenssh.a(ssh-ecdsa.o): In function `ssh_ecdsa_sign':
/home/vm/nmap/ncrack/opensshlib/ssh-ecdsa.c:84: undefined reference to `ECDSA_SIG_get0'
opensshlib/libopenssh.a(ssh-ecdsa.o): In function `ssh_ecdsa_verify':
/home/vm/nmap/ncrack/opensshlib/ssh-ecdsa.c:163: undefined reference to `ECDSA_SIG_set0'
opensshlib/libopenssh.a(cipher.o): In function `cipher_get_keyiv':
/home/vm/nmap/ncrack/opensshlib/cipher.c:571: undefined reference to `EVP_CIPHER_CTX_iv'
opensshlib/libopenssh.a(cipher.o): In function `cipher_set_keyiv':
/home/vm/nmap/ncrack/opensshlib/cipher.c:614: undefined reference to `EVP_CIPHER_CTX_iv_noconst'
opensshlib/libopenssh.a(cipher.o): In function `cipher_get_keycontext':
/home/vm/nmap/ncrack/opensshlib/cipher.c:641: undefined reference to `EVP_CIPHER_impl_ctx_size'
/home/vm/nmap/ncrack/opensshlib/cipher.c:644: undefined reference to `EVP_CIPHER_CTX_get_cipher_data'
opensshlib/libopenssh.a(cipher.o): In function `cipher_set_keycontext':
/home/vm/nmap/ncrack/opensshlib/cipher.c:660: undefined reference to `EVP_CIPHER_impl_ctx_size'
/home/vm/nmap/ncrack/opensshlib/cipher.c:661: undefined reference to `EVP_CIPHER_CTX_get_cipher_data'
opensshlib/libopenssh.a(rsa.o): In function `rsa_public_encrypt':
/home/vm/nmap/ncrack/opensshlib/rsa.c:81: undefined reference to `RSA_get0_key'
opensshlib/libopenssh.a(rsa.o): In function `rsa_private_decrypt':
/home/vm/nmap/ncrack/opensshlib/rsa.c:130: undefined reference to `RSA_get0_key'
opensshlib/libopenssh.a(rsa.o): In function `rsa_generate_additional_parameters':
/home/vm/nmap/ncrack/opensshlib/rsa.c:176: undefined reference to `RSA_get0_key'
/home/vm/nmap/ncrack/opensshlib/rsa.c:177: undefined reference to `RSA_get0_factors'
/home/vm/nmap/ncrack/opensshlib/rsa.c:178: undefined reference to `RSA_get0_crt_params'
opensshlib/libopenssh.a(ssh-dss.o): In function `ssh_dss_sign':
/home/vm/nmap/ncrack/opensshlib/ssh-dss.c:81: undefined reference to `DSA_SIG_get0'
opensshlib/libopenssh.a(ssh-dss.o): In function `ssh_dss_verify':
/home/vm/nmap/ncrack/opensshlib/ssh-dss.c:188: undefined reference to `DSA_SIG_get0'
opensshlib/libopenssh.a(ssh-rsa.o): In function `ssh_rsa_verify':
/home/vm/nmap/ncrack/opensshlib/ssh-rsa.c:135: undefined reference to `RSA_get0_key'
opensshlib/libopenssh.a(dh.o): In function `dh_pub_is_valid':
/home/vm/nmap/ncrack/opensshlib/dh.c:240: undefined reference to `DH_get0_pqg'
opensshlib/libopenssh.a(dh.o): In function `dh_gen_key':
/home/vm/nmap/ncrack/opensshlib/dh.c:267: undefined reference to `DH_get0_pqg'
/home/vm/nmap/ncrack/opensshlib/dh.c:273: undefined reference to `DH_set_length'
/home/vm/nmap/ncrack/opensshlib/dh.c:274: undefined reference to `DH_get0_key'
opensshlib/libopenssh.a(dh.o): In function `dh_new_group_asc':
/home/vm/nmap/ncrack/opensshlib/dh.c:290: undefined reference to `DH_get0_pqg'
opensshlib/libopenssh.a(dh.o): In function `dh_new_group':
/home/vm/nmap/ncrack/opensshlib/dh.c:311: undefined reference to `DH_set0_pqg'
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'ncrack' failed
make[1]: *** [ncrack] Error 1
make[1]: Leaving directory '/home/vm/nmap/ncrack'
Makefile:62: recipe for target 'all' failed
make: *** [all] Error 2

How could I solve it? Am I missing some dependencies?

../portable_endian.h:50: warning: "htole64" redefined>>on musl mips

../portable_endian.h:39: warning: "htobe16" redefined
39 | # define htobe16(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:60: note: this is the location of the previous definition
60 | #define htobe16(x) (uint16_t)(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:40: warning: "htole16" redefined
40 | # define htole16(x) ((((((uint16_t)(x)) >> 8))|((((uint16_t)(x)) << 8)))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:69: note: this is the location of the previous definition
69 | #define htole16(x) __bswap16(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:41: warning: "be16toh" redefined
41 | # define be16toh(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:61: note: this is the location of the previous definition
61 | #define be16toh(x) (uint16_t)(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:42: warning: "le16toh" redefined
42 | # define le16toh(x) ((((((uint16_t)(x)) >> 8))|((((uint16_t)(x)) << 8)))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:70: note: this is the location of the previous definition
70 | #define le16toh(x) __bswap16(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:44: warning: "htobe32" redefined
44 | # define htobe32(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:63: note: this is the location of the previous definition
63 | #define htobe32(x) (uint32_t)(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:45: warning: "htole32" redefined
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:72: note: this is the location of the previous definition
72 | #define htole32(x) __bswap32(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:46: warning: "be32toh" redefined
46 | # define be32toh(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:64: note: this is the location of the previous definition
64 | #define be32toh(x) (uint32_t)(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:47: warning: "le32toh" redefined
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:73: note: this is the location of the previous definition
73 | #define le32toh(x) __bswap32(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:49: warning: "htobe64" redefined
49 | # define htobe64(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:66: note: this is the location of the previous definition
66 | #define htobe64(x) (uint64_t)(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:50: warning: "htole64" redefined
50 | # define htole64(x) (((uint64_t)htole32(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htole32(((uint32_t)(x)))) << 32))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:75: note: this is the location of the previous definition
75 | #define htole64(x) __bswap64(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:51: warning: "be64toh" redefined
51 | # define be64toh(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:67: note: this is the location of the previous definition
67 | #define be64toh(x) (uint64_t)(x)
|
In file included from ncrack_smb2.cc:137:
../portable_endian.h:52: warning: "le64toh" redefined
52 | # define le64toh(x) (((uint64_t)le32toh(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)le32toh(((uint32_t)(x)))) << 32))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ../nbase/nbase.h:195,
from ../ncrack.h:161,
from ncrack_smb2.cc:130:
/mips-linux-musl/include/endian.h:76: note: this is the location of the previous definition
76 | #define le64toh(x) __bswap64(x)
|
In file included from ncrack_smb2.cc:137:
ncrack_smb2.cc: In function 'void encode_le64(Buf*, uint64_t)':
../portable_endian.h:50:132: warning: left shift count >= width of type [-Wshift-count-overflow]
50 | x) (((uint64_t)htole32(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htole32(((uint32_t)(x)))) << 32))
| ^~

ncrack_smb2.cc:232:18: note: in expansion of macro 'htole64'
232 | uint64_t u64 = htole64(n);
| ^~~~~~~
ncrack_smb2.cc:232:28: error: expected ')' before ';' token
232 | uint64_t u64 = htole64(n);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:50:91: note: to match this '('
50 | # define htole64(x) (((uint64_t)htole32(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htole32(((uint32_t)(x)))) << 32))
| ^
ncrack_smb2.cc:232:18: note: in expansion of macro 'htole64'
232 | uint64_t u64 = htole64(n);
| ^~~~~~~
ncrack_smb2.cc:232:28: error: expected ')' before ';' token
232 | uint64_t u64 = htole64(n);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
../portable_endian.h:50:43: note: in expansion of macro 'htole32'
50 | # define htole64(x) (((uint64_t)htole32(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htole32(((uint32_t)(x)))) << 32))
| ^~~~~~~
ncrack_smb2.cc:232:18: note: in expansion of macro 'htole64'
232 | uint64_t u64 = htole64(n);
| ^~~~~~~
ncrack_smb2.cc:232:28: error: expected ')' before ';' token
232 | uint64_t u64 = htole64(n);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:50:32: note: to match this '('
50 | # define htole64(x) (((uint64_t)htole32(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htole32(((uint32_t)(x)))) << 32))
| ^
ncrack_smb2.cc:232:18: note: in expansion of macro 'htole64'
232 | uint64_t u64 = htole64(n);
| ^~~~~~~
ncrack_smb2.cc:232:28: error: expected ')' before ';' token
232 | uint64_t u64 = htole64(n);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:50:31: note: to match this '('
50 | # define htole64(x) (((uint64_t)htole32(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htole32(((uint32_t)(x)))) << 32))
| ^
ncrack_smb2.cc:232:18: note: in expansion of macro 'htole64'
232 | uint64_t u64 = htole64(n);
| ^~~~~~~
ncrack_smb2.cc: In function 'void encode_le32(Buf*, uint32_t)':
ncrack_smb2.cc:236:28: error: expected ')' before ';' token
236 | uint32_t u32 = htole32(n);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ncrack_smb2.cc:236:18: note: in expansion of macro 'htole32'
236 | uint32_t u32 = htole32(n);
| ^~~~~~~
ncrack_smb2.cc:236:28: error: expected ')' before ';' token
236 | uint32_t u32 = htole32(n);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ncrack_smb2.cc:236:18: note: in expansion of macro 'htole32'
236 | uint32_t u32 = htole32(n);
| ^~~~~~~
ncrack_smb2.cc: In function 'void encode_le16(Buf*, uint16_t)':
ncrack_smb2.cc:240:28: error: expected ')' before ';' token
240 | uint16_t u16 = htole16(n);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:40:31: note: to match this '('
40 | # define htole16(x) ((((((uint16_t)(x)) >> 8))|((((uint16_t)(x)) << 8)))
| ^
ncrack_smb2.cc:240:18: note: in expansion of macro 'htole16'
240 | uint16_t u16 = htole16(n);
| ^~~~~~~
ncrack_smb2.cc: In function 'void smb2_encode_sessetup_req(Connection*, unsigned char*, uint16_t)':
ncrack_smb2.cc:317:49: error: expected ')' before ';' token
317 | *sec_off = htole16(con->outbuf->get_len() - 4);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:40:31: note: to match this '('
40 | # define htole16(x) ((((((uint16_t)(x)) >> 8))|((((uint16_t)(x)) << 8)))
| ^
ncrack_smb2.cc:317:14: note: in expansion of macro 'htole16'
317 | sec_off = htole16(con->outbuf->get_len() - 4);
| ^~~~~~~
ncrack_smb2.cc: In function 'uint32_t smb2_get_status(Connection
)':
ncrack_smb2.cc:326:21: error: expected ')' before ';' token
326 | return le32toh(p);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:47:32: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ncrack_smb2.cc:326:10: note: in expansion of macro 'le32toh'
326 | return le32toh(p);
| ^~~~~~~
ncrack_smb2.cc:326:21: error: expected ')' before ';' token
326 | return le32toh(p);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:47:31: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ncrack_smb2.cc:326:10: note: in expansion of macro 'le32toh'
326 | return le32toh(p);
| ^~~~~~~
ncrack_smb2.cc: In function 'void smb2_get_sessetup_sec_buf(Connection
, unsigned char
, uint16_t
)':
ncrack_smb2.cc:335:53: error: expected ')' before ';' token
335 | buf = (unsigned char)(start + le16toh(*sec_off));
| ~ ^
| )
ncrack_smb2.cc:336:27: error: expected ')' before ';' token
336 | *len = le16toh(*sec_len);
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:42:31: note: to match this '('
42 | # define le16toh(x) ((((((uint16_t)(x)) >> 8))|((((uint16_t)(x)) << 8)))
| ^
ncrack_smb2.cc:336:10: note: in expansion of macro 'le16toh'
336 | *len = le16toh(sec_len);
| ^~~~~~~
ncrack_smb2.cc: In function 'uint64_t smb2_get_ses_id(Connection
)':
../portable_endian.h:52:132: warning: left shift count >= width of type [-Wshift-count-overflow]
52 | x) (((uint64_t)le32toh(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)le32toh(((uint32_t)(x)))) << 32))
| ^~

ncrack_smb2.cc:342:10: note: in expansion of macro 'le64toh'
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^~~~~~~
ncrack_smb2.cc:342:62: error: expected ')' before ';' token
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:52:91: note: to match this '('
52 | # define le64toh(x) (((uint64_t)le32toh(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)le32toh(((uint32_t)(x)))) << 32))
| ^
ncrack_smb2.cc:342:10: note: in expansion of macro 'le64toh'
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^~~~~~~
ncrack_smb2.cc:342:62: error: expected ')' before ';' token
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:47:31: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
../portable_endian.h:52:43: note: in expansion of macro 'le32toh'
52 | # define le64toh(x) (((uint64_t)le32toh(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)le32toh(((uint32_t)(x)))) << 32))
| ^~~~~~~
ncrack_smb2.cc:342:10: note: in expansion of macro 'le64toh'
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^~~~~~~
ncrack_smb2.cc:342:62: error: expected ')' before ';' token
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:52:32: note: to match this '('
52 | # define le64toh(x) (((uint64_t)le32toh(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)le32toh(((uint32_t)(x)))) << 32))
| ^
ncrack_smb2.cc:342:10: note: in expansion of macro 'le64toh'
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^~~~~~~
ncrack_smb2.cc:342:62: error: expected ')' before ';' token
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^
In file included from ncrack_smb2.cc:137:
../portable_endian.h:52:31: note: to match this '('
52 | # define le64toh(x) (((uint64_t)le32toh(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)le32toh(((uint32_t)(x)))) << 32))
| ^
ncrack_smb2.cc:342:10: note: in expansion of macro 'le64toh'
342 | return le64toh(((uint64_t)(start+4+2+2+4+2+2+4+4+8+4+4)));
| ^~~~~~~
make[1]: *** [Makefile:17: ncrack_smb2.o] Error 1
make[1]: Leaving directory '/workspace/ncrack-0.7/modules'
make: *** [Makefile:75: modules_build] Error 2
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing ncrack.cc -o ncrack.o
ncrack.cc: In function 'void lookup_init(const char*)':
ncrack.cc:329:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'global_service' {aka 'struct global_service'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
329 | memset(&temp, 0, sizeof(temp));
| ^
In file included from ncrack.h:266,
from ncrack.cc:133:
global_structures.h:170:16: note: 'global_service' {aka 'struct global_service'} declared here
170 | typedef struct global_service {
| ^~~~~~~~~~~~~~
ncrack.cc: In function 'void ncrack_connect_handler(nsock_pool, nsock_event, void*)':
ncrack.cc:2298:34: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'long int' [-Wsign-compare]
2298 | if (serv->failed_connections > serv->connection_retries) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing utils.cc -o utils.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing TargetGroup.cc -o TargetGroup.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing Target.cc -o Target.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing targets.cc -o targets.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing NcrackOps.cc -o NcrackOps.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing Service.cc -o Service.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing ServiceGroup.cc -o ServiceGroup.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing Connection.cc -o Connection.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing services.cc -o services.o
services.cc: In function 'global_service parse_services_options(char*)':
services.cc:712:32: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'global_service' {aka 'struct global_service'} with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess]
712 | memset(&temp, 0, sizeof(temp));
| ^
In file included from services.h:135,
from services.cc:132:
global_structures.h:170:16: note: 'global_service' {aka 'struct global_service'} declared here
170 | typedef struct global_service {
| ^~~~~~~~~~~~~~
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing timing.cc -o timing.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing ncrack_error.cc -o ncrack_error.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing output.cc -o output.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing ncrack_tty.cc -o ncrack_tty.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing Buf.cc -o Buf.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing NcrackOutputTable.cc -o NcrackOutputTable.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing ncrack_input.cc -o ncrack_input.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing ncrack_resume.cc -o ncrack_resume.o
ncrack_resume.cc: In function 'int ncrack_resume(char*, int*, char***)':
ncrack_resume.cc:477:10: warning: 'char* strncpy(char*, const char*, size_t)' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation]
477 | strncpy(ncrack_arg_buffer, "ncrack ", 7);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing crypto.cc -o crypto.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing http.cc -o http.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing http_digest.cc -o http_digest.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing xml.cc -o xml.o
g++ -c -I/workspace/openssl-lib/include -I/workspace/zlib-lib/include -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME="Ncrack" -DNCRACK_URL="http://ncrack.org\" -DNCRACK_PLATFORM="mips-unknown-elf" -DNCRACKDATADIR="/workspace/ncrack-lib/share/ncrack" -D_FORTIFY_SOURCE=2 -O2 -Wall -fno-strict-aliasing ntlmssp.cc -o ntlmssp.o
In file included from ntlmssp.cc:164:
portable_endian.h:39: warning: "htobe16" redefined
39 | # define htobe16(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:60: note: this is the location of the previous definition
60 | #define htobe16(x) (uint16_t)(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:40: warning: "htole16" redefined
40 | # define htole16(x) ((((((uint16_t)(x)) >> 8))|((((uint16_t)(x)) << 8)))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:69: note: this is the location of the previous definition
69 | #define htole16(x) __bswap16(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:41: warning: "be16toh" redefined
41 | # define be16toh(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:61: note: this is the location of the previous definition
61 | #define be16toh(x) (uint16_t)(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:42: warning: "le16toh" redefined
42 | # define le16toh(x) ((((((uint16_t)(x)) >> 8))|((((uint16_t)(x)) << 8)))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:70: note: this is the location of the previous definition
70 | #define le16toh(x) __bswap16(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:44: warning: "htobe32" redefined
44 | # define htobe32(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:63: note: this is the location of the previous definition
63 | #define htobe32(x) (uint32_t)(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:45: warning: "htole32" redefined
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:72: note: this is the location of the previous definition
72 | #define htole32(x) __bswap32(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:46: warning: "be32toh" redefined
46 | # define be32toh(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:64: note: this is the location of the previous definition
64 | #define be32toh(x) (uint32_t)(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:47: warning: "le32toh" redefined
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:73: note: this is the location of the previous definition
73 | #define le32toh(x) __bswap32(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:49: warning: "htobe64" redefined
49 | # define htobe64(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:66: note: this is the location of the previous definition
66 | #define htobe64(x) (uint64_t)(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:50: warning: "htole64" redefined
50 | # define htole64(x) (((uint64_t)htole32(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)htole32(((uint32_t)(x)))) << 32))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:75: note: this is the location of the previous definition
75 | #define htole64(x) __bswap64(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:51: warning: "be64toh" redefined
51 | # define be64toh(x) (x)
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:67: note: this is the location of the previous definition
67 | #define be64toh(x) (uint64_t)(x)
|
In file included from ntlmssp.cc:164:
portable_endian.h:52: warning: "le64toh" redefined
52 | # define le64toh(x) (((uint64_t)le32toh(((uint32_t)(((uint64_t)(x)) >> 32)))) | (((uint64_t)le32toh(((uint32_t)(x)))) << 32))
|
In file included from /mips-linux-musl/include/sys/types.h:70,
from ntlmssp.cc:156:
/mips-linux-musl/include/endian.h:76: note: this is the location of the previous definition
76 | #define le64toh(x) __bswap64(x)
|
ntlmssp.cc: In function 'int ntlm_negotiate_message(auth_data*)':
ntlmssp.cc:285:35: error: expected ')' before ';' token
285 | u32 = htole32(NEGOTIATE_MESSAGE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:285:9: note: in expansion of macro 'htole32'
285 | u32 = htole32(NEGOTIATE_MESSAGE);
| ^~~~~~~
ntlmssp.cc:285:35: error: expected ')' before ';' token
285 | u32 = htole32(NEGOTIATE_MESSAGE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:285:9: note: in expansion of macro 'htole32'
285 | u32 = htole32(NEGOTIATE_MESSAGE);
| ^~~~~~~
ntlmssp.cc:294:33: error: expected ')' before ';' token
294 | NTLMSSP_NEGOTIATE_UNICODE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:288:9: note: in expansion of macro 'htole32'
288 | u32 = htole32(NTLMSSP_NEGOTIATE_56|NTLMSSP_NEGOTIATE_128|
| ^~~~~~~
ntlmssp.cc:294:33: error: expected ')' before ';' token
294 | NTLMSSP_NEGOTIATE_UNICODE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:288:9: note: in expansion of macro 'htole32'
288 | u32 = htole32(NTLMSSP_NEGOTIATE_56|NTLMSSP_NEGOTIATE_128|
| ^~~~~~~
ntlmssp.cc: In function 'int encode_ntlm_auth(auth_data*, char*)':
ntlmssp.cc:451:47: error: expected ')' before ';' token
451 | server_neg_flags = le32toh(server_neg_flags);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:47:32: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:451:22: note: in expansion of macro 'le32toh'
451 | server_neg_flags = le32toh(server_neg_flags);
| ^~~~~~~
ntlmssp.cc:451:47: error: expected ')' before ';' token
451 | server_neg_flags = le32toh(server_neg_flags);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:47:31: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:451:22: note: in expansion of macro 'le32toh'
451 | server_neg_flags = le32toh(server_neg_flags);
| ^~~~~~~
ntlmssp.cc:454:21: error: expected ')' before ';' token
454 | u32 = le32toh(u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:47:32: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:454:9: note: in expansion of macro 'le32toh'
454 | u32 = le32toh(u32);
| ^~~~~~~
ntlmssp.cc:454:21: error: expected ')' before ';' token
454 | u32 = le32toh(u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:47:31: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:454:9: note: in expansion of macro 'le32toh'
454 | u32 = le32toh(u32);
| ^~~~~~~
ntlmssp.cc:458:21: error: expected ')' before ';' token
458 | u32 = le32toh(u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:47:32: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:458:9: note: in expansion of macro 'le32toh'
458 | u32 = le32toh(u32);
| ^~~~~~~
ntlmssp.cc:458:21: error: expected ')' before ';' token
458 | u32 = le32toh(u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:47:31: note: to match this '('
47 | # define le32toh(x) (((uint32_t)le16toh(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)le16toh(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:458:9: note: in expansion of macro 'le32toh'
458 | u32 = le32toh(u32);
| ^~~~~~~
ntlmssp.cc:488:40: error: expected ')' before ';' token
488 | u32 = htole32(AUTHENTICATION_MESSAGE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:488:9: note: in expansion of macro 'htole32'
488 | u32 = htole32(AUTHENTICATION_MESSAGE);
| ^~~~~~~
ntlmssp.cc:488:40: error: expected ')' before ';' token
488 | u32 = htole32(AUTHENTICATION_MESSAGE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:488:9: note: in expansion of macro 'htole32'
488 | u32 = htole32(AUTHENTICATION_MESSAGE);
| ^~~~~~~
ntlmssp.cc:495:28: error: expected ')' before ';' token
495 | u32 = htole32(0x00180018);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:495:9: note: in expansion of macro 'htole32'
495 | u32 = htole32(0x00180018);
| ^~~~~~~
ntlmssp.cc:495:28: error: expected ')' before ';' token
495 | u32 = htole32(0x00180018);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:495:9: note: in expansion of macro 'htole32'
495 | u32 = htole32(0x00180018);
| ^~~~~~~
ntlmssp.cc:502:31: error: expected ')' before ';' token
502 | NTChallengeResponse_len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:501:9: note: in expansion of macro 'htole32'
501 | u32 = htole32((NTChallengeResponse_len<<16)|
| ^~~~~~~
ntlmssp.cc:502:31: error: expected ')' before ';' token
502 | NTChallengeResponse_len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:501:9: note: in expansion of macro 'htole32'
501 | u32 = htole32((NTChallengeResponse_len<<16)|
| ^~~~~~~
ntlmssp.cc:515:37: error: expected ')' before ';' token
515 | u32 = htole32((u32 << 16) | u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:515:11: note: in expansion of macro 'htole32'
515 | u32 = htole32((u32 << 16) | u32);
| ^~~~~~~
ntlmssp.cc:515:37: error: expected ')' before ';' token
515 | u32 = htole32((u32 << 16) | u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:515:11: note: in expansion of macro 'htole32'
515 | u32 = htole32((u32 << 16) | u32);
| ^~~~~~~
ntlmssp.cc:532:35: error: expected ')' before ';' token
532 | u32 = htole32((u32 << 16) | u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:532:9: note: in expansion of macro 'htole32'
532 | u32 = htole32((u32 << 16) | u32);
| ^~~~~~~
ntlmssp.cc:532:35: error: expected ')' before ';' token
532 | u32 = htole32((u32 << 16) | u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:532:9: note: in expansion of macro 'htole32'
532 | u32 = htole32((u32 << 16) | u32);
| ^~~~~~~
ntlmssp.cc:545:37: error: expected ')' before ';' token
545 | u32 = htole32((u32 << 16) | u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:545:11: note: in expansion of macro 'htole32'
545 | u32 = htole32((u32 << 16) | u32);
| ^~~~~~~
ntlmssp.cc:545:37: error: expected ')' before ';' token
545 | u32 = htole32((u32 << 16) | u32);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:545:11: note: in expansion of macro 'htole32'
545 | u32 = htole32((u32 << 16) | u32);
| ^~~~~~~
ntlmssp.cc:567:33: error: expected ')' before ';' token
567 | NTLMSSP_NEGOTIATE_UNICODE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:561:9: note: in expansion of macro 'htole32'
561 | u32 = htole32(NTLMSSP_NEGOTIATE_56|NTLMSSP_NEGOTIATE_128|
| ^~~~~~~
ntlmssp.cc:567:33: error: expected ')' before ';' token
567 | NTLMSSP_NEGOTIATE_UNICODE);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:561:9: note: in expansion of macro 'htole32'
561 | u32 = htole32(NTLMSSP_NEGOTIATE_56|NTLMSSP_NEGOTIATE_128|
| ^~~~~~~
ntlmssp.cc:571:32: error: expected ')' before ';' token
571 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:571:9: note: in expansion of macro 'htole32'
571 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:571:32: error: expected ')' before ';' token
571 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:571:9: note: in expansion of macro 'htole32'
571 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:578:32: error: expected ')' before ';' token
578 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:578:9: note: in expansion of macro 'htole32'
578 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:578:32: error: expected ')' before ';' token
578 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:578:9: note: in expansion of macro 'htole32'
578 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:583:32: error: expected ')' before ';' token
583 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:583:9: note: in expansion of macro 'htole32'
583 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:583:32: error: expected ')' before ';' token
583 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:583:9: note: in expansion of macro 'htole32'
583 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:590:32: error: expected ')' before ';' token
590 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:590:9: note: in expansion of macro 'htole32'
590 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:590:32: error: expected ')' before ';' token
590 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:590:9: note: in expansion of macro 'htole32'
590 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:596:32: error: expected ')' before ';' token
596 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:32: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:596:9: note: in expansion of macro 'htole32'
596 | u32 = htole32(auth_data->len);
| ^~~~~~~
ntlmssp.cc:596:32: error: expected ')' before ';' token
596 | u32 = htole32(auth_data->len);
| ^
In file included from ntlmssp.cc:164:
portable_endian.h:45:31: note: to match this '('
45 | # define htole32(x) (((uint32_t)htole16(((uint16_t)(((uint32_t)(x)) >> 16)))) | (((uint32_t)htole16(((uint16_t)(x)))) << 16))
| ^
ntlmssp.cc:596:9: note: in expansion of macro 'htole32'
596 | u32 = htole32(auth_data->len);
| ^~~~~~~
make: *** [Makefile:61: ntlmssp.o] Error 1

how can i use it with a custom port ?

this the command but it does nothing .. it just keeps counting the time . does it work or there is another parameters ?

ncrack -v http://ip:8080 --user admin -P passlist.txt

ncrack segmentation fault error specific to SSH service brute force

I receive the following error message when trying to brute force SSH services:

ncrack -v --user root -P /usr/share/wordlists/rockyou-custom.txt 10.xx.xx.xx:22

Starting Ncrack 0.6 ( http://ncrack.org ) at 2018-03-27 10:40 MDT

Segmentation fault

Dmesg Log:

[ 300.771692] ncrack[2222]: segfault at 8 ip 00007f8ac720b849 sp 00007ffd7b8e7140 error 4 in libcrypto.so.1.1[7f8ac714a000+262000]

cannot 'make' fails at: /usr/bin/ld: cannot find -lopenssh

It has been 24 hours trying to compile this source. I've opened an issue here #42 and talked with openssl guys. This seems to be a bug at configure.as not checking a none default openssl path.

Now that's fixed however I'm failing at:

g++ -L/usr/local/lib -Lnbase -Lnsock/src -L/usr/local   -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o xml.o modules/ncrack_ssh.o modules/ncrack_smb.o modules/ncrack_rdp.o modules/ncrack_sip.o modules/ncrack_psql.o modules/ncrack_mysql.o modules/ncrack_winrm.o modules/ncrack_mongodb.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_owa.o modules/ncrack_imap.o modules/ncrack_cassandra.o modules/ncrack_mssql.o modules/ncrack_cvs.o modules/ncrack_wordpress.o modules/ncrack_joomla.o -lnsock -lnbase -lssl -lcrypto -lopenssh
/usr/bin/ld: cannot find -lopenssh

I did some googling, and one of the suggested soluions was to copy libssh.so library to /usr/lib/, this is not working however - what to do next?

Comparison

Hello,

Did you compare the number of attempts per minute from Ncrack in correspondence to THC-Hydra and Medusa, for the different protocols? Is there any significant difference?

Regards.

IPv6 Address Error

HI guys,

I encountered a problem with ncrack and IPv6 addresses. If I try to use an IPv6 address instead of an Hostname ncrack quit with the error message that the port number is invalid. Since there are no good information on how to provide an IPv6 address to ncrack I tried various but all getting to the same error. It looks like that ncrack tries to interpret everything after the first colon as a port number.

#ncrack -6 -v --user=root --pass=test [2001:db8::2]:22

Starting Ncrack 0.5 ( http://ncrack.org ) at 2017-09-15 06:08 EDT

Invalid port number: db8::2]:22
QUITTING!

# ncrack -6 -v --user=root --pass=test "[2001:db8::2]:22"

Starting Ncrack 0.5 ( http://ncrack.org ) at 2017-09-15 06:08 EDT

Invalid port number: db8::2]:22
QUITTING!

# ncrack -6 -v --user=root --pass=test "[2001:db8::2]":22

Starting Ncrack 0.5 ( http://ncrack.org ) at 2017-09-15 06:08 EDT

Invalid port number: db8::2]:22
QUITTING!

# ncrack -6 -v --user=root --pass=test "2001:db8::2":22

Starting Ncrack 0.5 ( http://ncrack.org ) at 2017-09-15 06:09 EDT

Invalid port number: db8::2:22
QUITTING!

#ncrack -6 -v --user=root --pass=test ssh://[2001:db8::2]

Starting Ncrack 0.5 ( http://ncrack.org ) at 2017-09-15 06:10 EDT

Invalid port number: db8::2
QUITTING!

#ncrack -6 -v --user=root --pass=test ssh://2001:db8::2

Starting Ncrack 0.5 ( http://ncrack.org ) at 2017-09-15 06:10 EDT

Invalid port number: db8::2
QUITTING!

It would be great if some of you guys can check if this is an issue or tell in which form an IPv6 address should be provided to ncrack.
A quick solution for me was to create a hosts entry with the IPv6 address and use the hostname instead.

Exclude already found usernames.

The following was tested on ncrack 0.6, tested against tomcat manager, HTTP Basic authentication.

When when a valid user/password is found, its internal state is updated, internally the user:pass combination found is removed, but the "found user" with other password is used in other subsequent attempts.

RPM package for openSUSE

I just created a ncrack package for openSUSE on the Packman OBS instance:
https://pmbs.links2linux.org/request/show/4251

The only issues were that I had to fix some compile warnings that resulted in error in one of the rpm post-build checks:

[   73s] gcc -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE  -I.  -DHAVE_CONFIG_H -c fatal.c
[   73s] deattack.c: In function 'detect_attack':
[   73s] deattack.c:124:15: warning: implicit declaration of function 'reallocarray'; did you mean 'realloc'? [-Wimplicit-function-declaration]
[   73s]     if ((tmp = reallocarray(dctx->h, l, HASH_ENTRYSIZE))
[   73s]                ^~~~~~~~~~~~
[   73s]                realloc
[   73s] deattack.c:124:13: warning: assignment to 'u_int16_t *' {aka 'short unsigned int *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]
[   73s]     if ((tmp = reallocarray(dctx->h, l, HASH_ENTRYSIZE))
[   73s]      
...
[   84s] E: ncrack 64bit-portability-issue deattack.c:124
[   84s] E: ncrack 64bit-portability-issue sshkey.c:1939
[   84s] E: ncrack 64bit-portability-issue xmalloc.c:63

Here's the full buildlog:
ncrack-tumbleweed-buildlog.txt

My workaround is to include malloc.h in the mentioned files:
https://pmbs.links2linux.org/package/view_file/home:mnhauke/ncrack/ncrack-fix-compile-errors.patch?expand=1

Dead option '--host-timeout'

No issues? Here is my first issue after successfully building ncrack.exe using MSVC 2015 and playing with it for an hour. A command like:

ncrack.exe  -p80 router -g path=Status_Router.asp --host-timeout=100s

will run forever.

I see in ncrack.cc that this undocumented option is set to o.host_timeout = l; But it's not used for anything. It would be nice if this option worked.

The timeout args invalid.

My cmd, such as:

ncrack -vv --user "aaaa" --pass "bbbb" a.b.c.*:3389,to=60

After 1 minute timeout, the process can not exit automatically.

How to use timeout correctly?

http_digest_proxy_authorization’ was not declared

Hi,friends:
When I compile ncrack version 0.5.0 after the command configure successed,I got an error,saying http_digest_proxy_authorization’ was not _declared.
My environment is debian 8 64bit,
`cd modules && make

make[1]: Entering directory '/root/Downloads/ncrack-0.5.0/modules'

g++ -c -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_ftp.cc -o ncrack_ftp.o

g++ -c -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_telnet.cc -o ncrack_telnet.o

g++ -c -I.. -I../nsock/include -I../nbase -I../opensshlib -DHAVE_CONFIG_H -O2 -Wall -fno-strict-aliasing -Wno-attributes ncrack_http.cc -o ncrack_http.o

ncrack_http.cc: In function ‘void http_digest(nsock_pool, Connection*)’:

ncrack_http.cc:512:50: error: ‘http_digest_proxy_authorization’ was not declared in this scope
con->user, con->pass, "GET", serv->path);
^
Makefile:17: recipe for target 'ncrack_http.o' failed

make[1]: *** [ncrack_http.o] Error 1

make[1]: Leaving directory '/root/Downloads/ncrack-0.5.0/modules'

Makefile:72: recipe for target 'modules_build' failed

make: *** [modules_build] Error 2
`

(EID 1) nsock READ error #104 (Connection reset by peer)

taylor@taylor:~$ ncrack -d10 -U username -P password 192.168.2.123:3389
Fetchfile found username
Fetchfile found password

Starting Ncrack 0.6 ( http://ncrack.org ) at 2018-08-15 16:25 CST

ms-wbt-server://192.168.2.123:3389 (EID 1) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list FULL
ms-wbt-server://192.168.2.123:3389 (EID 1) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list FULL
ms-wbt-server://192.168.2.123:3389 (EID 1) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 2) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 Password list finished!
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 2) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 2) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 3) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 3) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 3) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 4) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 4) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 4) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 5) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 5) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 5) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 6) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 6) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 6) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 7) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 7) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 7) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 8) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 8) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 8) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 9) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 9) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 popped from list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 9) Attempts: total 0 completed 0 supported 0 --- rate 0.00
ms-wbt-server://192.168.2.123:3389 Pool: extract 'administrator' '123abc'
ms-wbt-server://192.168.2.123:3389 (EID 10) Initiating new Connection
ms-wbt-server://192.168.2.123:3389 pushed to list PAIRFINI
ms-wbt-server://192.168.2.123:3389 (EID 10) nsock READ error #104 (Connection reset by peer)
ms-wbt-server://192.168.2.123:3389 Pool: Append 'administrator' '123abc'

?

can't build: collect2: error: ld returned 1 exit status

/home/ubuntu/ncrack/opensshlib/ssh-rsa.c:135: undefined reference to `RSA_get0_key'
opensshlib/libopenssh.a(dh.o): In function `dh_pub_is_valid':
/home/ubuntu/ncrack/opensshlib/dh.c:240: undefined reference to `DH_get0_pqg'
opensshlib/libopenssh.a(dh.o): In function `dh_gen_key':
/home/ubuntu/ncrack/opensshlib/dh.c:267: undefined reference to `DH_get0_pqg'
/home/ubuntu/ncrack/opensshlib/dh.c:273: undefined reference to `DH_set_length'
/home/ubuntu/ncrack/opensshlib/dh.c:274: undefined reference to `DH_get0_key'
opensshlib/libopenssh.a(dh.o): In function `dh_new_group_asc':
/home/ubuntu/ncrack/opensshlib/dh.c:290: undefined reference to `DH_get0_pqg'
opensshlib/libopenssh.a(dh.o): In function `dh_new_group':
/home/ubuntu/ncrack/opensshlib/dh.c:311: undefined reference to `DH_set0_pqg'
collect2: error: ld returned 1 exit status
Makefile:65: recipe for target 'ncrack' failed

I'm on:
Linux HOST 4.13.0-1013-gcp #17-Ubuntu SMP Fri Apr 6 08:30:45 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.4 LTS
Release:        16.04
Codename:       xenial

I've already installed the following dependencies:
apt-get install git build-essential libssl-dev -y

and cloned the latest git from here.

appendToPool: tried to append NULL password into pair pool

I am trying find a specific host in a network which I know correct credentials.

ncrack -u username -p22 --pass password 192.168.100.0/24

While following works as expected

ncrack -u username -p22 --pass password,dontcrashplease 192.168.100.0/24

I am using ncrack 0.5 on archlinux.

On the side note -P option seems to segfault every time, that could be reported as a separate issue.

muti threading when targeting a list

while testing ncrack, I cannot see that it muti thread brute forcing for multiple targets in parallel
This is a suggestion to implement multi threading.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.