Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54220

Re: Tryign to send mail via a python script by using the local MTA

Date 2013-09-16 13:32 +0200
From Heiko Wundram <modelnine@modelnine.org>
Subject Re: Tryign to send mail via a python script by using the local MTA
References (7 earlier) <CAPTjJmpCFK3GB12OD-JMcf32QDTRd1OB8rvwRc5eBQcqEJNnbA@mail.gmail.com> <mailman.22.1379324445.18130.python-list@python.org> <l16jvk$r4u$1@news.grnet.gr> <mailman.23.1379325973.18130.python-list@python.org> <l16pkk$nf9$3@dont-email.me>
Newsgroups comp.lang.python
Message-ID <mailman.24.1379331724.18130.python-list@python.org> (permalink)

Show all headers | View raw


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 16.09.2013 13:21, schrieb Denis McMahon:
> If he's trying to prove communication works, he might be better off
> using a message subject of "test" and a message body of "this is a
> test message".

Generally, he might be best off if he didn't use os.system() with
string-interpolated (without escaping or any such) and user-specified
(!) parameters to send out the mail using mailx though a sub-shell.

This begs of using his mailer script for code injection as his
web-server user, and I'm amazed that nobody has commented on that so far.

- -- 
- --- Heiko.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSNuxTAAoJEDMqpHf921/Sd8IH/2BcapK/dNqbs/PDz3LZLiUS
JYYmNaWSjui7KYJsA/A8R3XVaM0eyHkYI8dr8Jx6hPdPJyeE27MCKddF3GlYs17Z
iO1AydR2J8kYjXgVLrCWtfH3taB6ryUko6sOe1j/u0hYbQOATxuBPvxTVK4Wmi85
1m8unw9NvlTelAREg6WLudqpE9i115dns87+FTNcgNd3ieppJw+Cv2Mp6z3Yn3he
y0W9yMqH1LV4oW/6arZVVIcaWDHCb1I0L++aC8JLnOHYz1osf+34BbHHBcY6Qkty
reon+sWKwrlJ56o8Zi1Lx97ymxXxuvUtJS/5WGpRh/XLWYVBGCX3XA42DKqscQk=
=xENG
-----END PGP SIGNATURE-----

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-15 08:54 -0700
  Re: Tryign to send mail via a python script by using the local MTA Joost Molenaar <j.j.molenaar@gmail.com> - 2013-09-15 20:59 +0200
    Re: Tryign to send mail via a python script by using the local MTA SuperHost - Nikos <nikos@superhost.gr> - 2013-09-15 23:56 +0300
  Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 07:31 +1000
  Re: Tryign to send mail via a python script by using the local MTA Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-15 17:57 -0400
  Re: Tryign to send mail via a python script by using the local MTA Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-16 01:52 +0000
    Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 09:44 +0300
    Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 09:29 +0200
      Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 11:04 +0300
    Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 17:44 +1000
    Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 17:46 +1000
    Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 10:07 +0200
    Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 18:12 +1000
    Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 10:12 +0200
    Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 18:19 +1000
    Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 10:43 +0200
    Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-16 18:48 +1000
    Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 11:40 +0200
      Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 12:45 +0300
        Re: Tryign to send mail via a python script by using the local MTA Joost Molenaar <j.j.molenaar@gmail.com> - 2013-09-16 12:06 +0200
          Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-16 11:21 +0000
            Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 14:37 +0300
              Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-16 13:44 +0200
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 15:11 +0300
                Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-16 14:17 +0200
                Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-16 14:56 +0200
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 18:02 +0300
                Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-16 19:09 +0000
                Re: Tryign to send mail via a python script by using the local MTA Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-16 17:07 -0400
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 00:18 +0300
                Re: Tryign to send mail via a python script by using the local MTA Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-09-16 23:41 +0000
                Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-17 12:46 +0200
                Re: Tryign to send mail via a python script by using the local MTA Grant Edwards <invalid@invalid.invalid> - 2013-09-17 14:37 +0000
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 18:17 +0300
                Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-17 16:30 +0000
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-18 00:42 +0300
                Re: Tryign to send mail via a python script by using the local MTA Chris Angelico <rosuav@gmail.com> - 2013-09-18 07:47 +1000
                Re: Tryign to send mail via a python script by using the local MTA William Ray Wing <wrw@mac.com> - 2013-09-17 18:34 -0400
                Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-18 05:20 +0000
                Re: Tryign to send mail via a python script by using the local MTA Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-18 18:31 -0400
                Re: Tryign to send mail via a python script by using the local MTA Dave Angel <davea@davea.name> - 2013-09-18 23:55 +0000
                Re: Tryign to send mail via a python script by using the local MTA Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-09-17 19:29 -0400
                Re: Tryign to send mail via a python script by using the local MTA Νίκος <nikos.gr33k@gmail.com> - 2013-09-21 12:21 +0300
                Re: Tryign to send mail via a python script by using the local MTA William Ray Wing <wrw@mac.com> - 2013-09-21 09:29 -0400
                Re: Tryign to send mail via a python script by using the local MTA alex23 <wuwei23@gmail.com> - 2013-09-23 11:17 +1000
                Re: Tryign to send mail via a python script by using the local MTA Piet van Oostrum <piet@vanoostrum.org> - 2013-09-17 22:58 -0400
                Re: Tryign to send mail via a python script by using the local MTA Joel Goldstick <joel.goldstick@gmail.com> - 2013-09-17 07:55 -0400
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 15:11 +0300
                Re: Tryign to send mail via a python script by using the local MTA Robert Kern <robert.kern@gmail.com> - 2013-09-17 13:51 +0100
                Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-17 14:52 +0200
                Re: Tryign to send mail via a python script by using the local MTA Jake Angulo <jake.angulo@gmail.com> - 2013-09-20 13:56 +1000
                Re: Tryign to send mail via a python script by using the local MTA feedthetroll@gmx.de - 2013-09-20 04:05 -0700
                Re: Tryign to send mail via a python script by using the local MTA Antoon Pardon <antoon.pardon@rece.vub.ac.be> - 2013-09-20 08:48 +0200
                Re: Tryign to send mail via a python script by using the local MTA Robert Kern <robert.kern@gmail.com> - 2013-09-20 10:26 +0100
                Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-17 14:22 +0200
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 19:15 +0300
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-16 19:23 +0300
                Re: Tryign to send mail via a python script by using the local MTA Denis McMahon <denismfmcmahon@gmail.com> - 2013-09-16 19:07 +0000
                Re: Tryign to send mail via a python script by using the local MTA William Ray Wing <wrw@mac.com> - 2013-09-16 13:53 -0400
                Re: Tryign to send mail via a python script by using the local MTA Ferrous Cranus <nikos.gr33k@gmail.com> - 2013-09-17 00:15 +0300
                Re: Tryign to send mail via a python script by using the local MTA Tim Chase <python.list@tim.thechases.com> - 2013-09-16 20:40 -0500
                Re: Tryign to send mail via a python script by using the local MTA feedthetroll@gmx.de - 2013-09-16 23:15 -0700
            Re: Tryign to send mail via a python script by using the local MTA Heiko Wundram <modelnine@modelnine.org> - 2013-09-16 13:32 +0200

csiph-web