Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

module "implant.pam" error

See original GitHub issue

Bug Description

when i execute the module "implant.pam him returns an error

pwncat version

$ pwncat-cs --version

Target System (aka “victim”)

the targets are the machine “admirertoo” in hackthebox and my own machine, in both i have the same error

my machine specifications

$ uname -a       
Linux kali2 5.8.0-kali2-amd64 #1 SMP Debian 5.8.10-1kali1 (2020-09-22) x86_64 GNU/Linux

Steps to Reproduce

Steps to reproduce the behavior:

  1. after getting a root shell, execute:
run implant.pam password=s3cr3ts
  1. Get the error: pwncat1

Expected Behavior

The execution of the module without error.


These screenshots are a continuation of the error commented on in topic 2 of “steps to reproduce”. pwncat2-3 pwncat3-3

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

sierghartcommented, Feb 20, 2022

sorry @calebstewart , probably i expressed of a manner in that i left some things out

the /snap shows because i retired the grep of the command find to see if him returns something, when i did this, the /snap has been shown

then, i understand that the is running In a way that the command find don’t returns the /usr/lib/x86_64-linux-gnu/security only the /snap/core18/2284/lib/x86_64-linux-gnu/security

what i go say now probably is wrong, because i don’t understand ed the functionality behind the code…

i guess that the problem is in how the the find command. because how i showed in the last commentary, when i execute the module (that execute the find with he only returns the /snap/, when i change to shell in pwncat the and execute the find in shell, the /usr/lib/x86_64-linux-gnu/security is showed

calebstewartcommented, Feb 20, 2022

Sorry, I merged the PR, which auto-closed this issue. 👀

I’ll see if I can get this replicated on my end. For the record, the exit code you would get from that shell command would be the exit code from grep not find, but it should still be valid. I’m not sure why it’s failing. It’s even more odd that @sierghart 's output shows a /snap/ entry when grep should have filtered that out. Very weird.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · calebstewart/pwncat - GitHub
'authorized_keys' implant should check perms on the .ssh dir (and maybe chmod them) enhancement New feature or request. #260 opened on Jun 29...
Read more >
3Shape Study Group | Can someone help with this error | Facebook
Pam Rehm. It's a 2020 glitch, when you finish and close out it doesn't ... I heard something about this being a new...
Read more >
SiRFIDaL - Simple RFID authentication for Linux
But of course it means rewriting the PAM module and changing the ... the user is to set their implant UID to unlock...
Read more >
Authentication token manipulation error - Softpanorama
Try to simplify PAM excluding modules one by one. is known to cause this error is you put it in a wrong...
Read more >
Hundreds May Need to Undergo Surgery to Have Faulty ...
These findings are alarming when compared to the expected failure rate for cochlear implants which is less than one percent.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found