Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: [Full-disclosure] Window's O/S |
|---|---|
| Date: | Thu, 24 Nov 2005 04:08:32 -0800 |
Cassidy Macfarlane wrote:
This seems to be a 'nearest path' issue - iexplore would use notepad.exe to 'view source' by default, so when you choose to 'view source', Windows looks to the PATH variable to find notepad.
IE first looks for the key HKLM\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name If present, it uses its value as the name of the editor to launch. If absent it seems to use a hardcoded default of just "notepad" without any qualifying path. It then searches starting on the desktop (and then presumably on the path) to find "notepad.*". The first hit that it finds, it uses the standard shell launch method based on the class. In this case that turns out to be HKCR\Folder\shell\open, which launches explorer. If you change the above "Editor Name" key to something with a qualified path such as "c:\winxp\system32\notepad.exe" you get notepad despite a folder on the desktop named notepad. Similarly, if you set the above key to an unqualified "foobar" and have a folder named foobar on the desktop, it gets opened. There's nothing special about "notepad" other than that's IE's built-in default. Brian _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.grok.org.uk/full-disclosure-charter.html Hosted and sponsored by Secunia - http://secunia.com/
| Previous by Date: | Re: [Full-disclosure] Window's O/S, Greg |
|---|---|
| Next by Date: | RE: [Full-disclosure] Window's O/S, Haaland, Vegar Linge |
| Previous by Thread: | Re: [Full-disclosure] Window's O/S, Brian Dessent |
| Next by Thread: | Re: [Full-disclosure] Window's O/S, Andres Tarasco |
| Indexes: | [Date] [Thread] [Top] [All Lists] |