ncrack failing on m1 MAC running Monterey 12.0.1

Open
#117 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, macos
Domain
networking

Research direction

Start by reproducing the reported assertion with the given command on an M1 Mac running Monterey 12.0.1, then inspect nsock_pool.c around nsock_library_initialize at line 307. Determine why res is not greater than 7 and verify a fix against the same command; the issue names no test or other files.

Written by the indexing model from the issue text.

Description

The message I am getting is:

ncrack -v --user root localhost:22

Starting Ncrack 0.7 ( http://ncrack.org ) at 2021-11-07 20:05 PST

Assertion failed: (res > 7), function nsock_library_initialize, file nsock_pool.c, line 307.
zsh: abort ncrack -v --user root localhost:22

Dominant language
C
Stars
1.2k
Forks
275
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nmap/ncrack

All issues in nmap/ncrack

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.