_________SWAT MAGAZINE ISSUE TWENTY SEVEN MARCH 2000 __________ / \___________________________________________/ \ / English to KLEET converter \ / brought to u by BDPUK \ ----------------------------------------------------------------------- i found this kewl script while searching through the internet and i think its making a pretty good encrytion tool instead of just an English to "kleet" convertor. the readme and script are included below: ***Readme*** --- --- /| ____ ____ ___________ \ / | / ___/ /___/ \_____ / \/ -- | | _| | _| / / / \ | | /____ | /____ / / / \ | \_____\ \_____\ / / --- --- --- /_/ v1.0 *********************************************** X1337 (or kleet...) is a fun little script to change regular text into "kleet" text. Obviously, it has no practical uses, but it is kind of fun. Anyway, here are the features and how to use them. NOTE: this was written and tested on Red Hat Linux 6.0, so if it doesn't work, it's because you don't have the right libraries. ************************************************ Usage: kleet <-i> <-o> | <-i> | <-o> | <-n> & <-e> | <-h> ************************************************ OPTIONS <-i> <-o> -- In this mode, text to be translated is taken from inputfile, translated, written to outputfile, and then printed to the screen <-i> -- In this mode, text to be translated is taken from inputfile, translated, and then printed to the screen <-o> -- In this mode, a simple "wordprocessor" (if you could call it that...) type thing is opened up. Type as much as you like, even press enter as much as you like (it will bring down the cursor to the next line). Also, the program will print the translated output of each line to the screen when you press enter, but then it will continue reading characters. Press ^D (or your operating system's equivalent) when you are finished. The program will output all translated text to the outputfile. <-n> -- This mode involves no files. Simply enter your message (in quotes, of course...) for . It will then print the translated text to the screen. Can't be used with the io, i, and o options, obviously. <-e> -- for , type any characters that you do not want to be translated. For example, upon issuing this command: "kleet -n "pheedback owns me" -e edb", it would exclude all e's, d's, and b's. Thus, instead of seeing this: "p#33|)84(X 0\/\//\/5 /\/\3", one would instead see: "p#eedb4(X 0\/\//\/5 /\/\e". You can do this with as many characters as you want. Hell, exclude the whole alphabet if you want, but it would sort of defeat the purpose of the program... <-h> -- Prints the "Usage" text that is displayed above the OPTIONS section. ***readme*** and now the source: ***script*** /* kleet.c */ /* kleet v1.0 */ /* X1337 1.2 read the readme (or read this source code...) to figure out how to use this */ #include #include #include #include void files(char *inputfile, char *outputfile, char *exclude); void filei(char *inputfile, char *exclude); void fileo(char *outputfile, char *exclude); void normal(char *message, char *exclude); char* normaltoleet(char ch); void printusage(void); int main(int argc, char *argv[]) { int o; int i; /* loop control for disclude checking loop */ char *inputfile=0; char *outputfile=0; char *message=0; char *exclude=0; if(argc<2) printusage(); while((o=getopt(argc, argv, "i:o:n:e:h"))!=EOF) { switch(o) { case 'i': inputfile=optarg; break; case 'o': outputfile=optarg; break; case 'n': message=optarg; break; case 'e': exclude=optarg; break; case 'h': printusage(); break; } } if(exclude) { for(i=0; i <-o> |<-i> |<-o> |<-n> &<-e> |<-h>"); exit(0); } ***script*** note i did not write this script nor do i claim to have writen this script! it was written by Pheedback on the AT&T mailist and all rights are reserved to him i just felt it was good enough to be sent into SWAT as the script is editable to make an encryption and decryption tool to send encoded emails. this was brought to u by BDPUK of the Welsh Sheep Hackerz .-. .-. / \ .-. .-. / \ / \ / \ .-. .-. / \ / \ -/-------\-------/-----\-----/---\----/---\-----/-----\-------/-------\- / \ / \ / `--' \ / \ / \ \ / `-' `-' \ / `-' BAABAABAABAABAABAABAABAABAABAABAA `-' _ _ \\___// | | (| x x |) Join the clan of the | v |__/\__/\__/\ deformed sheep and \ o / \ feel liberated!!!! \___/ i am a sheep \_ |____ ____ _____> http://www.theWSH.com | | | | BDPUK99@yahoo.com | | | | <__| <_|