Code Monkey home page Code Monkey logo

Comments (19)

alphaaurigae avatar alphaaurigae commented on August 27, 2024 1

kk, wanted to do the vm anyways to make sure it just works out of the box :)

from ncrack.

ithilgore avatar ithilgore commented on August 27, 2024

Do you have libssl-dev installed? If so, which version?

from ncrack.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

closing the issue as apparently its the openssl / opensshlib version issue.

from ncrack.

hillu avatar hillu commented on August 27, 2024

You should still be able to build ncrack on Ubuntu 16.04 when you install libssl1.0-dev instead of libssl-dev.

from ncrack.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

ithilgore avatar ithilgore commented on August 27, 2024

from ncrack.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

hillu avatar hillu commented on August 27, 2024

@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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

Im setting up a fresh xubuntu 16.04 VM for a blanc test install.

from ncrack.

hillu avatar hillu commented on August 27, 2024

@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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

Testrun for the ncrack script completed successfully on a fresh 16.04 xubuntu VM.

What the script is doing now:

  1. Clone the repo with predifined branch
  2. Install deps from the apt-lists file
  3. Build ncrack
  4. 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.

ithilgore avatar ithilgore commented on August 27, 2024

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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

alphaaurigae avatar alphaaurigae commented on August 27, 2024

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.

ithilgore avatar ithilgore commented on August 27, 2024

Updated support to OpenSSL 1.1

from ncrack.

Related Issues (20)

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.