Flash Plug-in

Add-ons for Pale Moon and other applications
General discussion, compatibility, contributed extensions, themes, plugins, and more.

Moderators: FranklinDM, Lootyhoof

User avatar
Moonraker
Board Warrior
Board Warrior
Posts: 1878
Joined: 2015-09-30, 23:02
Location: uk.

Re: Flash Plug-in

Unread post by Moonraker » 2021-01-12, 21:06

Captain Chicky wrote:
2021-01-12, 18:01
I've tried changing the dates in the NPSWFXX dll file, but to no avail. Either the previously suggested method on page 4 is somehow incorrect, or the invalidated signature still allows flash to get blocked. Is there any other method? :think:
Try using version 30 of flash and see if it works ok,.
user of multiple puppy linuxes..upup,fossapup.scpup,xenialpup..... :thumbup:

Pale moon 29.4.1

User avatar
Sob__
Lunatic
Lunatic
Posts: 251
Joined: 2014-02-17, 01:12
Location: CZ

Re: Flash Plug-in

Unread post by Sob__ » 2021-01-12, 22:36

@Captain Chicky: Try again, it works. If you don't want to patch files by hand, you can download xdelta3-3.1.0-x86_64.exe.zip from https://github.com/jmacd/xdelta-gpl/releases/tag/v3.1.0 and attached file, and let it do the patching:

Code: Select all

xdelta3-3.1.0-x86_64.exe -d -s NPSWF32_32_0_0_465.dll patch32.xdelta NPSWF32_32_0_0_465.dll-patched
xdelta3-3.1.0-x86_64.exe -d -s NPSWF64_32_0_0_465.dll patch64.xdelta NPSWF64_32_0_0_465.dll-patched
Select 32/64 bit depending on your Pale Moon version. First make backup of old file and then replace it with patched version.

alkisg

Re: Flash Plug-in

Unread post by alkisg » 2021-01-13, 22:04

UCyborg wrote:
2021-01-03, 22:49
So, find a hexadecimal string 000040463E6F7742, replace it with eg. 0000C02055148042, that will just change the year from 2021 to 2040.
I just signed up to say thanks for that! So, for Linux users that prefer the command line, that would be:

Code: Select all

xxd -p /usr/lib/adobe-flashplugin/libflashplayer.so | tr -d '\n' | sed 's/000040463e6f7742/0000c02055148042/' | xxd -p -r > /tmp/libflashplayer.so
sudo mv /tmp/libflashplayer.so /usr/lib/adobe-flashplugin/libflashplayer.so

nimanima
Fanatic
Fanatic
Posts: 132
Joined: 2016-01-26, 21:59

Re: Flash Plug-in

Unread post by nimanima » 2021-01-14, 00:52

Thanks a lot! I have detected on an old backup harddrive of mine that in 2015 I had downloaded the offline install packages for Flash Player versions 17.0.0.134, 17.0.0.190, 17.0.0.191 and 18.0.0.203. After indeed the current version having been disabled under Windows 10, also in Pale Moon, I uninstalled 32 and re-installed 18 - so far it's running! So, if anybody wants/needs let me know.

Standalone 32, by the way still works.

Only that that both doesn't help at all for all the programmes that rely on the activex version implemented in Internet Explorer (for example Media Player Classic, Irfan View, SWF Player). Has anybody tested whether it's now possible to offline-install an older version of that activex-internet-explorer plugin?

User avatar
Cassette
Lunatic
Lunatic
Posts: 395
Joined: 2015-05-08, 14:30
Location: Wichita, KS

Re: Flash Plug-in

Unread post by Cassette » 2021-01-15, 00:16

nimanima wrote:
2021-01-14, 00:52
Only that that both doesn't help at all for all the programmes that rely on the activex version implemented in Internet Explorer (for example Media Player Classic, Irfan View, SWF Player).
I too wondered what I needed to change to get MPC-HC to read swf files so I went to Google. The file you need to modify is the Flash.ocx file and it's the same change as with the plug in. The issue is the file is write protected so you will have to work around that.

