[ News ] [ Paper Feed ] [ Issues ] [ Authors ] [ Archives ] [ Contact ]


..[ Phrack Magazine ]..
.:: Sending Fakemail In Unix ::.

Issues: [ 1 ] [ 2 ] [ 3 ] [ 4 ] [ 5 ] [ 6 ] [ 7 ] [ 8 ] [ 9 ] [ 10 ] [ 11 ] [ 12 ] [ 13 ] [ 14 ] [ 15 ] [ 16 ] [ 17 ] [ 18 ] [ 19 ] [ 20 ] [ 21 ] [ 22 ] [ 23 ] [ 24 ] [ 25 ] [ 26 ] [ 27 ] [ 28 ] [ 29 ] [ 30 ] [ 31 ] [ 32 ] [ 33 ] [ 34 ] [ 35 ] [ 36 ] [ 37 ] [ 38 ] [ 39 ] [ 40 ] [ 41 ] [ 42 ] [ 43 ] [ 44 ] [ 45 ] [ 46 ] [ 47 ] [ 48 ] [ 49 ] [ 50 ] [ 51 ] [ 52 ] [ 53 ] [ 54 ] [ 55 ] [ 56 ] [ 57 ] [ 58 ] [ 59 ] [ 60 ] [ 61 ] [ 62 ] [ 63 ] [ 64 ] [ 65 ] [ 66 ] [ 67 ] [ 68 ] [ 69 ] [ 70 ]
Current issue : #27 | Release date : 1989-05-20 | Editor : Taran King
Phrack Inc. XXVII IndexKnight Lightning & Taran King
Operating The IBM VM/SP CPTaran King
Introduction To MIDNET: Chapter Seven Of The FTSKnight Lightning
NUA List For Datex-P And X.25 NetworksOberdaemon
COSMOS: COmputer System for Mainframe OperationS (Part Two)King Arthur
Looking Around In DECnetDeep Thought
The Making Of A HackerFramstag
Sending Fakemail In UnixDark OverLord
The Postal Inspection ServiceVendetta
Phrack World News XXVII Part 1Knight Lightning
Phrack World News XXVII Part 2Knight Lightning
Phrack World News XXVII Part 3Knight Lightning
Title : Sending Fakemail In Unix
Author : Dark OverLord
                                ==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$$
_______________________________________________________________________________
[ News ] [ Paper Feed ] [ Issues ] [ Authors ] [ Archives ] [ Contact ]
© Copyleft 1985-2021, Phrack Magazine.