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 files21
189569400/fofaRevision 2a1885733801

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

app/controllers/my_controller.rb

Ruby · 313 bytes
class MyController < ApplicationController
  before_filter :require_user
  layout "member"

  def index
    #@show_toolbar = true
    unless (current_user.key && current_user.key.size==32)
      require 'securerandom'
      key = SecureRandom.hex
      current_user.update_attribute(:key, key)
    end
  end

end