Other output on failed attempts
Any reason why exploit would yield:
"Failed to copy file: No such file or directory"
and/or
"./PwnKit: Permission denied"
You're probably running the exploit from a directory that you don't have permission to write to. I.e. if your current directory is / rather than /tmp
I tried /tmp on both. Weird.
On Sun, Jan 30, 2022 at 8:39 AM Oliver Lyak @.***> wrote:
You're probably running the exploit from a directory that you don't have permission to write to. I.e. if your current directory is / rather than /tmp
— Reply to this email directly, view it on GitHub https://github.com/ly4k/PwnKit/issues/1#issuecomment-1025146000, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEOO2N55OQL4YCIRVA4333UYU5SFANCNFSM5NDLKLFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
-- Thanks,
Chris Barretto
I have write permissions and I also get Failed to copy file: File exists
I get this error too. I can see it generates the .pkexec folder and associated files. I think the exploit is failing in this casse?
On Mon, Jan 31, 2022 at 4:26 AM Hugo Cartigny @.***> wrote:
I have write permissions and I also get Failed to copy file: File exists
— Reply to this email directly, view it on GitHub https://github.com/ly4k/PwnKit/issues/1#issuecomment-1025534730, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADEOO2NA7VSBJC4XPMXIIETUYZITBANCNFSM5NDLKLFA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID: @.***>
-- Thanks,
Chris Barretto
I get this error too
I think it's because /lib64/ld-linux-x86-64.so.2 doesn't exist on the filesystem