- Rails 6.1+
- PostgreSQL, MySQL 5+ or SQlite
- Ruby 3.0+
- Imagemagick
guides.rubyonrails.org/install_ruby_on_rails.html
sudo apt install build-essential rustc libssl-dev libyaml-dev zlib1g-dev libgmp-dev gitcurl https://mise.run | sh
echo "eval \"\$(~/.local/bin/mise activate)\"" >> ~/.bashrc
source ~/.bashrc$ mise use -g ruby@3.0
$ ruby --version
ruby 3.0.7p220 ...sudo apt install --no-install-recommends imagemagicksudo apt install postgresql$ gem install rails -v 6.1
$ rails --version
Rails 6.1.7.10Downgrade concurrent-ruby to 1.3.4
$ gem list concurrent-ruby
concurrent-ruby (1.3.6)
$ gem install concurrent-ruby -v 1.3.4
$ gem uninstall concurrent-ruby -v 1.3.6Run rails new camaleon_project
In your Gemfile do the following:
Replace gem 'spring' with gem 'spring', '4.2.1'
Delete this line to prevent conflict: `gem 'sass-rails', '>= 6'
Put these lines at the bottom of your Gemfile:
gem 'camaleon_cms', '2.8.0'
gem 'concurrent-ruby', '1.3.4'
From the project directory run bundle install
wget -O camaleon_project/config/webpacker.yml https://raw.githubusercontent.com/rails/webpacker/master/lib/install/config/webpacker.ymlrails generate camaleon_cms:install
rake camaleon_cms:generate_migrations
rake db:migratebundle exec rails server -b 0.0.0.0Navigate to http://{ip address}:3000 and enter test under the Name field.
When prompted with the new installation page just enter "test" into the Name field and continue.
Navigate to http://{ip address}:3000/admin, login with the default admin credentials "admin:admin123"
Then navigate to "Users -> + Add User" and fill out the form.
Now using either the unprivileged user you created, or just the default admin credentials provided open up msfconsole.
msf> use auxiliary/gather/camaleon_cms
msf auxiliary(gather/camaleon_cms)> set rhosts {ip address}
msf auxiliary(gather/camaleon_cms)> set rport 3000
msf auxiliary(gather/camaleon_cms)> run