alexisnik199111

Re: Flash Plug-in

Unread post by alexisnik199111 » 2021-01-15, 18:38

alkisg wrote:
2021-01-13, 22:04
UCyborg wrote:
2021-01-03, 22:49
So, find a hexadecimal string 000040463E6F7742, replace it with eg. 0000C02055148042, that will just change the year from 2021 to 2040.
I just signed up to say thanks for that! So, for Linux users that prefer the command line, that would be:

Code: Select all

xxd -p /usr/lib/adobe-flashplugin/libflashplayer.so | tr -d '\n' | sed 's/000040463e6f7742/0000c02055148042/' | xxd -p -r > /tmp/libflashplayer.so
sudo mv /tmp/libflashplayer.so /usr/lib/adobe-flashplugin/libflashplayer.so
i tried this memont and it says the file cant be found,also i tried the manual patching but nothing..

i also tried this in the mms.cfg these but nothing

EOLUninstallDisable=1
SilentAutoUpdateEnable=0
AutoUpdateDisable=1
EnableAllowList=1
AllowListURLPattern=https://chat.greek-chat.gr/chat.php--->this is the flash site i want to unblock
AllowListUrlPattern=https://<server e.g. google.com/>
AllowListUrlPattern=https://<server e.g. yahoo.com/>

nimanima
Fanatic
Fanatic
Posts: 132
Joined: 2016-01-26, 21:59

Re: Flash Plug-in

Unread post by nimanima » 2021-01-17, 20:52

Cassette wrote:
2021-01-15, 00:16
nimanima wrote:
2021-01-14, 00:52
Only that that both doesn't help at all for all the programmes that rely on the activex version implemented in Internet Explorer (for example Media Player Classic, Irfan View, SWF Player).
I too wondered what I needed to change to get MPC-HC to read swf files so I went to Google. The file you need to modify is the Flash.ocx file and it's the same change as with the plug in. The issue is the file is write protected so you will have to work around that.
Oh, I don't know how to "modify" things, sorry. That's hieroglyphs to me without an idiot proof step by step manual.
For example the trick you can find everywhere on the internet about how to get the full WinHlp32.exe back by simply copying this file from an xp or 7 system into 10 doesn't work at all, obviously because of that write protection.

And what, by the way, happens when Microsoft sends this KB-thingy down? Even with the Pro-version of Win 10 it is not possible to select / reject particular updates (as it could be done under Windows 7).
Fom this article it seems that Flash Player is totally eradicated fron the system, no matter which version number, Active x or NPAPI. Active X and NPAPI versions are housed in the same sytem folder.

https://www.pcwelt.de/news/Windows-10-M ... 10932.html

User avatar
Cassette
Lunatic
Lunatic
Posts: 395
Joined: 2015-05-08, 14:30
Location: Wichita, KS

Re: Flash Plug-in

Unread post by Cassette » 2021-01-18, 06:57

nimanima wrote:
2021-01-17, 20:52
Oh, I don't know how to "modify" things, sorry. That's hieroglyphs to me without an idiot proof step by step manual.
Sometimes you've just got to give it a try. I just used the information from this post and found a hex editor from a Google search. It's basically a simple find and replace like you'd do with a text document. The hardest part was dealing with the write protection of the Flash.ocx file, but I learned how to do that from another Google search.

User avatar
hitokage
Fanatic
Fanatic
Posts: 101
Joined: 2014-05-03, 02:19
Location: Frederick, MD

Re: Flash Plug-in

Unread post by hitokage » 2021-01-18, 13:34

alexisnik199111 wrote:
2021-01-15, 18:38
i tried this memont and it says the file cant be found,also i tried the manual patching but nothing..

i also tried this in the mms.cfg these but nothing

EOLUninstallDisable=1
SilentAutoUpdateEnable=0
AutoUpdateDisable=1
EnableAllowList=1
AllowListURLPattern=https://chat.greek-chat.gr/chat.php--->this is the flash site i want to unblock
AllowListUrlPattern=https://<server e.g. google.com/>
AllowListUrlPattern=https://<server e.g. yahoo.com/>
Put this in your mms.cfg file and it should work - these two lines should be enough. Some of the other settings are no longer valid or default to those states, so they're redundant. On Linux mms.cfg goes into /etc/adobe/

Code: Select all

AutoUpdateDisable=1
AllowListUrlPattern=https://*.greek-chat.gr
The more they overthink the plumbing, the easier it is to stop up the drain - Scotty (Star Trek III)

To be clear this quote is not directed at Pale Moon, but a lot of other things in general.

nimanima
Fanatic
Fanatic
Posts: 132
Joined: 2016-01-26, 21:59

Re: Flash Plug-in

Unread post by nimanima » 2021-01-18, 21:11

Right click on the ocx file, choose open with Editor or what? Result looks like an unformatted text written in some East Asian language ... nothing remotely looking like what I can see in these screenshots.

Copying the ocx from c into d was possible. Where do you take write protection from? It looks like this:
Attachments
ocx file Eigenschaften.png

User avatar
UCyborg
Fanatic
Fanatic
Posts: 172
Joined: 2019-01-10, 09:37

Re: Flash Plug-in

Unread post by UCyborg » 2021-01-18, 23:10

UCyborg wrote:
2021-01-03, 22:49
So, find a hexadecimal string 000040463E6F7742 in NPSFWXX_32_0_0_465.dll (XX = bitness, either 32 or 64) with a hex editor, replace it with eg. 0000C02055148042, that will just change the year from 2021 to 2040. It's a unique string, so only one will be found as long as you got the right file.
Instead of 0000C02055148042, 000000000000F07F can be used. It represents positive infinity, so no ties to specific date, it'll always work in non-EOL mode.
nimanima wrote:
2021-01-18, 21:11
Right click on the ocx file, choose open with Editor or what? Result looks like an unformatted text written in some East Asian language ... nothing remotely looking like what I can see in these screenshots.
You need a hex editor like HxD.
nimanima wrote:
2021-01-18, 21:11
Copying the ocx from c into d was possible. Where do you take write protection from? It looks like this:
I'll write for English Windows; open the original file's properties, go to Advanced, click Change near Owner then write Administrators and apply everything. Go back to advanced security settings, modify Administrators entry by adding Full control permission.

Then rename the original file so you have a backup, I usually append .bak extension. Modify the file you copied earlier to D: and copy now modified version to its original location.

I also restore the original owner and permissions on a backup file in its original location, which is actually a hard link in case of stuff that comes with Windows, it's also referenced somewhere under C:\Windows\WinSxS. By not touching original files, integrity of system files can still be checked with DISM, while sfc may be run afterwards in verify-only mode and manually check its logs to see if it reports anything else besides the file(s) you've messed with.

The thing with permissions is only needed for ActiveX Flash (used with Internet Explorer and old Edge), which comes with Windows 8.x and 10 (until it doesn't anymore), the Flash files installed the usual way through Flash installer have normal permissions, so the administrator account can modify them as desired out-of-the-box.
Last edited by UCyborg on 2021-01-18, 23:34, edited 1 time in total.

User avatar
Bilbo47
Fanatic
Fanatic
Posts: 234
Joined: 2017-11-18, 04:24

Re: Flash Plug-in

Unread post by Bilbo47 » 2021-01-19, 15:23

Whew. Practice this first on a throwaway file. It is possible to change file ownership and permissions such that Windows / your user cannot access the file anymore. Ya don't want a non-usable file eating up a filename or pathname that you care about.

alexisnik199111

Re: Flash Plug-in

Unread post by alexisnik199111 » 2021-01-23, 15:50

UCyborg wrote:
2021-01-03, 22:49
So, find a hexadecimal string 000040463E6F7742 in NPSFWXX_32_0_0_465.dll (XX = bitness, either 32 or 64) with a hex editor, replace it with eg. 0000C02055148042, that will just change the year from 2021 to 2040. It's a unique string, so only one will be found as long as you got the right file.
Instead of 0000C02055148042, 000000000000F07F can be used. It represents positive infinity, so no ties to specific date, it'll always work in non-EOL mode.
thanks for the guide!any patching solution for the activeX and ppapi(for browsers like Yandex)? cause the in the pepper.dll and of the activeX dll the 000040463E6F7742 does not exist!

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Flash Plug-in

Unread post by Moonchild » 2021-01-23, 18:44

alexisnik199111 wrote:
2021-01-23, 15:50
any patching solution for the activeX and ppapi
We only support NPAPI here, so this is probably best asked in another forum.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
UCyborg
Fanatic
Fanatic
Posts: 172
Joined: 2019-01-10, 09:37

Re: Flash Plug-in

Unread post by UCyborg » 2021-01-24, 10:07

000040463E6F7742 exists in all flavors of Flash Player (NPAPI, ActiveX, PPAPI), just need to pick the right file. The one with FlashUtil in its name is not the right one and the ActiveX version has .ocx extension.

But yeah, any more details regarding other flavors is a bit off-topic here.

I've also noticed some people in general (not necessarily here) asking questions already answered in Flash Player Admin Guide, so they might want to read it first.

User avatar
Pentium4User
Board Warrior
Board Warrior
Posts: 1111
Joined: 2019-04-24, 09:38

Re: Flash Plug-in

Unread post by Pentium4User » 2021-01-24, 17:16

Flash seems to be still supported in some environments:
https://helpx.adobe.com/flash-player/re ... notes.html
Chongqing Zhongcheng Network Technology Co., Ltd. (hereinafter referred to as Zhongcheng), an Internet company, is the official distribution partner for Adobe Flash Player in mainland China only. Adobe will support Zhongcheng’s exclusive distribution and maintenance of Flash Player within mainland China beyond 2020 for regional developers, enterprises, and end users running Flash-enabled content in applicable operating system environments or browsers. For more information, contact Zhongcheng.
This is from a German forum: https://forum.ubuntuusers.de/topic/maer ... st-9223306
I don't know if the link there can be trusted.
The profile picture shows my Maico EC30 E ceiling fan.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Flash Plug-in

Unread post by Moonchild » 2021-01-24, 17:22

And be aware that the Chinese version of Flash is not kosher. It's already been reported that they added malware in it.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

MasterCATZ

Re: Flash Plug-in

Unread post by MasterCATZ » 2021-02-01, 02:04

does anyone know how to patch chromes built in flash ?

van p
Astronaut
Astronaut
Posts: 592
Joined: 2015-11-19, 07:15
Location: Cincinnati, OH, U.S.A.

Re: Flash Plug-in

Unread post by van p » 2021-02-01, 04:18

I believe Flash has been disabled in/removed from Chrome. These sites might help, and might not:

https://www.compsmag.com/blog/enable-flash-plugin-in-chrome-browser-for-websites/

https://www.lifewire.com/enable-flash-in-chrome-4160696

Search on chrome flash/flash chrome.
Windows 10 Pro x64 v22H2 8GB i5-4570|Pale Moon v33.0.1 x64

User avatar
Moonraker
Board Warrior
Board Warrior
Posts: 1878
Joined: 2015-09-30, 23:02
Location: uk.

Re: Flash Plug-in

Unread post by Moonraker » 2021-02-01, 07:48

I wouldn't touch chrome with a ten metre pole but there are other alternatives to view flash content.
user of multiple puppy linuxes..upup,fossapup.scpup,xenialpup..... :thumbup:

Pale moon 29.4.1

Locked