Quantcast
Channel: pastebin.com – LeakedIn
Viewing all articles
Browse latest Browse all 2834

Potential leak of data: Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*["'][a-z0-9\-_\!\$]+["']‘: ecurity user_datastore = SQLAlchemyUserDatastore(db, User, Role) security = Security(app, user_datastore) # Create a user to test with @app.before_first_request def create_user(): db.create_all() user_datastore.create_user(email='matt@nobien.net', password='password') db.session.commit() # Views @app.route('/') #@login_required def home(): password = encrypt_password('mypassword') print verify_password('mypassword', password) return password # return render_template('index.html') if __name__ == '_ Source: http://pastebin.com/raw.php?i=JPfXfK41

Viewing all articles
Browse latest Browse all 2834

Trending Articles