dbattack_test.js 399 B

1234567891011121314
  1. console.log("Try to attack auth database");
  2. //Try to reate an user admin with password "admin"
  3. var x = writeDBItem("auth","admin","c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec")
  4. //Should return false
  5. console.log(x)
  6. var y = dropDBTable("auth");
  7. //Should return false
  8. console.log(y)
  9. sendResp("Attack Test Done");