Errors with Development Environment Install
Hello
Everything works successfully for me using install methods from https://github.com/Arachni/arachni/wiki/Development-environment
Where I am getting hung up is when I reach the point of "Setting The Environment"
I am told to insert specific text to an .env file
Setting the environment
Place the following into an .env file:
# Get us into the package env
source ~/arachni-build-dir/arachni/system/setenv
# The setenv script sets this to 'production', so unset it.
unset RAILS_ENV
# Unset custom log directories to avoid storing the logs inside the package env.
unset ARACHNI_FRAMEWORK_LOGDIR
unset ARACHNI_WEBUI_LOGDIR
And then, from your working directory, run source .env.
This will need to be called from each new shell prior to working with Arachni.
It may be me creating an .env file incorrectly.
I have done this:
export ARACHNI="# Get us into the package env
source ~/arachni-build-dir/arachni/system/setenv
# The setenv script sets this to 'production', so unset it.
unset RAILS_ENV
# Unset custom log directories to avoid storing the logs inside the package env.
unset ARACHNI_FRAMEWORK_LOGDIR
unset ARACHNI_WEBUI_LOGDIR"
followed by:
source ARACHNI
(within the same directory of course)
my results when I attempt to work with arachni are as follows:
Arachni - Web Application Security Scanner Framework v2.0dev
Author: Tasos "Zapotek" Laskos <[email blocked]>
(With the support of the community and the Arachni Team.)
Website: http://arachni-scanner.com
Documentation: http://arachni-scanner.com/wiki
[-] Missing URL argument.
How do I set the environment and get proper functionality from Arachni???
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Tasos Laskos on 05 Feb, 2017 07:50 PM
First of all, that's not an installation method, you should only setup your own env if you plan to work with the source, you should instead grab the latest stable release: http://www.arachni-scanner.com/download/
Regarding the error, did you provide a URL for the system to scan?
2 Posted by D on 05 Feb, 2017 08:42 PM
Alright, I will retry the stable release and hopefully things run smoothly this time around.
The error still occured when I provided a URL for the system to scan.
Irony is in the fact that immediately after inputting the command source arachni, my terminal window closed and disappeared.
The only way I was able to salvage any error messages was to include the following into my terminal command:
This is what was printed to the file:
Support Staff 3 Posted by Tasos Laskos on 05 Feb, 2017 08:43 PM
Why are you using
source arachni
? It's./arachni
like any other executable.4 Posted by D on 05 Feb, 2017 08:46 PM
Another error I receive when running source arachni is:
bash: !/usr/bin/env: No such file or directory
this happens without the terminal closing and disappearing.
Support Staff 5 Posted by Tasos Laskos on 05 Feb, 2017 08:47 PM
Delete everything you've created, grab the package and read the README file and you'll be OK.
Tasos Laskos closed this discussion on 05 Feb, 2017 08:47 PM.