AlexJ's Computer Science Journal

alexandru.juncu.ro

Monthly Archives: May 2012

[TechBlog] Exploiting environment variables

[Part 1 from ROSEdu Techblog] Environment variables are sometimes very important when creating new processes. For example, the PATH variable, that decides what executable to run. The easiest example to exploit PATH is to add the current directory . to the list and overwrite common shell commands with something else. $ cat ./ls echo P0wn3d […]