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\-_\!\$]+["']‘: describe('POST /signup', function () { it('should redirect to "/account" if the form is valid', function (done) { var post = { givenName: 'Barrack', familyName: 'Obama', email: 'Bob@bob.com', password: 'secret' }; request(app) .post('/signup') .set('Content-Type', 'application/json') .send(post) .expect(302) .end(function (err, res) { should.not.exist(err); // confirm the redirect res.head Source: http://pastebin.com/raw.php?i=gmvkcTkk

Viewing all articles
Browse latest Browse all 2834

Trending Articles