bitsadmin / fakelogonscreen

Fake Windows logon screen to steal passwords
BSD 3-Clause "New" or "Revised" License
1.29k stars 231 forks source link

Request #4

Closed Zagreus9723 closed 3 years ago

Zagreus9723 commented 3 years ago

How can I change where the user.db file is stored?

bitsadmin commented 3 years ago

At this moment there is no such functionality implemented, so there are two options:

Hope that helps!

Zagreus9723 commented 3 years ago

I have looked very well and can't seem to find the path where it stores the output file. Can you tell me what file and line?

bitsadmin commented 3 years ago

Sure, here you go: https://github.com/bitsadmin/fakelogonscreen/blob/master/Source/LogonScreen.cs#L77

You can replace that line with for example: string path = @"C:\Windows\Temp\tmp9666.tmp";

Zagreus9723 commented 3 years ago

Thanks!