File: blind_sql.php

package info (click to toggle)
wapiti 3.2.10%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,156 kB
  • sloc: python: 30,204; xml: 2,707; php: 1,267; sql: 1,183; sh: 444; javascript: 230; ruby: 47; makefile: 39
file content (12 lines) | stat: -rw-r--r-- 171 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
<?php
if (isset($_GET["vuln1"])) {
  if (substr($_GET["vuln1"], 0, 5) === "sleep") {
    sleep(2);
  }
}

if (isset($_GET["vuln2"])) {
  // false positive
  sleep(2);
}
?>