Closed imapangolin closed 8 years ago
I was following some install instructions and this was they.
I did try the official install package however, but I can't seem to create a proper symbolic link to execute it from within OpenVAS. That's the quandry I find myself in.
Extracting the tar.gz file puts it in this folder:
/home/ubuntu/arachni-1.4-0.5.10/
So I tried adding the link as follows:
ln -s /home/ubuntu/arachni-1.4-0.5.10/bin/arachni* /usr/bin/
And though /usr/bin/ is in the path I can't get a good run from the command line.
So I'm open to suggestions.
I did add /home/ubuntu/arachni-1.4-0.5.10/bin to the path as well - without any better results.
Unfortunately I can't help with OpenVAS nor the setup of your environment, so long as the executables in the package work that's where my responsibilities end. If I'm not mistaken though the OpenVAS plugin you are referring to is has been abandoned for years and I doubt that it'll work with Arachni now.
Interesting on the Arachni plugin mention - because there's a ton of people talking about it with openvas 8 and it does try to use it on deep scans. I tried the instructions here:
Which makes use of the standard installation - but requires the gem to be built and that's where I'm stuck stuck stuck. Thanks.
Those instructions are insane and nowhere are they listed on the official site in that way. That person has basically taken all possible installation procedures and blindly executed them in series, you only need one of them and unless you really know what you're doing (and not even then tbh) you should be using the official, self-contained packages.
You only need to download the official package and use the executables under bin/
, so long as your PATH
is setup correctly you'll be able to call Arachni from anywhere.
About OpenVAS, it may be a different plugin, I can't be sure about that, I only know of the ancient and broken one.
I'm going to try the official distribution and adding the path to the system path.
I did the above - but I can't run still. So here's what I see - any idea what I'm doing wrong? I extract the standard install and then I add the bin folder to the path - which you can see - but it won't run.
Last login: Wed Mar 23 18:21:12 2016 from ip-10-0-1-184.ec2.internal ubuntu@ip-10-0-0-8:~$ echo $PATH /home/ubuntu/.rbenv/plugins/ruby-build/bin:/home/ubuntu/.rbenv/shims:/home/ubuntu/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/ubuntu/arachni-1.4-0.5.10/bin ubuntu@ip-10-0-0-8:~$ arachni /usr/bin/arachni: line 3: /usr/bin/readlink_f.sh: No such file or directory /usr/bin/arachni: line 4: readlink_f: command not found /usr/bin/arachni: line 4: ./../system/setenv: No such file or directory ruby: No such file or directory -- /arachni-ui-web/bin/arachni (LoadError) ubuntu@ip-10-0-0-8:~$
I just tried it and couldn't reproduce, do the executables under bin
work when run directly?
I had an initial error and then installed ruby-dev using sudo get-apt install ruby-dev then when I try to build using:
I get the following in the make.out as it fails:
So I'm kind of stuck here without any idea what to do about this.
Thanks for any help.