Fixed bug, where assignment hints did not get displayed.

This commit is contained in:
Bene-Notebook 2018-11-27 11:18:40 +01:00 committed by Nanne Baars
parent 09baecb3e9
commit 98a32c7cdf
2 changed files with 3 additions and 3 deletions

View File

@ -20,8 +20,8 @@ public class SqlInjectionLesson10 extends AssignmentEndpoint {
@RequestMapping(method = RequestMethod.POST) @RequestMapping(method = RequestMethod.POST)
public public
@ResponseBody @ResponseBody
AttackResult completed(@RequestParam String action) { AttackResult completed(@RequestParam String action_string) {
return injectableQueryAvailability(action); return injectableQueryAvailability(action_string);
} }
protected AttackResult injectableQueryAvailability(String action) { protected AttackResult injectableQueryAvailability(String action) {

View File

@ -285,7 +285,7 @@
<table> <table>
<tr> <tr>
<td><label>Action contains:</label></td> <td><label>Action contains:</label></td>
<td><input name="action" value="" type="TEXT"/></td> <td><input name="action_string" value="" type="TEXT"/></td>
</tr> </tr>
<tr> <tr>
<td><button type="SUBMIT">Search logs</button></td> <td><button type="SUBMIT">Search logs</button></td>