Skip to content

Commit

Permalink
PHP WAF New Version
Browse files Browse the repository at this point in the history
PHP WAF New Version
  • Loading branch information
alicangnll committed Jan 16, 2022
1 parent f6f79ad commit c18d25f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ function delip(id)
<input type="text" name="email" data-role="input" placeholder="E-Mail:">
<br>
<label>Token</label>
<input type="pasword" name="token" data-role="input" placeholder="Token:"> <br>
<input type="password" name="token" data-role="input" placeholder="Token:"> <br>
<input type="submit" value="Gönder" class="w3-button w3-red">
</form>';
break;
Expand All @@ -711,7 +711,7 @@ function delip(id)
if ($stmt->rowCount() > 0) {
$str = "0123456789";
$str = str_shuffle($str);
$str = substr($str, 0, 15);
$str = substr($str, 0, 10);
$password = sha1(md5($str));
$aliwaf->query("UPDATE admin_bilgi SET passwd = ".$aliwaf->quote($password)." WHERE email = ".$aliwaf->quote($email)."");
echo '<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down

0 comments on commit c18d25f

Please sign in to comment.