Skip to content
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 support for PPID spoofing #12736

Open
wants to merge 9 commits into
base: master
from

Update payload_inject.rb

  • Loading branch information
phra committed Dec 17, 2019
commit 664b196388656cf05d83189f612cebaa702a11f8
@@ -77,6 +77,8 @@ def exploit
if datastore['PPID'] and not has_pid?(datastore['PPID'])
print_error("Process #{datastore['PPID']} was not found")
return false
elsif datastore['PPID']
print_status("Spoofing PPID #{datastore['PPID']}")
end

unless arch_check(@payload_arch, proc.pid)
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.