This repository has been archived by the owner on Aug 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 131
01 Installing Hashview
ccammilleri edited this page Jul 30, 2021
·
17 revisions
We only support Ubuntu 14.04 and 16.04. Hashview has been installed successfully on many different distros. If you are installing on an untested/unsupported distro, please see: Installing Hashview on alternate distros.
sudo apt-get update
sudo apt-get install git mysql-server libmysqlclient-dev redis-server openssl
[optional, but recommended]
sudo mysql_secure_installation
sudo systemctl stop redis-server
sudo systemctl disable redis-server
(on ubuntu 16.10 & 16.04 /etc/mysql/mysql.conf.d/mysqld.cnf)
sudo vim /etc/mysql/my.cnf
Add the following line under the [mysqld] section:
innodb_flush_log_at_trx_commit = 0
innodb_file_format = Barracuda
innodb_large_prefix = 1
innodb_file_per_table=true
restart mysqld
sudo service mysql restart
git clone https://github.com/hashview/hashview
cd hashview
Install ruby 2.4.4 via RVM (if using RVM (recommended))
rvm install ruby-2.4.4
rvm use 2.4.4
Install dependencies
gem install bundler
bundle install
cp config/database.yml.example config/database.yml
vim config/database.yml
RACK_ENV=production TZ="$(timedatectl | awk '/Time zone:/{print $3}')" bundle exec rake db:setup
Edit the 'hc_binary_path' variable in config/agent_config.json
to the full path of the hashcat64.bin.
Example of a config/agent_config.json
file:
{
"ip": "127.0.0.1",
"port": "4567",
"uuid": "0e566bcb-bb12-448f-a073-76e5b46c9cec",
"hc_binary_path": "/home/meatball/hashcat-current/hashcat64.bin"
}
See Running Hashview Wiki page.