EvilZone

Programming and Scripting => Projects and Discussion => : Raavgo May 11, 2013, 03:53:10 AM

: FakeM Program Diary
: Raavgo May 11, 2013, 03:53:10 AM
Hey guys :)
I found a interesting Post in the  Section Evilzone-Releases about the program ShadowMail (http://evilzone.org/evilzone-releases/shadowmail).
This program is not bad and I liked it but it seems to have some weaknesses (e.g. not able to attach files, not able to save the settings, has to login into a smtp server). Thats why I decided to create a similar program which should have a similar function like the Fake Mailer Webpage (http://emkei.cz) I found.

What I would like to create is:
What tips can you give me?(GUI design. Books I should have read before coding, etc...)
What is the best language for this Program? (C, Python, Autohotkey, Visual Basic, Java)
Is there function you would like to add to my ideas?
What kind of knowledge do I have to have  beside coding (e.g. Cisco, Mysql)?

kind regards
Raavgo
: Re: I would like to code a program which is able to fake Mails
: Kulverstukas May 11, 2013, 07:07:14 AM
All that can be done with PHP and mail();. If you want to have an actual program, make a PHP backend and then a program, in C++ maybe, or Java... or any language, really, that would send POST/GET requests to your PHP backend and send mails that way.
I don't code in PHP so I can't help you there.
: Re: I would like to code a program which is able to fake Mails
: flowjob May 11, 2013, 11:38:01 AM
ShadowMail was an old one-time-use thing for a friend, that's why it's so basic..
I'm already working on a totally new and much more complexe client.


If you don't know any programming languages yet, I'd suggest python.
Creating complexe mails is quite easy with the standart library, and for basic
GUI Tkinter is more than enough...
: Re: I would like to code a program which is able to fake Mails
: Raavgo May 12, 2013, 03:18:18 PM
All that can be done with PHP and mail();. If you want to have an actual program, make a PHP backend and then a program, in C++ maybe, or Java... or any language, really, that would send POST/GET requests to your PHP backend and send mails that way.
I don't code in PHP so I can't help you there.


Thank you for your tipp :D
The only problem is you don't code in PHP neither do I.
Is there a possibility to code it in another language? (preferable java) 
or do you know a good tutorial for PHP?


If you don't know any programming languages yet, I'd suggest python.
Creating complexe mails is quite easy with the standart library, and for basic
GUI Tkinter is more than enough...


I am into C (mainly Microcontroller), Python and AutoHotkey (well thats more like a script language) but I decided I would like to write it in Java because I want to make it portable (Windows,Linux,Mac).

: Re: I would like to code a program which is able to fake Mails
: Kulverstukas May 12, 2013, 03:49:48 PM
It is possible in Java. You'd need to create a small mail servlet along with your program to send any mails. That wouldn't be a practical thing to do because almost all the time locally sent mail goes to spam in bigger mail providers.

Another solution would be to send POST requests to a website : http://www.webwizny.com/sendemail.php
So you'd have to create a GUI and stuff where the user fills in his information and then you send that information to the website which sends the actual mail. I am almost certain the mail from that website goes to the inbox.
: Re: I would like to code a program which is able to fake Mails
: xC May 13, 2013, 11:36:19 AM
This should get you started..

http://stackoverflow.com/questions/12301358/send-attachments-with-php-mail (http://stackoverflow.com/questions/12301358/send-attachments-with-php-mail)
: Re: I would like to code a program which is able to fake Mails
: Raavgo May 17, 2013, 04:08:38 PM
I am currently writing two versions of  the program (command line & GUI) and I've got some problems with the coding (I am new to Java).
Should I make a new thread somewhere or is this thread enough?





: Re: I would like to code a program which is able to fake Mails
: Kulverstukas May 17, 2013, 05:45:12 PM
You could use this thread. Just edit the title to better represent the content.
: Re: FakeM Program Diary
: Raavgo May 19, 2013, 12:10:26 AM
Alright I changed the Subject of the topic to Program Diary so I think its time for some documentation!

I found a name for the program: FakeM

What I plan to do is following:

Use case: FakeM 1.0 (command line)
Input[working]
   getHost -> string
   getLogin -> string
   getPassword -> string
   getFakeSender -> string
   getReciever -> string
   getSubject -> string
   read Message line by line -> store in array[max 100 lines]
   
Create Mail[]
   modify Header  [not working yet]
   attach Subject  [working]
   attach Message [not working yet]
   attach files [optional] (max 3) [not working yet]
   
Send [working]
   send to Host
   
   
Use Case: FakeM (GUI)
Create Mail[]
   get Input from GUI
   get Subject from GUI
   get Message from GUI
   modify Header
   attach Subject
   attach Message
   attach file [optional](disabled to prevent Script Kiddies from spamming Viruses or Trojans via Mail)
   
Send[]
   send to Host


If you have any kind of idea how to improve this program feel free to tell them :D


regards
Raavgo