Previous Thread
Next Thread
Print Thread
Rate Thread
#17119 07/02/06 04:05 PM
Joined: Jul 2006
Posts: 12
Slyce Offline OP
Junior Member
OP Offline
Junior Member
Joined: Jul 2006
Posts: 12
I need to be able to make it so the user's response(s) are emailed to me, 'behind the scenes' so to say. wink I know how to make their input a character array and all that easy jazz, but I have no idea on how to make it so the responses are emailed to me. Someone told me to try to pipe the commands into telnet, but that wouldn't let the responses change and be emailed. (right?) I can telnet an email,:
Code
telnet mail.mycbsi.com 25
220 pbrane.mycbsi.net ESMTP Postfix
helo x
250 pbrane.mycbsi.net
mail from: [email protected]
250 Ok
rcpt to: [email protected]
250 Ok
data
354 Please start mail input.
This is a test.
.
250 Mail queued for delivery.
quit
221 Closing connection. Good bye. 
That worked just fine, but I had to type all of the commands in. That I know of, there is no way to automate the commands in, and even more so, turn the echo off for that. I don't have to telnet in, that's just the only thing I've tried. Anyone have any ideas or any knowledge that I lack? pray


I don't hack. I simply test security, free of charge.

www.slyce.tk/
#17120 07/03/06 03:03 AM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Well, you could try having webhosting and have a php script interpret items submitted to it... that way your cpp program sends data to the php script and it just does all the parsing... At least thats semi simple to setup :x...

I'm not sure in sending mail from cpp, i know you'd have to have access to a smtp server to send out, but there aren't many that allow a non-passworded send...


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#17121 07/03/06 02:33 PM
Joined: Jul 2006
Posts: 12
Slyce Offline OP
Junior Member
OP Offline
Junior Member
Joined: Jul 2006
Posts: 12
Thanks, but I've never worked with php before... is it time to brush up?

And I know of an smtp server that allows non passworded send, I used it in my first post^^
Thanks


I don't hack. I simply test security, free of charge.

www.slyce.tk/
#17122 07/03/06 04:24 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
Ahh, well, you CAN use SMTP, make sure they allow it, but hey to each their own...

PHP isn't too difficult, the mail function itself is at:
http://us2.php.net/manual/en/ref.mail.php


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner
#17123 07/03/06 05:12 PM
Joined: Jul 2006
Posts: 12
Slyce Offline OP
Junior Member
OP Offline
Junior Member
Joined: Jul 2006
Posts: 12
Ok, I'll look into it and get back to you on success. Thanks!


I don't hack. I simply test security, free of charge.

www.slyce.tk/
#17124 07/05/06 02:52 PM
Joined: Jul 2006
Posts: 12
Slyce Offline OP
Junior Member
OP Offline
Junior Member
Joined: Jul 2006
Posts: 12
--EDIT--
Ok, thanks. The guy I'm programing this with suggested perl. I looked into php, and you were right, it is pretty simple. The only problem is, regardless of if we use perl or php, is we still need to know how to send data over/to the internet through C++. More importantly, being able to have the user dictate the data that is sent. Any ideas?


I don't hack. I simply test security, free of charge.

www.slyce.tk/
#17125 07/05/06 08:39 PM
Joined: Feb 2002
Posts: 7,203
Likes: 11
Community Owner
Offline
Community Owner
Joined: Feb 2002
Posts: 7,203
Likes: 11
PHP and Perl are pretty straight forward, however PHP is more streamlined and is what I'd recommend.

And with PHP what you'd do is set it to use GET requests, and have your C++ ap send to a url (perhaps code a tiny web browser into it), you'd have the PHP app just read what comes out and return a "your submission is succuessful" message.

I could have a php script configured for you, but I don't code for free ($75/hr) and I'd need to have all the fields known when I started... Not sure how long it'd take as it'd depend on how many fields and how you'd like the mail to look... It should be simple enough, especially with what is displayed to your "browser" (the built in web browser in your cpp app).


Donate to UGN Security here.
UGN Security, Back of the Web, and VNC Web Services Owner

Link Copied to Clipboard
Member Spotlight
Posts: 30
Joined: June 2002
Forum Statistics
Forums41
Topics33,840
Posts68,858
Average Daily Posts1
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Where and how do you torrent?
by danni75 - 03/01/24 05:58 AM
Animation,
by JohanKaariainen - 08/15/19 01:18 AM
Blackbeard.....
by Gremelin - 10/03/18 07:02 PM
my old account still exists!
by Crime - 08/10/18 02:47 PM
Okay WTF?
by HenryMiring - 09/27/17 01:45 AM
The History Thread...
by Gremelin - 08/11/17 12:11 PM
My friend NEEDS your HELP!
by Lena01 - 07/21/17 12:06 AM
I'm having fun with this guy.
by gabithompson730 - 07/20/17 01:50 AM
I want to upgrade my phone
by gabithompson730 - 07/20/17 01:49 AM
Doom 3
by Cyrez - 09/11/14 08:58 PM
Amazon Gift Card Generator/KeyGen?te
by Gecko666 - 08/22/14 09:21 AM
AIM scene 99-03
by lavos - 09/02/13 08:06 AM
Planetside 2
by Crime - 03/04/13 07:10 AM
Beta Testers Wanted
by Crime - 03/04/13 06:55 AM
Hello Everyone
by Gremelin - 02/12/12 06:01 PM
Tracfone ESN Generator
by Zanvin Green - 01/18/12 01:31 PM
Python 3 issue
by Testing - 12/17/11 09:28 PM
tracfone airtime
by Drache86 - 07/30/11 03:37 AM
Backdoors and the Infinite
by ZeroCoolStar - 07/10/11 03:52 AM
HackThisZIne #12 Releaseed!
by Pipat2 - 04/28/11 09:20 PM
gang wars? l33t-wars?
by Gremelin - 04/28/11 05:56 AM
Consolidate Forums
by diggin2deep - 04/21/11 10:02 AM
LAN Hacking Noob
by Gremelin - 03/12/11 12:42 AM
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Crime 1
Ice 1
Dartur 1
Cyrez 1
Powered by UBB.threads™ PHP Forum Software 7.7.5