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

Possibility to temporary enable/disable password log? #16

Closed
andreddie81 opened this issue Jan 15, 2020 · 4 comments
Closed

Possibility to temporary enable/disable password log? #16

andreddie81 opened this issue Jan 15, 2020 · 4 comments

Comments

@andreddie81
Copy link

Hi,

Would it be possible to add the functionality to temporary enable/disable (self-disable) password log after certain given time?.

I have been having a look at your code but my Swift level is not the best.

Thanks.

@SkrewEverything
Copy link
Owner

Yes, it is possible.

Take a look at this example in Readme: https://github.com/SkrewEverything/Swift-Keylogger#example-of-viewcontrollerswift

In that example, the keylogger can be stopped or started with the press of a button. You can use that for your case. Instead of a button, use a timer to start or stop it.

Let me know if you need any help.

@Joshfindit
Copy link

Seems like a good opportunity for an OSX service as well: simply stop the service when you want it off, then start it again when you want it on.

@andreddie81
Copy link
Author

Hi thanks for your comments,

Maybe I have not expressed correctly what i was looking for. I was referring only to the ability of the keylogger to log passwords. I was wondering if this feature could be turned on and off, and if turned on, give it some kind of timer for auto-turn off.

Right now seems like this feature is not supported, the keylogger does not log passwords typed in the terminal. I have been having a look at the swift code and playing around with DisableSecureEventInput() function, without any success. But as i mentioned above, my Swift is limited.

Thanks!

@unknowndomain
Copy link

You cannot disable secure event input from a different application than the one that started it.

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

No branches or pull requests

4 participants