Old 18th May 2016, 20:20   #1
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
And as a cruel joke, here I'm breaking your GetRealOSVersion detection:






@th_mi: Oh look, the user-mode implementation is not the same as the kernel implementation!
Attached Files
File Type: zip TrickRealVer.zip (61.4 KB, 225 views)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 18th May 2016, 20:37   #2
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 797
Quote:
Originally Posted by Anders View Post
Unless is this made-up, what exactly did trigger this? (looks like Windows 8)

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Old 18th May 2016, 22:06   #3
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
Quote:
Originally Posted by LoRd_MuldeR View Post
Unless is this made-up, what exactly did trigger this? (looks like Windows 8)
It is a real screenshot of the program I attached in my post and it is just a really basic NSIS script. The screenshot is from Windows 8 but you should get the same result on any Windows version >= Win2000 AFAIK. I did not modify your plug-in in any way but I did some hex editing on the NSIS stub. If you add a IMAGE_LOAD_CONFIG_DIRECTORY32 entry you should be able to change the service pack number as well...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 10th October 2016, 23:13   #4
Lenge
Member
 
Join Date: Oct 2007
Posts: 64
Besides: Is StdUtils still able to extract the real OS version even if Microsoft now also fakes file version information?

See: http://forums.winamp.com/showpost.ph...38&postcount=7
Lenge is offline   Reply With Quote
Old 11th October 2016, 07:59   #5
LoRd_MuldeR
Major Dude
 
LoRd_MuldeR's Avatar
 
Join Date: Sep 2005
Location: Somewhere over the Slaughterhouse
Posts: 797
Quote:
Originally Posted by Lenge View Post
Besides: Is StdUtils still able to extract the real OS version even if Microsoft now also fakes file version information?
Latest StdUtils version should be able, yes. Provided that you don't mess with the PE header

My Plugins: StdUtils | NSISList | CPUFeatures | ExecTimeout | KillProc
My source of inspiration: http://youtu.be/lCwY4_0W1YI
LoRd_MuldeR is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump