Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
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
/
var /
www /
html /
osticket /
upload /
scp /
[ HOME SHELL ]
Name
Size
Permission
Action
apps
[ DIR ]
drwxr-xr-x
css
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
admin.inc.php
2.77
KB
-rw-r--r--
admin.php
70
B
-rw-r--r--
ajax.php
15.5
KB
-rw-r--r--
apikeys.php
5.44
KB
-rw-r--r--
audits.php
939
B
-rw-r--r--
autocron.php
2.32
KB
-rw-r--r--
banlist.php
7.15
KB
-rw-r--r--
canned.php
8.51
KB
-rw-r--r--
categories.php
7.2
KB
-rw-r--r--
dashboard.php
1.75
KB
-rw-r--r--
departments.php
13.45
KB
-rw-r--r--
directory.php
797
B
-rw-r--r--
emails.php
3.77
KB
-rw-r--r--
emailsettings.php
1.32
KB
-rw-r--r--
emailtest.php
5.49
KB
-rw-r--r--
export.php
757
B
-rw-r--r--
faq.php
6.7
KB
-rw-r--r--
filters.php
6.83
KB
-rw-r--r--
forms.php
6.82
KB
-rw-r--r--
helptopics.php
11.05
KB
-rw-r--r--
index.php
548
B
-rw-r--r--
kb.php
1.05
KB
-rw-r--r--
lists.php
8.39
KB
-rw-r--r--
login.php
3.7
KB
-rw-r--r--
logo.php
1.32
KB
-rw-r--r--
logout.php
1.12
KB
-rw-r--r--
logs.php
2.25
KB
-rw-r--r--
orgs.php
4.86
KB
-rw-r--r--
pages.php
6.75
KB
-rw-r--r--
plugins.php
2.05
KB
-rw-r--r--
profile.php
2.06
KB
-rw-r--r--
pwreset.php
2.99
KB
-rw-r--r--
queues.php
3.65
KB
-rw-r--r--
roles.php
5.84
KB
-rw-r--r--
schedules.php
2.49
KB
-rw-r--r--
settings.php
2
KB
-rw-r--r--
slas.php
6.07
KB
-rw-r--r--
staff.inc.php
4.83
KB
-rw-r--r--
staff.php
8.79
KB
-rw-r--r--
system.php
772
B
-rw-r--r--
tasks.php
9.96
KB
-rw-r--r--
teams.php
5.93
KB
-rw-r--r--
templates.php
9.04
KB
-rw-r--r--
tickets.php
23.35
KB
-rw-r--r--
upgrade.php
3.32
KB
-rw-r--r--
users.php
9.03
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : emailtest.php
<?php /********************************************************************* emailtest.php Email Diagnostic Peter Rotich <peter@osticket.com> Copyright (c) 2006-2013 osTicket http://www.osticket.com Released under the GNU General Public License WITHOUT ANY WARRANTY. See LICENSE.TXT for details. vim: expandtab sw=4 ts=4 sts=4: **********************************************************************/ require('admin.inc.php'); include_once(INCLUDE_DIR.'class.email.php'); include_once(INCLUDE_DIR.'class.csrf.php'); if($_POST){ $errors=array(); $email=null; if(!$_POST['email_id'] || !($email=Email::lookup($_POST['email_id']))) $errors['email_id']=__('Select from email address'); if(!$_POST['email'] || !Validator::is_valid_email($_POST['email'])) $errors['email']=__('Valid recipient email address required'); if(!$_POST['subj']) $errors['subj']=__('Subject required'); if(!$_POST['message']) $errors['message']=__('Message required'); if(!$errors && $email){ if($email->send($_POST['email'],$_POST['subj'], Format::sanitize($_POST['message']), null, array('reply-tag'=>false))) { $msg=Format::htmlchars(sprintf(__('Test email sent successfully to <%s>'), $_POST['email'])); Draft::deleteForNamespace('email.diag'); } else $errors['err']=sprintf('%s - %s', __('Error sending email'), __('Please try again!')); }elseif($errors['err']){ $errors['err']=sprintf('%s - %s', __('Error sending email'), __('Please try again!')); } } $nav->setTabActive('emails'); $ost->addExtraHeader('<meta name="tip-namespace" content="emails.diagnostic" />', "$('#content').data('tipNamespace', '".$tip_namespace."');"); require(STAFFINC_DIR.'header.inc.php'); $info=array(); $info['subj']='osTicket test email'; $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); ?> <form action="emailtest.php" method="post" class="save"> <?php csrf_token(); ?> <input type="hidden" name="do" value="<?php echo $action; ?>"> <h2><?php echo __('Test Outgoing Email');?></h2> <table class="form_table" width="940" border="0" cellspacing="0" cellpadding="2"> <thead> <tr> <th colspan="2"> <em><?php echo __('Use the following form to test whether your <strong>Outgoing Email</strong> settings are properly established.'); ?> <i class="help-tip icon-question-sign" href="#test_outgoing_email"></i></em> </th> </tr> </thead> <tbody> <tr> <td width="120" class="required"> <?php echo __('From');?>: </td> <td> <select name="email_id"> <option value="0">— <?php echo __('Select FROM Email');?> —</option> <?php $sql='SELECT email_id,email,name,smtp_active FROM '.EMAIL_TABLE.' email ORDER by name'; if(($res=db_query($sql)) && db_num_rows($res)){ while(list($id,$email,$name,$smtp)=db_fetch_row($res)){ $selected=($info['email_id'] && $id==$info['email_id'])?'selected="selected"':''; if($name) $email=Format::htmlchars("$name <$email>"); if($smtp) $email.=' ('.__('SMTP').')'; echo sprintf('<option value="%d" %s>%s</option>',$id,$selected,$email); } } ?> </select> <span class="error">* <?php echo $errors['email_id']; ?></span> </td> </tr> <tr> <td width="120" class="required"> <?php echo __('To');?>: </td> <td> <input type="text" size="60" name="email" value="<?php echo $info['email']; ?>" autofocus> <span class="error">* <?php echo $errors['email']; ?></span> </td> </tr> <tr> <td width="120" class="required"> <?php echo __('Subject');?>: </td> <td> <input type="text" size="60" name="subj" value="<?php echo $info['subj']; ?>"> <span class="error">* <?php echo $errors['subj']; ?></span> </td> </tr> <tr> <td colspan=2> <div style="padding-top:0.5em;padding-bottom:0.5em"> <em><strong><?php echo __('Message');?></strong>: <?php echo __('email message to send.');?></em> <span class="error">* <?php echo $errors['message']; ?></span></div> <textarea class="richtext draft draft-delete" name="message" cols="21" rows="10" style="width: 90%;" <?php list($draft, $attrs) = Draft::getDraftAndDataAttrs('email.diag', false, $info['message']); echo $attrs; ?>><?php echo $draft ?: $info['message']; ?></textarea> </td> </tr> </tbody> </table> <p style="text-align:center;"> <input type="submit" name="submit" value="<?php echo __('Send Message');?>"> <input type="reset" name="reset" value="<?php echo __('Reset');?>"> <input type="button" name="cancel" value="<?php echo __('Cancel');?>" onclick='window.location.href="emails.php"'> </p> </form> <?php include(STAFFINC_DIR.'footer.inc.php'); ?>
Close