Vulnerability Development mailing list archives
Re: argc issue
From: 3APA3A <3APA3A () SECURITY NNOV RU>
Date: Thu, 25 May 2006 20:36:43 +0400
Dear padre () correo ugr es, --Tuesday, May 23, 2006, 9:51:58 PM, you wrote to vuln-dev () securityfocus com: pcue> int main (int argc, char **argv) pcue> But the main issue is " if (argc) exit(0);" . How can I change the argc pcue> variable so it contais the value of 0?. you can set argc of 0 with execl(app, NULL); but your chances to control argv[1] are very low. In most implementations your argv[1] will be last NULL record from envp array. You can try to play with envp though. -- ~/ZARAZA http://www.security.nnov.ru/
Current thread:
- argc issue padre (May 25)
- RE: argc issue Chris Eagle (May 26)
- Re: argc issue 3APA3A (May 26)
- Re: argc issue Valdis . Kletnieks (May 26)
- Re: argc issue mike davis (May 26)
- Re: argc issue jlongs2 (May 29)