Installation instructions¶
Note
It’s advisable to use python virtual environment for below instructions. Read more about python virtual environment in The Hitchhiker’s Guide to Python!
Read about virtualenvwrapper in The Hitchhiker’s Guide to Python!: virtualenvwrapper provides a set of commands which makes working with virtual environments much more pleasant.
Installation¶
Install nessus file analyzer
pip install nessus-file-analyzer
Note
To upgrade to newer version run:
pip install -U nessus-file-analyzer
Run nessus file analyzer
nessus-file-analyzer
Tip
Optionally for Linux and macOS:
nessus-file-analyzer&
Run with
&
at the end to start the process in the background.Make a shortcut for nessus file analyzer
Windows:
- Run in cmd
where nessus-file-analyzer.exe
- Copy returned path.
- Go to e.g. to Desktop.
- Right click on Desktop and choose
New > Shortcut
. - Paste returned path.
- Click
Next
,Finish
.
Linux (Ubuntu) / macOS
- Run in Terminal
which nessus-file-analyzer
- Run in Terminal
ln -s path_returned_in_previous_command ~/Desktop/
macOS
- Run in Terminal
which nessus-file-analyzer
- Open
bin
folder wherenessus-file-analyzer
is located. - Right click on
nessus-file-analyzer
and chooseMake alias
. - Move your alias e.g. to Desktop.
- Run in cmd
Additional steps¶
Linux (Ubuntu)¶
If you installed without python virtual environment, and you see below error:
~$ nessus-file-analyzer
nessus-file-analyzer: command not found
Add below to ~/.bashrc
# set PATH so it includes user's private ~/.local/bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
If you see below error:
~$ nessus-file-analyzer
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.
Aborted (core dumped)
Run below to fix the error:
sudo apt-get install --reinstall libxcb-xinerama0
Build executable file¶
Windows¶
Clone nessus file analyzer repository using below command in Git Bash:
git clone https://github.com/LimberDuck/nessus-file-analyzer.git
Install requirements using below command
pip install -r .\requirements.txt
Run nessus file analyzer using below command
python -m nessus_file_analyzer
Upgrade setuptools using below command
pip install --upgrade setuptools
Install PyInstaller
pip install PyInstaller
Build your own executable file using below command
pyinstaller --onefile --windowed --version-file=.\version.rc --icon=.\icons\LimberDuck-nessus-file-analyzer.ico --name nessus-file-analyzer nessus_file_analyzer\__main__.py
Go to
dist
catalog to find executable filenessus-file-analyzer.exe
Linux (Ubuntu)¶
Clone nessus file analyzer repository using below command
git clone https://github.com/LimberDuck/nessus-file-analyzer.git
Install requirements using below command
pip install -r ./requirements.txt
Run nessus file analyzer using below command
python -m nessus_file_analyzer
Upgrade setuptools using below command
pip install --upgrade setuptools
Install PyInstaller
pip install PyInstaller
Build your own executable file using below command
~/.local/bin/pyinstaller --onefile --windowed --icon=./icons/LimberDuck-nessus-file-analyzer.ico --name nessus-file-analyzer nessus_file_analyzer\__main__.py
Go to
dist
catalog to find executable filenessus-file-analyzer
.
macOS¶
Clone nessus file analyzer repository using below command
git clone https://github.com/LimberDuck/nessus-file-analyzer.git
Install requirements using below command
pip3.6 install -r ./requirements.txt
Run nessus file analyzer using below command
python -m nessus_file_analyzer
Upgrade setuptools using below command
pip install --upgrade setuptools
Install PyInstaller
pip install PyInstaller
Build your own executable file using below command
pyinstaller --onefile --windowed --icon=./icons/LimberDuck-nessus-file-analyzer.ico --name nessus-file-analyzer nessus_file_analyzer\__main__.py
Go to
dist
catalog to find executable filenessus-file-analyzer
.