D0R4H4X0R SH3LL
Server Information
Server: |
Microsoft-IIS/10.0 |
System: |
Windows NT BH-PLESK-WEB3 10.0 build 20348 (Windows Server 2022) AMD64 |
User: |
IWPD_8556(lensai) ( 0 ) |
PHP Version: |
8.3.21 |
Python Version: |
Python is not available |
Disabled Functions: | , Cron, Curl, Ftp, GCC, Mail, Mysql, PKEXEC, Perl, Python, SendMail, Ssh, Wget, exec, passthru, shell_exec, system |
Features
Command Line
Find Longest Directory Path
Scan New PHP Files
Current File : D:/INETPUB/VHOSTS/lensai.com/httpdocs/admin/mail/test/fakesendmail.sh
#!/usr/bin/env bash
#Fake sendmail script, adapted from:
#https://github.com/mrded/MNPP/blob/ee64fb2a88efc70ba523b78e9ce61f9f1ed3b4a9/init/fake-sendmail.sh
#Create a temp folder to put messages in
numPath="${TMPDIR-/tmp/}fakemail"
umask 037
mkdir -p $numPath
if [ ! -f $numPath/num ]; then
echo "0" > $numPath/num
fi
num=`cat $numPath/num`
num=$(($num + 1))
echo $num > $numPath/num
name="$numPath/message_$num.eml"
while read line
do
echo $line >> $name
done
exit 0
D0R4H4X0R SH3LL