telot Posted March 25, 2012 Share Posted March 25, 2012 (edited) Thats right and heres how I did it: opkg update opkg install --dest usb ssmtp Modify /usb/etc/ssmtp/ssmtp.conf with these instructions (for gmail at least). I used the SSL port of 465 instead of 587 for TLS - I dunno, it didn't work with TLS for some reason... ln -s /usb/etc/ssmtp /etc Then echo -e "From: MYEMAIL@MYDOMAIN.COM\nSubject: SUBJECT\nReply-to: MYEMAIL@MYDOMAIN.COM\n\nBODYHERE" | ssmtp -vvv MYOTHEREMAIL@MYDOMAIN.COM And badda boom badda bing, email in my inbox. Why you should care: How about having a cron job to run a script that emails you reports at certain intervals? How about if you're tcpdumping all packets on the pineapple and are waiting for a user to go to their company website and login. Write a script that greps out that URL from urlsnarf.log and emails you so you know to check your capture file How about monitoring your pineapple inconspiciously in public (class, meetings, out to dinner with your wife and inlaws) because all you're doing is innocently checking your email? Thats the big one for me - its just so commonplace to quick take a glance at a new email on your phone. Much more socially acceptable than staring at a pineapple status page that looks well...hackerish with its black background, green and white text...it looks like something a hacker would enjoy...and I do! But with the emailed status you're just checking the latest TPS reports real quick ya know? Hope you all enjoy, I will surely share some scripts for emailing reports once created and hope you do the same EDIT: Command to send urlsnarf log: ssmtp -v email@example.com < /www/pineapple/urlsnarf.log telot Edited March 29, 2012 by telot Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.