One Hat Cyber Team
Your IP :
216.73.216.115
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
vo
/
public_html
/
kats
/
View File Name :
pw.php3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> <HTML> <HEAD> <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=koi8-r"> <TITLE></TITLE> </HEAD> <BODY> <? include("auth.php3"); mysql_connect("",$user,$password); $result=mysql_db_query("conference","select * from kats2000pw where id='$id'"); if (mysql_num_rows($result)){ $p=mysql_result($result,0,"pw"); echo "Access code exists<BR>"; } else { mt_srand((double)microtime()*1000000); $p=dechex($id); if(strlen($p)==1){$p="0$p";} $p=$p.chr(mt_rand(97,122)); $p=$p.chr(mt_rand(97,122)); $p=$p.chr(mt_rand(97,122)); $p=$p.chr(mt_rand(97,122)); $p=$p.chr(mt_rand(97,122)); $p=$p.chr(mt_rand(97,122)); $result=mysql_db_query("conference", "insert into kats2000pw values ('$id','$p')"); if($result) {echo "Access code set<BR>";} else{ echo "error"; } } //sending e-mail $result=mysql_db_query("conference","select * from kats2000 where id='$id'"); $r=mysql_fetch_array($result); $lastname=$r["lastname"]; $email=$r["email"]; $subj="Your Katsiveli2000 access code"; $headers="From: Katsiveli Conference <kats2000@imath.kiev.ua>"; $message="Dear prof. $lastname;\n Please, find below your access code which is used to enter your registration information at http://www.imath.kiev.ua/~skolyada/regis_01.php3\n Your access code is: $p\n You can correct or update your information any time. Please, keep it up to date. For more information about the Conference, see http://www.imath.kiev.ua/~skolyada/kats2000.html or contact us by e-mail: kats2000@imath.kiev.ua"; //echo "$email<br>"; //echo "$subj<br>"; //echo "$message<br>"; //echo "$headers<br>"; $ok=mail($email,$subj,$message,$headers); if($ok){echo "Mail sent successfully<br>";} else{echo "Error sending e-mail<BR>";} ?> <a href="regis_01.php3">Register Now</a> | <a href="kats2000.html">Conference homepage</a> </BODY> </HTML>