Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function scan(ps, msg, src) {
- alertRisk = 0
- alertReliability = 3
- alertTitle = 'Login Atempt'
- alertDesc = 'Login information was found'
- alertSolution = ''
- cweId = 1
- wascId = 1
- body = msg.getRequestBody().toString();
- u = "username=";
- p = "password=";
- if ((body.indexOf(u) > -1) && (body.indexOf(p) > -1)){
- result = body;
- ps.raiseAlert(alertRisk, alertReliability, alertTitle, alertDesc, '', '', '', result, alertSolution, '', cweId, wascId, msg);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement