Junke1990 Posted July 26, 2017 Share Posted July 26, 2017 Is there an easy way to detect whether the screen is locked or not? Quote Link to comment Share on other sites More sharing options...
AGD Posted July 26, 2017 Share Posted July 26, 2017 You can use powershell: https://gallery.technet.microsoft.com/scriptcenter/Get-Remote-Logon-Status-d8c2318a Quote Link to comment Share on other sites More sharing options...
Dave-ee Jones Posted July 27, 2017 Share Posted July 27, 2017 8 hours ago, AGD said: You can use powershell: https://gallery.technet.microsoft.com/scriptcenter/Get-Remote-Logon-Status-d8c2318a ... You can't run Powershell on a computer if it is locked. I believe he is talking about seeing if a machine is locked when the Bunny is plugged in so the Bunny can decide what to do next, like trying to run Powershell if it ISN'T locked. Quote Link to comment Share on other sites More sharing options...
ldopanda Posted July 27, 2017 Share Posted July 27, 2017 which OS ? Quote Link to comment Share on other sites More sharing options...
Junke1990 Posted July 27, 2017 Author Share Posted July 27, 2017 9 hours ago, quentin.lamamy said: which OS ? Windows, at least at first, do have Linux but no OSX in house Quote Link to comment Share on other sites More sharing options...
ldopanda Posted July 27, 2017 Share Posted July 27, 2017 i need to mount a VB to check? Which kind of payload do you want to code ? Quote Link to comment Share on other sites More sharing options...
Junke1990 Posted July 27, 2017 Author Share Posted July 27, 2017 10 minutes ago, quentin.lamamy said: i need to mount a VB to check? Which kind of payload do you want to code ? My question is, is it possible to detect if a Windows (XP SP3+) Machine is locked. Regardless of the payload, I want to be able to automate more thus detect in code if it is locked. I could make 2 payloads, locked and unlocked but I would like to combine that into 1. Quote Link to comment Share on other sites More sharing options...
ldopanda Posted July 27, 2017 Share Posted July 27, 2017 You have to know that because of security reason a lot of bash function and some functionality are disable when a screen is locked (if you put the BB when is locked and not before), and more thing are disable when session is closed. Â Quote Link to comment Share on other sites More sharing options...
Junke1990 Posted July 27, 2017 Author Share Posted July 27, 2017 14 minutes ago, quentin.lamamy said: You have to know that because of security reason a lot of bash function and some functionality are disable when a screen is locked (if you put the BB when is locked and not before), and more thing are disable when session is closed. Â that doesn't answer my question, is it possible to detect it, yes or no, and if so, how? Quote Link to comment Share on other sites More sharing options...
ldopanda Posted July 27, 2017 Share Posted July 27, 2017 like i said think it's possible but i need to go back home and mount a VM and search a way yo do this. My post was just a reminder :) Quote Link to comment Share on other sites More sharing options...
Junke1990 Posted July 27, 2017 Author Share Posted July 27, 2017 4 minutes ago, quentin.lamamy said: like i said think it's possible but i need to go back home and mount a VM and search a way yo do this. My post was just a reminder :) ow! I thought you were bullshitting me "i need to mount a VB to check? " mounting visual Basic? :P Thanks for the effort! Quote Link to comment Share on other sites More sharing options...
ldopanda Posted July 27, 2017 Share Posted July 27, 2017 VB stand for virtual box, but i should use VM to be understandable. Sorry Quote Link to comment Share on other sites More sharing options...
Junke1990 Posted July 27, 2017 Author Share Posted July 27, 2017 35 minutes ago, quentin.lamamy said: VB stand for virtual box, but i should use VM to be understandable. Sorry You just made me feel old...xD Quote Link to comment Share on other sites More sharing options...
ldopanda Posted July 27, 2017 Share Posted July 27, 2017 Just now, Junke1990 said: You just made me feel old...xD why ? Quote Link to comment Share on other sites More sharing options...
Junke1990 Posted July 27, 2017 Author Share Posted July 27, 2017 VB used to stand for VisualBasic, possible years ago Quote Link to comment Share on other sites More sharing options...
ldopanda Posted July 27, 2017 Share Posted July 27, 2017 2 minutes ago, Junke1990 said: VB used to stand for VisualBasic, possible years ago it's a kindof mistake to use VB instead of VM, VB stand for Visual Basic the great one not VB.Net \o/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.