Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QUERY_STRING='This is my query string'
- #include <stdio.h>
- #include <stdlib.h>
- void main (int argc, char *argv[])
- {
- printf("%sn", getenv("QUERY_STRING"));
- }
- mantis@toboggan /testing/cgi_download/temp $ echo $QUERY_STRING; ./a.out
- This is my query string.
- Segmentation fault
- mantis@toboggan /testing/cgi_download/temp $
- Linux toboggan 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement