Copy Link
Add to Bookmark
Report

Phrack Inc. Volume 03 Issue 27 File 08

eZine's profile picture
Published in 
Phrack Inc
 · 5 years ago

  

==Phrack Inc.==

Volume Three, Issue 27, File 8 of 12

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
<><><><> <><><><>
<><><> Sending Fake Mail In Unix <><><>
<><> <><>
<> by Dark OverLord <>
<><> <><>
<><><> May 26, 1989 <><><>
<><><><> <><><><>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>


Here is a shell script that can be use to send fakemail from any Unix system.
Have fun and stay out of trouble.


-Dark Overlord

-=-=-=-=-=-=-=-=-=-=-=-=-= Cut here -=-=-=-=-=-=-=-=-=-=-=-=-=
! /bin/sh
#Mfakemail - A shell script to send fakemail.
#M##M#Met up the path.
PATH=/usr/ucb:/bin:$HOME/Bin
#Marse the command line
case $ in
0)echo "USAGE: user@host [ from@somewhere ] [ mailer_host ]" >& 2
exit 1
;;
1)mailto=$1
from="person@campus"
mailerhost=localhost
;;
2)mailto=$1
from=$2
mailerhost=localhost
;;
3)mailto=$1
from=$2
mailerhost=$3
;;
*)echo "USAGE: user@host [ from@somewhere ] [ mailer_host" >& 2
exit 1
;;
esac
#Mreate a header for sendmail
cat <<E!O!F!> /tmp/cli$$
helo $mailerhost
mail from:$from<$from>
rcpt to: $mailto <$mailto>
data
From: $from
To: $mailto
Subject:
Status: RO


E!O!F!
#Mdit the mailer
vi /tmp/cli$$
#Mdd a ending for the mailer
cat <<E!O!F!>> /tmp/cli$$
.
quit
E!O!F!
#Monnect to the remote host's sendmail daemon
telnet $mailerhost smtp < /tmp/cli$$
#Mlean up time
/bin/rm -f /tmp/cli$$
_______________________________________________________________________________

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT