Skip to content

Instantly share code, notes, and snippets.

@MatthewCallis
Last active December 3, 2023 22:58
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MatthewCallis/6eceaec189704d75e09acd7c38be69d6 to your computer and use it in GitHub Desktop.
Save MatthewCallis/6eceaec189704d75e09acd7c38be69d6 to your computer and use it in GitHub Desktop.
Disable Flash EOL Warnings
Disable EOL uninstall warnings:
	Disable auto updates when installing
	Add "EOLUninstallDisable=1" to mmc.cfg in C:\WINDOWS\system32\Macromed\Flash
	(C:\Windows\SysWOW64\Macromed\Flash on 64-bit)

---

Defuse flash player time bomb:

Time bomb trigger is the timestamp 1610409600000.0
encoded in double precision floating point (0x42776f3e46400000):
	00 00 40 46 3E 6F 77 42
replace with infinity:
	00 00 00 00 00 00 F8 7F

C:\WINDOWS\system32\Macromed\Flash
(C:\Windows\SysWOW64\Macromed\Flash on 64-bit)
	Flash32_32_0_0_453.ocx (offset: 453: E1D968, 465: E1DBD0)
	NPSWF32_32_0_0_453.dll (offset: 453: E3A2E0, 465: E3A32A)
	pepflashplayer32_32_0_0_453.dll (offset: 453: CBFCE0, 465: CBFCB8)

C:\WINDOWS\system32\Macromed\Flash (64-bit):
	Flash64_32_0_0_453.ocx (offset: 12AF6A8)
	NPSWF32_32_0_0_453.dll (offset: 128FBD8)
	pepflashplayer32_32_0_0_453.dll (offset: 15F6C30)

NOTE: Flash32_32_0_0_453.ocx (and Flash64) will always be write protected
	- rename it to Flash32_32_0_0_453.bak
	- save edited copy as Flash32_32_0_0_453.ocx
	- to delete the backup file:
		- properties > security > advanced > delete the "DENY Everyone" permission

via https://cache.tehsausage.com/flash/defuse.txt


bbe -e 's/\x00\x00\x40\x46\x3e\x6f\x77\x42/\x00\x00\x00\x00\x00\x00\xf8\x7f/' libflashplayer.so | sponge libflashplayer.so

via https://news.ycombinator.com/item?id=25747295


Disabled Flash's EOL "kill switch" just for this old flash site with a mms.cfg:

  EOLUninstallDisable=1
  EnableAllowList=1
  AllowListUrlPattern=https://old-flash-site.com

via https://blogs.sap.com/2020/12/10/how-to-keep-enterprise-flash-applications-accessible-in-2021/


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment