Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
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
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
htdocs /
edgpens /
utility /
[ HOME SHELL ]
Name
Size
Permission
Action
agent.php
22.3
KB
-rw-rw-rw-
agent_detail.php
4.55
KB
-rw-rw-rw-
change_pass.php
11.65
KB
-rw-rw-rw-
declarationPage.php
18
KB
-rw-rw-rw-
email_setting.php
15.11
KB
-rw-rw-rw-
lawPage.php
17.76
KB
-rw-rw-rw-
menu_access.php
13.14
KB
-rw-rw-rw-
newsPage.php
17.76
KB
-rw-rw-rw-
repDaily.php
2.31
KB
-rw-rw-rw-
send_mail.php
10.15
KB
-rw-rw-rw-
send_sms.php
7.32
KB
-rw-rw-rw-
sms_setting.php
11.83
KB
-rw-rw-rw-
userList.php
29.25
KB
-rw-rw-rw-
userList_200422.php
19.69
KB
-rw-rw-rw-
userList_200423.php
18.53
KB
-rw-rw-rw-
userList_200630.php
19.67
KB
-rw-rw-rw-
userList_230312.php
27.34
KB
-rw-rw-rw-
userRole.php
10.22
KB
-rw-rw-rw-
userRole_230312.php
10.19
KB
-rw-rw-rw-
web_setting.php
17.71
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : send_mail.php
<?php if(empty($page)){ include("../access.php"); } ?> <?php $modal_name = str_replace("/", "-", $page); $idRoles = $_GET['idRoles']; ?> <!-- Blank Header --> <div class="content-header"> <div class="row"> <div class="col-sm-6"> <div class="header-section"> <h1><i class="fa fa-envelope"></i></i> E-MAIL</h1> </div> </div> <div class="col-sm-6 hidden-xs"> <div class="header-section"> <!-- <ul class="breadcrumb breadcrumb-top"> --> <!-- <li>Extra Pages</li> --> <!-- <li><a href="">Blank</a></li> --> <!-- </ul> --> </div> </div> </div> </div> <!-- END Blank Header --> <!-- Get Started Block --> <div class="block full"> <!-- Get Started Title --> <div class="block-title"> <h2>Send Mail</h2> </div> <!-- [QUERY_STRING] --> <?php use League\OAuth2\Client\Provider\Google; use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; use PHPMailer\PHPMailer\SMTP; use PHPMailer\PHPMailer\OAuth; require './vendor/autoload.php'; $success = 0; if($_POST): $mail = new PHPMailer(true); try { ob_start(); $sql = "SELECT `a`.`text`,b.* FROM kod_template a JOIN utiliti_email b WHERE 1 AND a.kod = 'E02'"; $param_data = array(); $datax = mysqli_prepare_all($sql,$param_type = "auto",$param_data); $template_text = $datax->fetch_assoc(); $url = $conf_fullweblink; $find = array( "%url%", "%text%", "%year%", "%templatename%"); $replace = array( $url, $_POST['msg'], date("Y"), $template['name'].' '.$template['version']); echo str_replace($find,$replace,$template_text['text']); $fileValue = ob_get_contents(); ob_end_clean(); // $mail->SMTPDebug = SMTP::DEBUG_SERVER; // Enable verbose debug output $mail->isSMTP(); // Send using SMTP $mail->SMTPOptions = array('ssl' => array('verify_peer_name' => false)); $mail->Host = gethostbyname($template_text['host']); $mail->SMTPAuth = $template_text['smtpauth']; $mail->SMTPSecure = $template_text['smtpsecure']; $mail->Port = $template_text['port']; $mail->Username = $template_text['username']; $mail->Password = $template_text['upass']; // $mail->AuthType = 'XOAUTH2'; // $oauthUserEmail = $template_text['username']; // $clientId = $template_text['cid']; // $clientSecret = $template_text['csecret']; // $refreshToken = $template_text['ctoken']; // $provider = new Google( // [ // 'clientId' => $clientId, // 'clientSecret' => $clientSecret, // ] // ); // $mail->setOAuth( // new OAuth( // [ // 'provider' => $provider, // 'clientId' => $clientId, // 'clientSecret' => $clientSecret, // 'refreshToken' => $refreshToken, // 'userName' => $oauthUserEmail, // ] // ) // ); $mail->setFrom($template_text['setfrom1'],$template_text['setfrom2']); $tot_address = count($_POST['list_mail']); for ($i=0; $i < $tot_address; $i++) { // $mail->addAddress("synz.izynz@gmail.com"); // Name is optional $mail->addBCC($_POST['list_mail'][$i]); } $mail->isHTML(true); // Set email format to HTML $mail->Subject = $_POST['subject']; $mail->Body = $fileValue; $mail->AltBody = 'This is the body in plain text for non-HTML mail clients'; $mail->send(); } catch (Exception $e) { // echo "Message could not be sent. Mailer Error: {$mail->ErrorInfo}"; } // if($success == 1){ // $_SESSION['success'] = 1; // $_SESSION['success_msg'] = $msg; // }else if($success == 2){ // $_SESSION['success'] = 2; // $_SESSION['success_msg'] = "OPS! SOMETHING WRONG"; // }else if($success == 3){ // $_SESSION['success'] = 3; // $_SESSION['success_msg'] = "RECORD DELETED!"; // } $success = 1; $_SESSION['success'] = 1; $_SESSION['success_msg'] = "Message has been sent."; endif; if($success){ echo "<script>window.location.replace('index.php?page=utility/send_mail&success={$success}');</script>"; exit(); } $param_data = array(); $comb1 = ""; $user = (isset($_GET['user'])) ? $_GET['user'] : '' ; $idrole = (isset($_GET['idrole'])) ? $_GET['idrole'] : '' ; ?> <div class="row"> <div class="col-md-12"> <div class="block"> <form method="post" class="form-horizontal form-bordered" id="form-validation"> <div class="form-group"> <label class="col-md-3 control-label" for="example-hf-email">Check By Roles</label> <div class="col-md-9"> <?php $stmt = $mysqli->stmt_init(); $stmt->prepare("SELECT * FROM user_roles ORDER BY idRoles"); $stmt->execute(); $result = $stmt->get_result(); $stmt->close(); while($ax = $result->fetch_assoc()){ ?> <div class="checkbox" style="display: inline-block;"> <label for="chk-<?php echo $ax['idRoles']; ?>" style="border-bottom-style: inset;border-bottom-width: medium;border-bottom-color: #e6e6e6;margin-right: 10px"> <input type="checkbox" id="chk-<?php echo $ax['idRoles']; ?>" name="chk" value="<?php echo $ax['nama']; ?>"> <?php echo $ax['nama']; ?> </label> </div> <?php } ?> </div> </div> <!-- --> <div class="form-group"> <label class="col-md-3 control-label" for="example-hf-email">To <span class="text-danger">*</span></label> <div class="col-md-9"> <select id="list_mail" name="list_mail[]" class="select-chosen validation validation_hidden" data-placeholder="Choose a Receiver.." multiple=""> <?php $stmt = $mysqli->stmt_init(); $stmt->prepare("SELECT a.idUser, a.emailUser, a.nameUser, a.mobileNo, b.nama FROM user_list a left join user_roles b on b.idRoles=a.idRoles WHERE a.flagUser = '1' AND a.emailUser != '' ORDER BY a.idRoles,a.nameUser"); $stmt->execute(); $result = $stmt->get_result(); $stmt->close(); while($ax = $result->fetch_assoc()){ if($grp!=$ax['nama']){ echo "<optgroup label='{$ax['nama']}'>"; $grp = $ax['nama']; } ?> <option value="<?php echo $ax['emailUser'];?>"><?php echo strtoupper($ax['nameUser']);?> ~ <?php echo strtoupper($ax['emailUser']);?></option> <?php } if($grp!=$ax['nama']){ echo "</optgroup>"; } ?> </select> </div> </div> <!-- --> <div class="form-group"> <label class="col-md-3 control-label" for="subject">Subject <span class="text-danger">*</span></label> <div class="col-md-9"> <input type="text" name="subject" class="form-control validation" data-validation="default" > </div> </div> <!-- --> <div class="form-group"> <label class="col-md-3 control-label" for="msg">Message <span class="text-danger">*</span></label> <div class="col-md-9"> <textarea name="msg" class="form-control validation" data-validation="default" ></textarea> </div> </div> <div class="form-group form-actions"> <div class="col-md-9 col-md-offset-3"> <button type="submit" class="btn btn-effect-ripple btn-primary" style="overflow: hidden; position: relative;">Submit</button> <button type="reset" class="btn btn-effect-ripple btn-danger" style="overflow: hidden; position: relative;">Reset</button> </div> </div> </form> </div> </div> </div> <style type="text/css"> </style> <script src="js/pages/formsValidation.js"></script> <script type="text/javascript"> $(document).ready(function(){ $.fn.custom_submit2 = function(){ var this_form = $(this); var cont = 0; $(".validation_hidden").each(function(){ var t_this = $(this); t_this.parent("div").find(".help-block").remove(); if(t_this.val() === "" || t_this.val() === null){ cont++; t_this.parents(".form-group").addClass("has-error"); t_this.parents(".form-group").find(".chosen-choices").addClass("has-error"); t_this.parent("div").append('<div class="help-block animation-pullUp" style="display: block;">This field is required.</div>'); }else{ t_this.parents(".form-group").removeClass("has-error"); t_this.parents(".form-group").find(".chosen-choices").removeClass("has-error"); } }); if(this_form.find(".has-error").length === 0 && this_form.find(".help-block").length === 0 && cont === 0){ setTimeout(function(){ if(confirm("Save This Record. Are You Sure?")){ this_form.unbind().submit(); } }, 100); }else{ $(this).find(".help-block").parents(".form-group").addClass("has-error"); setTimeout(function(){ $(this_form,document).find(".has-error").each(function(){ $(this,document).find("div").each(function(){ var tot_err = $(this).find(".help-block").length; var block_1 = $(this).find(".help-block").eq(0); $(this).find(".help-block").hide(); if(tot_err > 1){ $(this).find(".help-block").not(":first").remove(); } $(this).find(".help-block").show(); }); }); }, 100); } // setTimeout(function(){ // return 123; // }, 100); }; $("#form-validation").setvalidation2(); $("#form-validation").on("submit.validate",function(e){ $(this).custom_submit2(); e.preventDefault(); // console.log(asd); }); $("[name='chk']").on("click",function(){ var chkthis = $(this).prop("checked"); var chkval = $(this).val(); $("#list_mail").find("optgroup[label='"+chkval+"'] > option").prop("selected",chkthis); $("#list_mail").trigger("chosen:updated"); }); }); </script> </div>
Close