mlibre2 Posted September 4 Posted September 4 (edited) myLogin 🛡️ Hey guys, I've been working lately on a project developed directly from my GitHub repo. I'm optimizing it as much as possible, minimizing false positives. Feel free to try it out with complete confidence 🤖 Simple open-source program to lock the Windows Desktop screen with advanced options: Disables the desktop while the lock window is active Prevents normal system use Only unlocks with a password set by the administrator Edited September 12 by mlibre2 added tags and screenshot argumentum 1 myLogin 🛡️
argumentum Posted September 4 Posted September 4 Func _getHash($sInput) $sHash = _Crypt_HashData($sInput, $CALG_SHA_512) $sInput = "" ; clear Return _Crypt_HashData($sHash, $CALG_MD5) ; 128-bit EndFunc Good 1st post, cool So..., why hash the hash, with a grater possibility of collision hash ? The 512 is good as is. What's the idea behind it ? Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
mlibre2 Posted September 5 Author Posted September 5 Thanks, yes, good observation, I'm aware of that, the purpose of why md5 is to make it shorter in case a parameter is used it tends to be very long if it wasn't. myLogin 🛡️
argumentum Posted September 5 Posted September 5 ...then use crc32, is even shorter I'd go with the 512. No one would ( haven't run the code, just looked at it in the browser ) brute force the login screen, quite unlikely. There is no reason to have to type a hash. You enter the password and if that's not it, ..that is not it. Anyway, if you press ctrl+alt+delete you can override the password, right ? Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
mlibre2 Posted September 5 Author Posted September 5 Ok, I'll keep that in mind, as for the key combination, I implemented a method that temporarily suspends the explorer without killing it, preventing you from opening the start menu, running commands from the task manager. argumentum 1 myLogin 🛡️
WildByDesign Posted September 8 Posted September 8 I got a chance to test myLogin (3.6) on Windows 11 and I just wanted to confirm that your existing blur method worked perfectly. I did not end up having to add anything to your code. argumentum and mlibre2 1 1
mlibre2 Posted September 9 Author Posted September 9 @WildByDesign Thanks for testing, I confirmed it. WildByDesign 1 myLogin 🛡️
rcmaehl Posted September 9 Posted September 9 What if I forget my password? My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated. My Projects WhyNotWin11, MSEdgeRedirect Cisco Finesse, Github, IRC UDF, WindowEx UDF
argumentum Posted September 9 Posted September 9 ...reboot ? Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
rcmaehl Posted September 9 Posted September 9 2 minutes ago, argumentum said: ...reboot ? I mean GitHub says to have to run on startup with starts it auto-locked My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated. My Projects WhyNotWin11, MSEdgeRedirect Cisco Finesse, Github, IRC UDF, WindowEx UDF
mlibre2 Posted September 9 Author Posted September 9 6 minutes ago, rcmaehl said: What if I forget my password? In that scenario, when setting up autorun, you can enter safe mode without an interface until you reach the console, navigate to where the script is and modify the parameter in the config.ini file, leaving the PassHash key blank and then you can generate another one. 15 minutes ago, argumentum said: ...reboot ? It's not so easy to avoid it myLogin 🛡️
argumentum Posted September 9 Posted September 9 (edited) ... a friend once told me to kill myself and stop complaining. ...I never did kill myself... This is a nice looking toy. I'd use it if I had to but I don't see a scenario where I can't just lock the PC with "Win + L". At times I make a "service VM" where it logs in by itself to run stuff as user from the desktop, then lock the desktop ( or not, is a VM ) Again, is a nice looking script and does what it claims. I did wonder why the convoluted "PassHash" setup but if you got that far, you know what you're doing, so is a good deterrent, to avoid the "click-click-ers" and shoot themselves in the foot. Edited September 9 by argumentum English Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
mlibre2 Posted September 9 Author Posted September 9 This method would be a deterrent alternative for those who know and are aware of the vulnerability of being able to bypass the user's password, with the typical command net users nameUser * This script adds an additional layer of security argumentum 1 myLogin 🛡️
rcmaehl Posted September 9 Posted September 9 (edited) I wonder if @guinness remembers a similar program from their pre-MVPdeveloper PortableFreeware days. Granted that was... nearly 16 years ago. Edit: Oh yeah, they're a dev now Edited September 9 by rcmaehl My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated. My Projects WhyNotWin11, MSEdgeRedirect Cisco Finesse, Github, IRC UDF, WindowEx UDF
mlibre2 Posted September 11 Author Posted September 11 New release available v3.7 argumentum 1 myLogin 🛡️
argumentum Posted September 11 Posted September 11 #pragma compile(Icon, C:\Program Files\AutoIt3\Icons\au3.ico) the portable exe does not show an icon mlibre2 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
mlibre2 Posted September 11 Author Posted September 11 8 hours ago, argumentum said: #pragma compile(Icon, C:\Program Files\AutoIt3\Icons\au3.ico) the portable exe does not show an icon If I tell you a curious fact... since I started testing the script on builds >= 22000 "windows 11", I get this problem: "unable to add resources", so I decided to remove that directive and insert the icon using the /icon parameter directly when compiling, but I made a typo in the workflow and the icon was not included. It should be corrected for future versions. argumentum 1 myLogin 🛡️
mlibre2 Posted September 12 Author Posted September 12 New release available v3.8 argumentum 1 myLogin 🛡️
spudw2k Posted September 12 Posted September 12 What drove you to change the LockWorkStation API function from a DllCall to using rundll32.exe? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
mlibre2 Posted September 12 Author Posted September 12 10 hours ago, spudw2k said: What drove you to change the LockWorkStation API function from a DllCall to using rundll32.exe? Since the explorer is suspended, it usually takes a few milliseconds to unlock, so if the session is blocked before then, the screen goes black and unresponsive. I assume this is because the API is running too quickly; therefore, I changed the methodology, giving me more time to execute the action. myLogin 🛡️
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now