Quantcast
Channel: Simple Password – LeakedIn
Viewing all articles
Browse latest Browse all 2663

Simple Password

$
0
0
Detected 1 occurrence(s) of ‘\s*pass[word]+\s*[:=]\s*[“‘][a-z0-9\-_\!\$]+[“‘]': ittest class FlaskTestCase(unittest.TestCase): #ensure that login works with correct credentials def test_correct_login(self): tester = app.test_client(self) response = tester.post( '/login', data = dict(username="test@gmail.com", password="test"), follow_redirects=True ) self.assertIn(b'you are logged in', response.data) @app.route('/login', methods=['POST', 'GET']) def login(): login_form = LoginForm() signup_form = SignupForm() error_login = '' error_signup = '' # Source: http://pastebin.com/raw.php?i=NDN7p3Hp

Viewing all articles
Browse latest Browse all 2663

Trending Articles