Merge pull request #493 from OWASP/feature/upgrade-ruby-version
Upgrade Ruby from 3.3.6 to 3.4.1
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
|||||||
3.3.6
|
3.4.1
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
FROM --platform=linux/amd64 ruby:2.6.5
|
FROM --platform=linux/amd64 ruby:3.4.1
|
||||||
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
|
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
|
||||||
RUN mkdir /myapp
|
RUN mkdir /myapp
|
||||||
WORKDIR /myapp
|
WORKDIR /myapp
|
||||||
ADD Gemfile /myapp/Gemfile
|
ADD Gemfile /myapp/Gemfile
|
||||||
ADD Gemfile.lock /myapp/Gemfile.lock
|
ADD Gemfile.lock /myapp/Gemfile.lock
|
||||||
RUN gem install bundler -v 1.17.3
|
RUN gem install bundler
|
||||||
RUN bundle install
|
RUN bundle install
|
||||||
ADD . /myapp
|
ADD . /myapp
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ source "https://rubygems.org"
|
|||||||
|
|
||||||
gem "rails", "~> 8.0.0"
|
gem "rails", "~> 8.0.0"
|
||||||
|
|
||||||
ruby "3.3.6"
|
ruby "3.4.1"
|
||||||
|
|
||||||
gem "aruba"
|
gem "aruba"
|
||||||
gem "bcrypt"
|
gem "bcrypt"
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ RailsGoat is an intentionally insecure Rails application designed to teach web a
|
|||||||
- How to identify vulnerabilities through code review and testing
|
- How to identify vulnerabilities through code review and testing
|
||||||
- How to implement proper security controls and remediation strategies
|
- How to implement proper security controls and remediation strategies
|
||||||
|
|
||||||
**Current Version:** Rails 8.0 with Ruby 3.3.6
|
**Current Version:** Rails 8.0 with Ruby 3.4.1
|
||||||
|
|
||||||
## Vulnerabilities Included
|
## Vulnerabilities Included
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ For a complete list of vulnerabilities with detailed explanations and tutorials,
|
|||||||
|
|
||||||
### Prerequisites
|
### Prerequisites
|
||||||
|
|
||||||
- Ruby 3.3.6
|
- Ruby 3.4.1
|
||||||
- Git
|
- Git
|
||||||
- SQLite3 (included by default)
|
- SQLite3 (included by default)
|
||||||
- MySQL (optional, required for certain SQL injection demos)
|
- MySQL (optional, required for certain SQL injection demos)
|
||||||
|
|||||||
Reference in New Issue
Block a user