php - ctf question @md5 What does it mean?
某草草
某草草 2017-06-23 09:11:18
0
3
857

ctf question @md5 What does it mean

<?php
$md51 = md5('QNKCDZO');
$a = @$_GET['a'];
$md52 = @md5($a);
if(isset($a)){
if ($a != 'QNKCDZO' && $md51 == $md52) {
    echo "nctf{*****************}";
} else {
    echo "false!!!";
}}
else{echo "please input a";}
?>
某草草
某草草

reply all(3)
世界只因有你

In php, @ is the symbol to ignore errors. If you have an error in the line with the @ symbol, the error will not be displayed on the web page. MD5 is an encryption function in php.

迷茫

@In PHP, it means to ignore warning level errors thrown by the statements following it in the current line.

代言

md5 is a PHP function, see PHP documentation-md5() for details.
@ means ignoring errors in subsequent expressions. For details, see PHP documentation - Error Control Operator

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template