Comments (19)
kk, wanted to do the vm anyways to make sure it just works out of the box :)
from ncrack.
Do you have libssl-dev installed? If so, which version?
from ncrack.
1.1.0e-1 openssl-dev from the 16.06 repositories, theres no other option to install from apt-get.
Also installed 7.47.0-1ubuntu2.2 libcurl4-openssl-dev.
Thx4 support!
from ncrack.
closing the issue as apparently its the openssl / opensshlib version issue.
from ncrack.
You should still be able to build ncrack on Ubuntu 16.04 when you install libssl1.0-dev instead of libssl-dev.
from ncrack.
The install is working now on the latest xubuntu 16.04
The install script is located here:
https://github.com/alphaaurigae/ITSEC-Install-Scripts/tree/master/4.Password/1.Network/ncrack
Install script console log
https://hastebin.com/uyaronojey.sql
from ncrack.
from ncrack.
Thx!
I made a standalone script for nmap and ncrack
https://github.com/alphaaurigae/ncrack
https://github.com/alphaaurigae/nmap
Ive put the scripts into 01.Scripts folder in the main dir's.
If you like it ill create the pull requests :)
PS: The update scripts are not extensively tested yet, however worked with the latest changes (last pull) - nmap and ncrack each.
PPS: ive added a update alternatives script in case gcc versions complain. Scripts tested on gcc version 5.4.0 .
from ncrack.
followup
libssl-dev is on the 16.04 system installed i wrote the scripts on.
libssl1.0-dev is not in the apt repositories.
from ncrack.
@alphaaurigae You are correct: libssl1.0-dev is not available. However, the OpenSSL version that can be seen in your ./configure
output was not installed from the Ubuntu 16.04 repositories:
$ cat /etc/apt/sources.list
deb http://localhost:9999/ubuntu xenial main
deb http://localhost:9999/ubuntu xenial-security main
deb-src http://localhost:9999/ubuntu xenial main
deb-src http://localhost:9999/ubuntu xenial-security main
$ apt-cache policy libssl-dev
libssl-dev:
Installed: (none)
Candidate: 1.0.2g-1ubuntu4.10
Version table:
1.0.2g-1ubuntu4.10 500
500 http://localhost:9999/ubuntu xenial-security/main amd64 Packages
1.0.2g-1ubuntu4 500
500 http://localhost:9999/ubuntu xenial/main amd64 Packages
from ncrack.
Do you refer to the first post?
If so, yes, i tried to use the source back then to make it work, but reverted back to apt packages.
If you refer to the current build, this was the log - https://hastebin.com/kusoqujefa.rb
These are my current sources https://hastebin.com/giteyiferi.php
from ncrack.
Im setting up a fresh xubuntu 16.04 VM for a blanc test install.
from ncrack.
@alphaaurigae I was referring to the first post. Came across this issue as I was working on getting ncrack ready to be compiled with OpenSSL 1.1. Sorry for the noise. :-)
from ncrack.
Testrun for the ncrack script completed successfully on a fresh 16.04 xubuntu VM.
What the script is doing now:
- Clone the repo with predifined branch
- Install deps from the apt-lists file
- Build ncrack
- Copy ncrack.desktop for the xfce menu
Ive modified the INSTALL txt accordingly and renamed it to .md
https://github.com/alphaaurigae/ncrack/blob/master/INSTALL.md
The update script maybe needs some further testing but appears to work as well.
from ncrack.
Thanks for the scripts!
I've noticed you have included the libssh-dev as a dependency at:
https://github.com/alphaaurigae/ncrack/blob/master/01.Scripts/Install-Update/Ubuntu/16.04/deps-ncrack.txt
Ncrack doesn't require that, because it is based on a custom library based on the OpenSSH codebase and it ships with it.
from ncrack.
build-essential & libssl-dev running make complained about libsock.n if i recall that correctly.
I queried google and ended up here https://www.lisenet.com/2014/compile-and-install-ncrack-0-4-alpha-on-debian-wheezy/
, so i added it and it was building.
Let me see if i can redo this quickly.
from ncrack.
No idea what went wrong on the first run where it complained about libsock.n
Removed libssh-dev & redone the testrun - this time it worked out of the box.
Setup was a fresh xubuntu 16.04 VM w guest additions.
https://hastebin.com/sobevedoso.sql
Ive left the ncrack-install-test.sh in the script dir to test the script.
from ncrack.
I made the same type of script for nmap too.
May check the deps list if its correct.
https://github.com/alphaaurigae/nmap/blob/master/01.Scripts/Install-Update/Ubuntu/16.04/deps-nmap.txt
NMAP log
https://hastebin.com/yogajewivi.sql
from ncrack.
Updated support to OpenSSL 1.1
from ncrack.
Related Issues (20)
- [FR] add service option to specify deffrent user and password
- module http/https, inccorrect 'Host' HTTP header when using IPv6 (-6)
- How to Bruteforce a List HOT 1
- ncrack does not work
- Please, add webform (get,post) cracking ^user^ and ^password^ options, like Hydra/Medura/Patator do
- Please, add SMTP[S] cracking option like Hydra/Medusa/Patator do
- IPv6 failed when loading iX targets
- ncrack failing on m1 MAC running Monterey 12.0.1 HOT 1
- ncrack fails on mssql service when creds require domain
- multiple definition of `umac_ctx' HOT 2
- Failed to open input file password.lst for reading! QUITTING! HOT 2
- looking_init: failed to open file ncrack-services for reading! QUITTING!
- ncrack fails to compile: multiple definition of `umac_ctx' HOT 3
- How to Bruteforce a List
- "config.guess" and "config.sub" files are too outdated HOT 2
- Passwords
- /usr/bin/ld: opensshlib/libopenssh.a(umac128.o):/var/opt/ncrack-0.7/opensshlib/./umac.c:1184: multiple definition of `umac_ctx'; opensshlib/libopenssh.a(umac.o):/var/opt/ncrack-0.7/opensshlib/umac.c:1184: first defined here
- ncrack fails to configure with -Werror=implicit-function-declaration
- ncrack fails to build in Debian unstable due to -Werror=implicit-function-declaration
- The tool is keeping retrying the connection even when I specify cr=0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ncrack.