Hack Forums
[Shell] File to Email Sender - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] File to Email Sender (/showthread.php?tid=5654001)



File to Email Sender - ip99.ga - Jun 23, 2017

Hello there,

How do you make a batch file that when executed, it sends a file from their PC to my email?

Thanks in advance!


* - Sajuuk - Jun 24, 2017

https://emkei.cz/

Fill the existing fields with VBScript/JavaScript or learn a more advanced language that supports networking.


* - Sphere of Madness - Jul 20, 2017

You need 3rd tool like blat.net

Powershell scripts like:

stackoverflow.com/questions/36355271/how-to-send-email-with-powershell

or

ss64.com/ps/send-mailmessage.html

.vbs also can do the trick but i dont like it :)


* - Hackoo - Jul 21, 2017

(Jul 20, 2017 02:56 PM)Sphere of Madness Wrote:  .vbs also can do the trick but i dont like it :)

You should like it 😉 😝




I did a few years ago a HTA with vbscript to send email via gmail and some other stuff (French version) but, i don't know if this version will work on the new system or not ?

[Image: type]


http://www.mediafire.com/file/5cgf154yqxr86r6/Mailing-BBcode_Editor-Merlin.rar


* - Sphere of Madness - Jul 22, 2017

Ok i found and tested this .vbs script :)

If you use Google SMTP server you need allow access to less secure apps or wont work.
(google.com/settings/u/2/security/lesssecureapps)

Sender.vbs @ pastebin.com/f5mBLRTg


* - zask - Aug 1, 2017

I would prefer using a ftp server instead, works fine with just vbscript alone.


* - Sphere of Madness - Aug 3, 2017

I prefer steal whole HDD but this is not the question...