PwnKit icon indicating copy to clipboard operation
PwnKit copied to clipboard

Other output on failed attempts

Open barrett092 opened this issue 4 years ago • 6 comments

Any reason why exploit would yield:

"Failed to copy file: No such file or directory"

and/or

"./PwnKit: Permission denied"

barrett092 avatar Jan 29 '22 21:01 barrett092

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

ly4k avatar Jan 30 '22 13:01 ly4k

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

barrett092 avatar Jan 30 '22 14:01 barrett092

I have write permissions and I also get Failed to copy file: File exists

BlueskyFR avatar Jan 31 '22 09:01 BlueskyFR

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

barrett092 avatar Jan 31 '22 13:01 barrett092

I get this error too

JesseGuerrero avatar Apr 08 '22 22:04 JesseGuerrero

I think it's because /lib64/ld-linux-x86-64.so.2 doesn't exist on the filesystem

FuzzyLitchi avatar Jun 21 '22 14:06 FuzzyLitchi