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

Commit 60b80b2

Browse files
committed
updates ruby to a modern version
1 parent e8f6991 commit 60b80b2

File tree

5 files changed

+18
-21
lines changed

5 files changed

+18
-21
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ruby:2.3.3
1+
FROM ruby:2.6.3
22
MAINTAINER Serpico
33

44
ENV SRP_ROOT /Serpico

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
source 'https://rubygems.org'
22

3-
ruby "2.3.3"
3+
ruby "2.6.3"
44

55
gem 'sinatra'
66
gem 'haml'
77
gem 'rubyzip'
88
gem 'net-ldap', '~> 0.11'
99
gem 'json'
10-
gem 'nokogiri' , '1.8.1'
10+
gem 'nokogiri'
1111
gem 'do_sqlite3', '0.10.17'
1212
gem 'data_mapper', '1.2.0'
1313
gem 'dm-sqlite-adapter', '1.2.0'
1414
gem 'msfrpc-client', '1.1.1'
1515
gem 'odle'
16-
gem 'rack', '2.0.3'
16+
gem 'rack'
1717

1818

Gemfile.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,20 +64,20 @@ GEM
6464
json (1.8.6)
6565
json_pure (1.8.6)
6666
metasm (1.0.4)
67-
mini_portile2 (2.3.0)
67+
mini_portile2 (2.4.0)
6868
msfrpc-client (1.1.1)
6969
msgpack (~> 1)
7070
rex (~> 2)
71-
msgpack (1.3.1)
71+
msgpack (1.3.3)
7272
multi_json (1.14.1)
7373
mustermann (1.1.1)
7474
ruby2_keywords (~> 0.0.1)
7575
net-ldap (0.16.2)
76-
nokogiri (1.8.1)
77-
mini_portile2 (~> 2.3.0)
76+
nokogiri (1.10.7)
77+
mini_portile2 (~> 2.4.0)
7878
odle (0.0.8)
7979
public_suffix (4.0.3)
80-
rack (2.0.3)
80+
rack (2.1.2)
8181
rack-protection (2.0.8.1)
8282
rack
8383
rb-readline (0.5.5)
@@ -91,8 +91,8 @@ GEM
9191
robots
9292
rkelly-remix (0.0.7)
9393
robots (0.10.1)
94-
ruby2_keywords (0.0.1)
95-
rubyzip (1.3.0)
94+
ruby2_keywords (0.0.2)
95+
rubyzip (2.2.0)
9696
sinatra (2.0.8.1)
9797
mustermann (~> 1.0)
9898
rack (~> 2.0)
@@ -114,14 +114,14 @@ DEPENDENCIES
114114
json
115115
msfrpc-client (= 1.1.1)
116116
net-ldap (~> 0.11)
117-
nokogiri (= 1.8.1)
117+
nokogiri
118118
odle
119-
rack (= 2.0.3)
119+
rack
120120
rubyzip
121121
sinatra
122122

123123
RUBY VERSION
124-
ruby 2.3.3p222
124+
ruby 2.6.3p62
125125

126126
BUNDLED WITH
127-
1.17.1
127+
1.17.2

scripts/serpicoInstall.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ apt-get install -y libssl1.0-dev
2828
rvm get master
2929
3030
# Install and use Ruby 2.1.5, the version used by Serpico
31-
rvm install 2.3.3
31+
rvm install 2.6.3
3232
3333
source /etc/profile.d/rvm.sh
34-
rvm use 2.3.3
34+
rvm use 2.6.3
3535
3636
# Serpico Dependencies
3737
apt-get -y install libsqlite3-dev libxslt-dev libxml2-dev zlib1g-dev gcc
@@ -42,9 +42,6 @@ cd /opt/Serpico-Dev/
4242
4343
gem install bundler
4444
45-
# The Gemfile has an issue during installation, run the below to preemptively resolve it
46-
gem install msfrpc-client -v 1.0.3
47-
4845
bundle install
4946
5047
# Initialize the findings database

views/import_scan_data.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

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

0 commit comments

Comments
 (0)