Welcome to the new Woodmann RCE Messageboards Regroupment
Please be patient while the rest of the site is restored.

To all Members of the old RCE Forums:
In order to log in, it will be necessary to reset your forum login password ("I forgot my password") using the original email address you registered with. You will be sent an email with a link to reset your password for that member account.

The old vBulletin forum was converted to phpBB format, requiring the passwords to be reset. If this is a problem for some because of a forgotten email address, please feel free to re-register with a new username. We are happy to welcome old and new members back to the forums! Thanks.

All new accounts are manually activated before you can post. Any questions can be PM'ed to Kayaker.

'PATCH.EXE' dungerous name!? ~:0

Post Reply
User avatar
evaluator
Posts: 1538
Joined: Tue Sep 18, 2001 2:00 pm

'PATCH.EXE' dungerous name!? ~:0

Post by evaluator »

fun thing encountered just now:
extracted from zip my old little patch maker named "PATCH_BASE_KG.EXE"
and on try execution w10 showed warning about yellow 'Do you want allow.. changes..' ?? oops? but I removed AnitVir. and not Admin required for proggy. then I came to conclusion about name! removed letter P and no more warning! "PATCH.EXE" name > again warning. "myPATCH.EXE" again..
SillySillicony?
User avatar
Kayaker
Posts: 4169
Joined: Thu Oct 26, 2000 11:00 am

Post by Kayaker »

I remember something weird like that happening with one of my apps similarly named.

According to this thread, Windows tries to guess these applications by their filenames, and something about requestedExecutionLevel and an assembly manifest:
  • setup
  • update
  • patch
https://stackoverflow.com/questions/533 ... -patch-exe

I tried it just now on two old random apps I wrote. In one case you can immediately see the effect changing the name to one of those three in the icon, it now has a little admin shield on top of the icon. And yet, with another app of mine there was no change at all with the icon or privilege elevation when renaming. Weird, I'll have to take a closer look at the differences.
User avatar
evaluator
Posts: 1538
Joined: Tue Sep 18, 2001 2:00 pm

Post by evaluator »

it is interesting, from where come these checks, bcoz I not found strings in ntdl ker32 kerbase
Post Reply