execl("/bin/sh", "sh", "-c", sessioncommand.c_str(), 0);
Quite easy to fix:
execl("/bin/sh", "sh", "-c", sessioncommand.c_str(), (char*)0);
a programmer's thoughts
execl("/bin/sh", "sh", "-c", sessioncommand.c_str(), 0);
execl("/bin/sh", "sh", "-c", sessioncommand.c_str(), (char*)0);
| Reactions: |
0 comments:
Post a Comment