-
Notifications
You must be signed in to change notification settings - Fork 14k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add osx aarch64 exec payload #18646
Add osx aarch64 exec payload #18646
Conversation
3bd0c2b
to
4a6096a
Compare
end.join("\n") | ||
push_string += "\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
end.join("\n") | |
push_string += "\n" | |
end | |
push_string = push_string.join("\n") + "\n" |
Invoking a method on the end
keyword, even if correct, is a tad confusing when used outside of strings interpolation I think.
|
||
describe '#create_aarch64_string_in_stack' do | ||
context 'when the string is calc.exe' do | ||
it 'genearates the required stack' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it 'genearates the required stack' do | |
it 'generates the required stack' do |
end | ||
|
||
context 'when the string is /bin/bash -c "echo abcdef1234"' do | ||
it 'genearates the required stack' do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it 'genearates the required stack' do | |
it 'generates the required stack' do |
4a6096a
to
92edf01
Compare
92edf01
to
0848909
Compare
0848909
to
16bfa00
Compare
16bfa00
to
dbeeade
Compare
Release NotesAdd osx aarch64 exec payload. |
Adds a new
osx/aarch64/exec
payload that can execute arbitrary user provided commands via a execve system call on M1/M2/M3 Apple laptops.Verification
With arguments:
Executing: