Exploit database

GH-633f01891148734bdb0e00180fb214e7

189569400/fofa

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2014-3120

19 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files3
189569400/fofaRevision 2a1885733801

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

app/models/merit/point_rules.rb

Ruby · 858 bytes
# Be sure to restart your server when you modify this file.
#
# Points are a simple integer value which are given to "meritable" resources
# according to rules in +app/models/merit/point_rules.rb+. They are given on
# actions-triggered, either to the action user or to the method (or array of
# methods) defined in the +:to+ option.
#
# 'score' method may accept a block which evaluates to boolean
# (recieves the object as parameter)

module Merit
    class PointRules
    include Merit::PointRulesMethods

    def initialize
      #score 15, :on => 'registrations#create'

      # score 10, :on => 'users#update' do
      #   user.name.present?
      # end
      #
      # score 15, :on => 'reviews#create', :to => [:reviewer, :reviewed]
      #
      # score 20, :on => [
      #   'comments#create',
      #   'photos#create'
      # ]
    end
  end
end