Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.136.18.169
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
demo /
qptran /
[ HOME SHELL ]
Name
Size
Permission
Action
admin
[ DIR ]
drwxr-xr-x
cgi-bin
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
PDF-Corrections-UG-Dec-11-Jan-...
35.27
KB
-rwxr-xr-x
___________________login.php
2.11
KB
-rwxr-xr-x
__userfunctions.php
5.87
KB
-rwxr-xr-x
_userfunctions.php
5.81
KB
-rwxr-xr-x
access-denied.php
905
B
-rwxr-xr-x
auth.php
258
B
-rwxr-xr-x
change_password1.php
1.11
KB
-rwxr-xr-x
changepass.php
3.79
KB
-rwxr-xr-x
collinfo_popup.css
5.97
KB
-rwxr-xr-x
collinfo_popup.js
11.62
KB
-rwxr-xr-x
config.php
193
B
-rwxr-xr-x
footer.php
298
B
-rwxr-xr-x
header.php
1.02
KB
-rwxr-xr-x
index.html
382
B
-rwxr-xr-x
jquery.min.js
93.54
KB
-rwxr-xr-x
link.php
225
B
-rwxr-xr-x
login-exec.php
2.04
KB
-rwxr-xr-x
login-failed.php
872
B
-rwxr-xr-x
login.php
4.11
KB
-rwxr-xr-x
login09022017.php
4.08
KB
-rwxr-xr-x
login_old.php
22.01
KB
-rwxr-xr-x
loginygen.php
95
B
-rwxr-xr-x
logout.php
853
B
-rwxr-xr-x
qptran.sql
5.05
KB
-rwxr-xr-x
send_info_sheet.php
13.74
KB
-rwxr-xr-x
style.css
2.09
KB
-rwxr-xr-x
userfunctions.php
6.72
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : send_info_sheet.php
<?php require_once('auth.php'); ?> <? include("header.php"); ?> <?php function VerifyForm(&$values, &$errors) { if (strlen($values['collegecode']) < 3) $errors['collegecode'] = 'Center code should be Max Four Characters'; if (strlen($values['collegecode']) == 0) $errors['collegecode'] = 'Required Field'; if (strlen($values['collegecode']) > 4) $errors['collegecode'] = 'Center code should not be greater than Four Characters'; if (strlen($values['registrationcode']) == 0) $errors['registrationcode'] = 'Required Field'; if (strlen($values['examtype']) == 0) $errors['examtype'] = 'Required Field'; if (strlen($values['collegename']) == 0) $errors['collegename'] = 'Required Field'; if (strlen($values['username']) == 0) $errors['username'] = 'Required Field'; if (strlen($values['password']) == 0) $errors['password'] = 'Required Field'; if ((strlen($values['password'])) != (strlen($values['confirmpassword']))) $errors['confirmpassword'] = 'Confirm Password should be same as Password'; if (strlen($values['confirmpassword']) == 0) $errors['confirmpassword'] = 'Required Field'; if (strlen($values['location']) == 0) $errors['location'] = 'Required Field'; if (!ereg('.*@.*\..{2,4}', $values['email'])) $errors['email'] = 'Email ID Invalid'; if (strlen($values['email']) == 0) $errors['email'] = 'Required Field'; if (strlen($values['mobile']) == 0) $errors['mobile'] = 'Required Field'; return (count($errors) == 0); } function DisplayForm($values, $errors) { ?> <?php if (count($errors) > 0) ?> <style type="text/css"> <!-- .style2 {font-family: Georgia; padding-left:5px;} .style4 {color: #000000; padding-left:5px;} .style6 {color: #000000; font-family: Georgia; padding-left:5px;} --> </style> <div class="cont"> <p> </p> <div style="width:800px; height:30px; text-align:center; margin:0 auto; padding-top:10px;"> <h3> <strong>Information Sheet of Examination Centres</strong></h3> <p> </p></div> <!--- Header Over --> <? $id=$_SESSION['SESS_MEMBER_ID']; ?> <form name="form1" action="<?= $_SERVER['PHP_SELF'] ?>" method="POST"> <table width="552" border="0" align="center" cellpadding="4" cellspacing="1"> <tr> <td width="441"></td> <td width="39" height="36" style="padding-left:5px;"><a href="userfunctions.php">Back</a></td> <td width="44" height="36" style="padding-left:5px;"><a href="logout.php">Logout</a></td> </tr> </table> <table width="552" border="0" align="center" cellpadding="4" cellspacing="1" bordercolor="#999999" bgcolor="#999999"> <tr> <td width="131" height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Exam Center Code</font></div></td> <td width="350" height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><input type="text" name="collegecode" size="30" value="<?= htmlentities($values['collegecode']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /> </font> <span class="error_msg"><?= $errors['collegecode'] ?></span> </td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Registration Code</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="2"> <input type="text" name="registrationcode" size="30" value="<?= htmlentities($values['registrationcode']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['registrationcode'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">No. of Attached Colleges </font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><span style="color: #000000"> <select name="examtype" value="<?= htmlentities($values['examtype']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; color: #000000; background-color:#F8F7FD"> <option value=''>Select Exam Type</option> <option value="UG">UG</option> <option value="PG">PG</option> <option value="PARA">PARA</option> </select> <span class="error_msg"><?= $errors['examtype'] ?></span></span> </td> </tr> <tr> <td height="36" colspan="2" bgcolor="#f4f2f3" style="padding-left:5px;">* Examination centres are directed to collate information related to attached colleges and forward the same as per the enclosed Format - 2</td> </tr> <tr> <td height="36" colspan="2" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="center"><strong>Principal's Information</strong></div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Exam Center Name</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="collegename" size="30" value="<?= htmlentities($values['collegename']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['collegename'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Designation</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="designation" size="30" value="<?= htmlentities($values['designation']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['designation'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Username</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="username" size="30" value="<?= htmlentities($values['username']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['username'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Password</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="password" size="30" value="<?= htmlentities($values['password']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['password'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Confirm Password</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="confirmpassword" size="30" value="<?= htmlentities($values['confirmpassword']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['confirmpassword'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Location</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="location" size="30" value="<?= htmlentities($values['location']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['location'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">E-Mail</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="email" size="30" value="<?= htmlentities($values['email']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['email'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Phone Number</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="phone" size="30" value="<?= htmlentities($values['phone']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">Moblie Number</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="mobile" size="30" value="<?= htmlentities($values['mobile']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /></font> <span class="error_msg"><?= $errors['mobile'] ?></span> </div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"><font size="2" style="padding-left:5px;">FAX Number</font></div></td> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"><div align="left"> <font size="3" face="Verdana, Arial, Helvetica, sans-serif"> <input type="text" name="fax" size="30" value="<?= htmlentities($values['fax']) ?>" style="border:1px solid #000000; font-family: Verdana; font-size: 12px; background-color:#F8F7FD" /> </font></div></td> </tr> <tr> <td height="36" bgcolor="#f4f2f3" style="padding-left:5px;"> </td> <td height="36" valign="middle" bgcolor="#f4f2f3" style="padding-left:5px;"><input type="image" src="images/submit.jpg" name="submit"/> <a href="javascript:document.form1.reset()"><img src="images/reset.jpg" border="0" alt="Reset" /></a></td> </tr> </table> </form> <?php } function ProcessForm($values) { ?> <? include('link.php'); $collegecode=$_REQUEST['collegecode']; $registrationcode=$_REQUEST['registrationcode']; $examtype=$_REQUEST['examtype']; $collegename=$_REQUEST['collegename']; $location=$_REQUEST['location']; $email=$_REQUEST['email']; $username=$_REQUEST['username']; $password=$_REQUEST['password']; $confirmpassword = $_REQUEST['confirmpassword']; $designation = $_REQUEST['designation']; $phone=$_REQUEST['phone']; $mobile=$_REQUEST['mobile']; $fax=$_REQUEST['fax']; //$dateTime = new DateTime("now", new DateTimeZone('Europe/Warsaw')); //echo $dateTime->format("d-m-Y H:i:s"); $dtRegistered = date('d-m-Y H:i:s'); //echo"DATE :".$dtRegistered; $status ='enable'; $query1="SELECT * FROM usertable WHERE collegecode='$collegecode'"; $result1=mysql_query($query1) or die("Query 1 Failed".mysql_error()); $num=mysql_num_rows($result1); if($num <= 0) { $query="INSERT INTO usertable SET collegecode='$collegecode',registrationcode='$registrationcode', examtype='$examtype', username='$username', password='$password', confirmpassword='$confirmpassword', designation='$designation', collegename='$collegename', location='$location',phone='$phone', mobile='$mobile', email='$email', designation='$designation', fax='$fax',dtRegistered='$dtRegistered', status='$status'"; $result=mysql_query($query) or die("Query Failed".mysql_error()); ?> <table width="600" height="300" border="0" align="center" cellpadding="2" cellspacing="1"> <tbody> <tr> <td class="Display_msg"> <div align="center">Center details added successfully in the Database.</div></td> </tr> </tbody> </table> <meta http-equiv="refresh" content="3; url=adduser.php"> <? } else { ?> <table width="600" height="300" border="0" align="center" cellpadding="2" cellspacing="1"> <tbody> <tr> <td height="20" class="Display_msg"> <div align="center">Center code <? $collegecode ?> already exists in the Database.<br /> <br /> </div> <div align="center">PLEASE WAIT FOR A MOMENT....</div></td> </tr> </tbody> </table> <meta http-equiv="refresh" content="2; url=adduser.php"> <? } } if ($_SERVER['REQUEST_METHOD'] == 'POST') { $formValues = $_POST; $formErrors = array(); if (!VerifyForm($formValues, $formErrors)) DisplayForm($formValues, $formErrors); else ProcessForm($formValues); } else DisplayForm(null, null); ?> <p> </p> <p> </p> <? include("footer.php"); ?>
Close