<?php $con = mysql_connect("localhost","fazia_newadmin","salonspa!@#") or die("Could not Connect");mysql_select_db("fazia_newdb", $con); //$con = mysql_connect("localhost","root","") or die("Could not Connect");//mysql_select_db("salon", $con);extract($_REQUEST);//if(eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email))//{//$regex = '/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/'; //if (preg_match($regex, $email)) {if(filter_var($email, FILTER_VALIDATE_EMAIL)){ $sql = "select * from user where email_id='$email'"; $rsd = mysql_query($sql); $msg = mysql_num_rows($rsd); echo $msg; } else { echo "invalid"; } //echo $msg;//returns 0 if not already exist ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/dTLt7
function name: (null)
number of ops: 14
compiled vars: !0 = $con
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
1 0 E > INIT_FCALL_BY_NAME 'mysql_connect'
1 SEND_VAL_EX 'localhost'
2 SEND_VAL_EX 'fazia_newadmin'
3 SEND_VAL_EX 'salonspa%21%40%23'
4 DO_FCALL 0 $1
5 ASSIGN ~2 !0, $1
6 > JMPNZ_EX ~2 ~2, ->9
7 > > EXIT 'Could+not+Connect'
8* BOOL ~2 <true>
9 > INIT_FCALL_BY_NAME 'mysql_select_db'
10 SEND_VAL_EX 'fazia_newdb'
11 SEND_VAR_EX !0
12 DO_FCALL 0
13 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
175.64 ms | 1397 KiB | 13 Q