We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f460d29 commit 589a1aeCopy full SHA for 589a1ae
vuln_apps/src/userdata.php
@@ -11,7 +11,7 @@
11
$conn = new MongoClient('mongodb://127.0.0.1');
12
$db = $conn->appUserData;
13
$collection = $db->users;
14
- $search = $_GET['usersearch'];
+ $usersearch = $_GET['usersearch'];
15
$js = "function () { var query = '". $usersearch . "'; return this.username == query;}";
16
print $js;
17
print '<br/>';
@@ -45,4 +45,4 @@
45
<?php echo $result; ?>
46
</div>
47
</body>
48
-</html>
+</html>
0 commit comments