Skip to content

Add Linux LoongArch64 chmod payload#21238

Open
bcoles wants to merge 1 commit intorapid7:masterfrom
bcoles:loongarch64-chmod
Open

Add Linux LoongArch64 chmod payload#21238
bcoles wants to merge 1 commit intorapid7:masterfrom
bcoles:loongarch64-chmod

Conversation

@bcoles
Copy link
Copy Markdown
Contributor

@bcoles bcoles commented Apr 6, 2026

Verification

$ ./msfvenom -p linux/loongarch64/chmod FILE=/tmp/asdf MODE=777 -f elf -o chmod.elf && chmod +x chmod.elf 
[-] No platform was selected, choosing Msf::Module::Platform::Linux from the payload
[-] No arch selected, selecting arch: loongarch64 from the payload
No encoder specified, outputting raw payload
Payload size: 48 bytes
Final size of elf file: 168 bytes
Saved as: chmod.elf
$ /home/user/qemu/build/qemu-loongarch64 -strace ./chmod.elf 
3129433 fchmodat(AT_FDCWD,"/tmp/asdf",0777,0) = 0
3129433 exit(0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants