hfiref0x / UACME

Defeating Windows User Account Control
BSD 2-Clause "Simplified" License
6.09k stars 1.3k forks source link

Error when running Naka32.exe --stable #112

Closed paradoxsupreme closed 2 years ago

paradoxsupreme commented 2 years ago

I am getting a File read error, memory not allocated when I try to run Naka32.exe --stable. What am I doing wrong? Does it need any parameters? Apart from that how I can compile kamikaze?

hfiref0x commented 2 years ago

The *.key files generated by naka previous run without --stable must exist in the same directory. Kamikaze is MMC snap-in, it is a text file and not compilable.

Apparently I answered somewhat similar Naka question before here https://github.com/hfiref0x/UACME/issues/109

paradoxsupreme commented 2 years ago

The .key files are all in the same directory with Naka32.exe and I run Naka32.exe --stable and I get File read error, memory not allocated. Do I need to pass the keyfiles as parameters like so Naka32.exe --stable Akatsuki64.exe Fubuki32.exe Fubuki64.exe Kamikaze.exe? Also I copy Kamikaze.msc in the Akagi/bin folder as is am I right?

hfiref0x commented 2 years ago

It expects these files Akatsuki64.key Fubuki64.key Kamikaze.key Fubuki32.key

if any of them are missing it will show you that message.

paradoxsupreme commented 2 years ago

None is missing. They are all in the same folder (Source/Naka/output/Win32/Debug) as Naka32.exe. Maybe it is looking in a different folder?

hfiref0x commented 2 years ago

Depends how you launch it. It looks for files in process current directory.

waiwaiwai commented 2 years ago

hi, i got all the key files existing in the same but still got "File read error, memory not allocated", may i know why i am missing?

running visual studio2022, v143 in VM with 4G RAM. already compile and has the result below: image under the same folder with naka32.exe

Please advise, thanks!