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

bash function does not support hidden input ? #717

Open
Firebasky opened this issue Jan 5, 2025 · 6 comments
Open

bash function does not support hidden input ? #717

Firebasky opened this issue Jan 5, 2025 · 6 comments
Labels
question Further information is requested

Comments

@Firebasky
Copy link

我测试了bash功能,发现不支持隐藏的密码输入。如 ssh 连接的时候,没有获取到密码输入。

@cfc4n
Copy link
Member

cfc4n commented Jan 5, 2025

@dosu

@cfc4n cfc4n added the question Further information is requested label Jan 5, 2025
Copy link

dosubot bot commented Jan 5, 2025

Hello, @cfc4n! I'm here to help you with any issues you're facing. If you need assistance with bugs, have questions, or want to become a contributor, I'm here to assist you while waiting for a human maintainer.

The ecapture tool includes a function called uretprobe_bash_readline that is designed to capture input from the bash readline function, which could potentially include hidden inputs like passwords. However, there might be limitations or specific conditions under which hidden inputs, such as those entered during an SSH session, are not captured. Unfortunately, there is no detailed documentation or comments in the codebase that explicitly address these limitations or capabilities regarding hidden inputs [1].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@cfc4n cfc4n changed the title bash功能不支持隐藏的输入? bash function does not support hidden input ? Jan 5, 2025
@cfc4n
Copy link
Member

cfc4n commented Jan 5, 2025

我测试了bash功能,发现不支持隐藏的密码输入。如 ssh 连接的时候,没有获取到密码输入。

Describe your problem in detail and give the test commands.

@Firebasky
Copy link
Author

我测试了bash功能,发现不支持隐藏的密码输入。如 ssh 连接的时候,没有获取到密码输入。

Describe your problem in detail and give the test commands.
我测试ssh 连接的时候,我输入了密码,但是获取不到
image

@cfc4n
Copy link
Member

cfc4n commented Jan 9, 2025

当前不支持shell里密码类型的捕获,你可以提个pr吗?

@yuweizzz
Copy link
Contributor

yuweizzz commented Jan 11, 2025

当使用 ssh 类似的程序时,密码输入应该已经由对应程序接管,probe shell 应该无法获取到输入了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants