Skip to content
This repository has been archived by the owner on May 3, 2020. It is now read-only.

Commit

Permalink
updates ruby to a modern version
Browse files Browse the repository at this point in the history
  • Loading branch information
BuffaloWill committed Feb 5, 2020
1 parent e8f6991 commit 60b80b2
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.3.3
FROM ruby:2.6.3
MAINTAINER Serpico

ENV SRP_ROOT /Serpico
Expand Down
6 changes: 3 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
source 'https://rubygems.org'

ruby "2.3.3"
ruby "2.6.3"

gem 'sinatra'
gem 'haml'
gem 'rubyzip'
gem 'net-ldap', '~> 0.11'
gem 'json'
gem 'nokogiri' , '1.8.1'
gem 'nokogiri'
gem 'do_sqlite3', '0.10.17'
gem 'data_mapper', '1.2.0'
gem 'dm-sqlite-adapter', '1.2.0'
gem 'msfrpc-client', '1.1.1'
gem 'odle'
gem 'rack', '2.0.3'
gem 'rack'


22 changes: 11 additions & 11 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,20 @@ GEM
json (1.8.6)
json_pure (1.8.6)
metasm (1.0.4)
mini_portile2 (2.3.0)
mini_portile2 (2.4.0)
msfrpc-client (1.1.1)
msgpack (~> 1)
rex (~> 2)
msgpack (1.3.1)
msgpack (1.3.3)
multi_json (1.14.1)
mustermann (1.1.1)
ruby2_keywords (~> 0.0.1)
net-ldap (0.16.2)
nokogiri (1.8.1)
mini_portile2 (~> 2.3.0)
nokogiri (1.10.7)
mini_portile2 (~> 2.4.0)
odle (0.0.8)
public_suffix (4.0.3)
rack (2.0.3)
rack (2.1.2)
rack-protection (2.0.8.1)
rack
rb-readline (0.5.5)
Expand All @@ -91,8 +91,8 @@ GEM
robots
rkelly-remix (0.0.7)
robots (0.10.1)
ruby2_keywords (0.0.1)
rubyzip (1.3.0)
ruby2_keywords (0.0.2)
rubyzip (2.2.0)
sinatra (2.0.8.1)
mustermann (~> 1.0)
rack (~> 2.0)
Expand All @@ -114,14 +114,14 @@ DEPENDENCIES
json
msfrpc-client (= 1.1.1)
net-ldap (~> 0.11)
nokogiri (= 1.8.1)
nokogiri
odle
rack (= 2.0.3)
rack
rubyzip
sinatra

RUBY VERSION
ruby 2.3.3p222
ruby 2.6.3p62

BUNDLED WITH
1.17.1
1.17.2
7 changes: 2 additions & 5 deletions scripts/serpicoInstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ apt-get install -y libssl1.0-dev
rvm get master
# Install and use Ruby 2.1.5, the version used by Serpico
rvm install 2.3.3
rvm install 2.6.3
source /etc/profile.d/rvm.sh
rvm use 2.3.3
rvm use 2.6.3
# Serpico Dependencies
apt-get -y install libsqlite3-dev libxslt-dev libxml2-dev zlib1g-dev gcc
Expand All @@ -42,9 +42,6 @@ cd /opt/Serpico-Dev/
gem install bundler
# The Gemfile has an issue during installation, run the below to preemptively resolve it
gem install msfrpc-client -v 1.0.3
bundle install
# Initialize the findings database
Expand Down
2 changes: 1 addition & 1 deletion views/import_scan_data.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

%form{ :method => "post", :action => "/report/#{@report.id}/import_scan_data", :enctype => "multipart/form-data" }
.form-group.row
%label.col-lg-2.col-form-label{ :for => "auth_type" } Authorization Type
%label.col-lg-2.col-form-label{ :for => "auth_type" } Data Type
.col-lg-4
%select#type.custom-select{ :name => "type"}
- %w[\ Nessus BurpV1 Metasploit NMap].each do |type|
Expand Down

0 comments on commit 60b80b2

Please sign in to comment.