mirror of
https://github.com/badsectorlabs/copyfail-go.git
synced 2026-05-16 06:30:10 +00:00
feat: ✨ add support for armv7
- Updated .goreleaser.yaml to include armv7 builds. - Added new shellcode payloads for armv7l - Enhanced build-n-print.sh to support building payloads for armv7l architecture. - Updated README.md with instructions for compiling payloads on Debian systems.
This commit is contained in:
parent
131f7d1842
commit
9f4e4936ec
6 changed files with 140 additions and 3 deletions
|
|
@ -29,6 +29,12 @@ user@host$ ./copyfail-go --backup /tmp/su --exec ./your-binary
|
|||
user@host$ # Use whatever you ran to restore su from /tmp/su
|
||||
```
|
||||
|
||||
## Don't trust those hex blobs?
|
||||
|
||||
Compile the payloads yourself with `payloads/build-n-print.sh` on a Debian host (Debian 13 tested).
|
||||
|
||||
You'll need to `apt install nasm python3 binutils-aarch64-linux-gnu binutils-arm-linux-gnueabihf` then run the script from in the payloads directory. It will compile each payload and output the zlib compressed hex strings. Compare those to what is in `main.go` (or replace them with your own) and build the `copyfile-go` binaries with `goreleaser build --snapshot --clean` from the main project directory.
|
||||
|
||||
## Affected kernels (from [copy-fail-c](https://github.com/tgies/copy-fail-c/tree/main#affected-kernels))
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue