Quantcast
Channel: LeakedIn
Viewing all articles
Browse latest Browse all 5503

Potential leak of data: Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: def admitted_students end def current_students end def _add_admin end def admin @user = User.new end def create @user = User.new(first_name: params[:first_name], last_name: params[:last_name], email: params[:email]) @user.password = "123456789" @user.password_confirmation = "123456789" if @user.save redirect_to users_admin_path, notice: "User created successfully" else render 'admin' end end end Source: http://pastie.org/pastes/9701227/download

Viewing all articles
Browse latest Browse all 5503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>