{"id":1082,"date":"2021-02-25T19:30:54","date_gmt":"2021-02-26T01:30:54","guid":{"rendered":"http:\/\/zewwy.ca\/?p=1082"},"modified":"2021-02-25T19:34:15","modified_gmt":"2021-02-26T01:34:15","slug":"using-flash-in-2021","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2021\/02\/25\/using-flash-in-2021\/","title":{"rendered":"Using Flash in 2021"},"content":{"rendered":"<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"The_Story\"><\/span>The Story<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<p>No one should have to use flash&#8230;. however, there have been some amazing things that were done with the framework at the height of its time.<\/p>\n<p>Now my issue was more around the fact that VMware, as I use VMware a lot. Happened to choose this framework for their Management Web Interface with 6.0~6.5, with only having fully depreciated it in 6.7. Why did they do this? Cause they didn&#8217;t want to rely on a Windows based framework anyway, AKA .NET. Say what you will about Microsoft and Windows, but when you look at the two frame works, it&#8217;s pretty clear which is still supported and which is clearly not&#8230;<\/p>\n<p>Anyway I digress, if you attempt to use the flash based interface, if you happen to still be on 6.0~6.5 and need access to the flash based interface. Well let&#8217;s see&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/3BiYbBC.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/3BiYbBC.png\" alt=\"\" width=\"614\" height=\"278\" \/><\/a><\/p>\n<p>Wow, that was unreal useless&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/04oE0T0.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/04oE0T0.png\" alt=\"\" width=\"754\" height=\"190\" \/><\/a><\/p>\n<p>Strange same results in new Edge Chromium (well ok that&#8217;s not to odd considering they are based on the same engine), I remember just seeing the weird new Flash logo with an information logo.<\/p>\n<p>I thought this might be due cause I never configured the <a href=\"https:\/\/docs.microsoft.com\/en-us\/microsoft-edge\/deploy\/group-policies\/adobe-settings-gp\">old GPO&#8217;s which were used to define allowed sites for flash<\/a>.<\/p>\n<p>I thought I remember setting it for another thing that used flash and if I navigate to that page&#8230;<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/i.imgur.com\/Faafj03.png\" \/><\/p>\n<p>Clicking Get Flash leads to the same online EOL page&#8230; alright. Not exactly the results I was expecting. I swear I remember it popping up that flash logo.. let me try one other machine to validate&#8230; Ok all browsers same results, IE simply doesn&#8217;t even load the page. I don&#8217;t use Firefox. Either way, one of two things happen you get the above snippets, or you get this Flash logo:<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/YUfIXAm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/YUfIXAm.png\" alt=\"\" width=\"237\" height=\"178\" \/><\/a><\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Hunt_for_an_Answer\"><\/span>Hunt for an Answer<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>My first google search brought me to a <a href=\"https:\/\/www.ghacks.net\/2020\/12\/17\/how-to-play-flash-content-in-your-browser-in-2021\/\">ghacks blog post suggesting<\/a> to use a web app called ruffle&#8230; no thank you.<\/p>\n<p>However lucky for me reading the comments another <a href=\"https:\/\/charleswilkinson.co.uk\/2021\/01\/12\/how-to-use-flash-in-2021\/\">guy with a way nicer site (no dang ads cluttered everywhere), the guys name is Charles Wilkinson<\/a>. The rest of this blog post I&#8217;ll follow along with Charles&#8217;s to see how it plays out.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"The_Fix\"><\/span>The Fix<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>He&#8217;s done such a good job with the basic detail I kind don&#8217;t even want to paraphrase it, so here&#8217;s a direct copy n paste of the How to Fix it from Charles&#8217;s blog:<\/p>\n<p>&#8220;Reading the\u00a0<a href=\"https:\/\/www.adobe.com\/devnet\/flashplayer\/articles\/flash_player_admin_guide.html\">Flash Player Administrator\u2019s Guide<\/a>, in a section called:\u00a0<strong>Administration &gt; Enterprise Enablement<\/strong>\u00a0we find the official solution.<\/p>\n<p>On any device that we want to enable our legacy app on, we need to edit the\u00a0<strong>mms.cfg<\/strong>\u00a0file that holds the configuration for Flash Player.<\/p>\n<p>This file can be found under:<\/p>\n<ul>\n<li><strong>\/Library\/Application Support\/Macromedia\/mms.cfg<\/strong>\u00a0on OSX<\/li>\n<li><strong>C:\\Windows\\System32\\Macromed\\Flash\\mms.cfg<\/strong>\u00a0on 32bit Windows OS<\/li>\n<li><strong>C:\\Windows\\SysWOW64\\Macromed\\Flash\\mms.cfg<\/strong>\u00a0on 64bit Windows OS<\/li>\n<\/ul>\n<p>This file needs to be replaced with the following content:<\/p>\n<pre># Disable Automatic Updates\r\nAutoUpdateDisable=1\r\nSilentAutoUpdateEnable=0\r\n\r\n# Disable prompts to uninstall Flash Player\r\nEOLUninstallDisable = 1\r\n\r\n# duplicate actionscript console output\r\n# in browser's console for javascript\r\nTraceOutputEcho=1\r\n\r\n# Enable the AllowList feature\r\nEnableAllowList=1\r\n\r\n# Normally, the allow list blocks URL requests\r\n# unless the url matches a pattern in the list.\r\n# In preview mode, all requests go unblocked,\r\n# but console output is written for each request\r\n# indicating which pattern it matched or that\r\n# no match was found.\r\nAllowListPreview=0\r\n\r\n# Pattern to enable Your Legacy Flash Web App:\r\nAllowListUrlPattern=http:\/\/legacy.app.domain.name:8001\/<\/pre>\n<p>Obviously, you need to replace\u00a0<strong><a href=\"http:\/\/legacy.app.domain.name:8001\/\" rel=\"nofollow\">http:\/\/legacy.app.domain.name:8001\/<\/a><\/strong>\u00a0with the URL of your legacy app.<\/p>\n<p>Once this file is saved, hit refresh in your browser and your legacy web app should load. You do not need to restart the browser (at least not when I tested this on OSX with Firefox) \u2013 Flash seems to pick these settings up next time you refresh the page.&#8221;<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Doing_the_Needful\"><\/span>Doing the Needful<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>OK Let&#8217;s try it out, my machine is Windows 10 x64, lets navigate to the path mentioned.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/TtVM9hx.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/TtVM9hx.png\" alt=\"\" width=\"786\" height=\"395\" \/><\/a><\/p>\n<p>I dunno about you, but, I don&#8217;t see no mms.cfg<\/p>\n<p>OK, I can&#8217;t see much else as to if you need to create this file yourself, or what&#8230;<\/p>\n<p>Wait a second&#8230;.. double reading the Limitations section from Charles post&#8230;.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Limitations\"><\/span>Limitations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This fix allows Flash to continue to run, disables the prompts to uninstall and disables automatic updates, however, it does not prevent newer browser versions from removing Flash Support. Users who need to access your legacy app will need to use an older version of Chrome or Firefox with automatic updates disabled. The last versions of browsers supporting Flash are:<\/p>\n<p>Firefox version 84<br \/>\nMicrosoft Edge version 87<br \/>\nChrome version 87<\/p>\n<p>It also seems that Microsoft have released a Windows update that will uninstall Flash: <a href=\"https:\/\/support.microsoft.com\/en-gb\/help\/4577586\/update-for-removal-of-adobe-flash-player\">Adobe Flash Removal Update for Windows 10 \u2013 KB4577586<\/a>. Sysadmins will probably want to prevent this update from being installed.<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Putting_the_Pieces_Together\"><\/span>Putting the Pieces Together<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Oh.. I&#8217;m starting to think the reason I don&#8217;t see the flash logo above when I did before is cause I believe the update to remove flash was pushed onto this machine, also the browsers got updated, now on 88.0.705.74<\/p>\n<p>So I literally have to have a system that doesn&#8217;t install one particular windows update (if I want to keep it &#8220;online&#8221;), or use an older machine that is fully offline to get any of these updates, either it be the OS KB updated mentioned or the browser itself updating. Both these requirements are pretty bad.<\/p>\n<p>I should have suspected this, but it sort of slipped my mind, till right now. OK so what are my options&#8230;<\/p>\n<h2 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Option_1\"><\/span>Option 1<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Old copy of a machine, and prevent it from reaching the internet, only access to the devices or URL&#8217;s it needs to manage\/access. OK so I managed to find a backup\/copy\/vm of a system that has an older copy of Chrome (version 80) that&#8217;s well below the 87&#8230; OK but <a href=\"https:\/\/stackoverflow.com\/questions\/18483087\/how-to-disable-google-chrome-auto-update\">how do I stop it from updating<\/a> if it does manage to connect to the internet&#8230; really just rename the folder update, neat. In my case when I went to go rename told me the file was locked by system&#8230; which leaves me to believe there&#8217;s a service.. and sure enough there were two, let me just disable these services and then rename the folder&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/8Xb19Tm.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/8Xb19Tm.png\" alt=\"\" width=\"1070\" height=\"302\" \/><\/a><\/p>\n<p>Weird, even after stopping those services it still won&#8217;t let me rename the folder saying its locked by the system&#8230;<\/p>\n<p>So after creating a clone of the VM, and disabled the browser updates, and disable windows updates, I navigated to the page, got the &#8220;run one time&#8221; and it finally tried to load, and I finally got the logo as mentioned on Charles&#8217;s blog, that means it&#8217;s finally time to try the &#8220;hack&#8221;.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/wN98LXU.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/wN98LXU.png\" alt=\"\" width=\"443\" height=\"301\" \/><\/a><\/p>\n<p>Open CMD as an admin, and create the file in question:<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/GouYxbc.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/GouYxbc.png\" alt=\"\" width=\"462\" height=\"204\" \/><\/a><\/p>\n<p>and fill the table.<\/p>\n<p>&nbsp;<\/p>\n<p>Not sure if a reboot is required or what lets do one to be safe&#8230;<\/p>\n<p>SOB&#8230; Chrome updated&#8230;. let me try that again&#8230;<\/p>\n<p>Well even with Chrome 78, and enabled Flash in settings, and clicked allow on pop-up and I get Download Failed. Sigh&#8230; so I grabbed the PPAPI flash installer from the web archive linked in the comments of Charles blog. Installed it and sure enough again, got the logo I posted above, this time a file already existed in the c:\\windows\\sysWOW64\\Macromed\\Flash and I edited with the same options mentioned above again&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/DflIGJo.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/DflIGJo.png\" alt=\"\" width=\"423\" height=\"202\" \/><\/a><\/p>\n<p>Same flash logo not sure if I need to reboot to apply or try like the other comments in that blog post stated, and put it in a special appdata location&#8230; I&#8217;ll try that first and then reboot as a last attempt.<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/ffoBUqL.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/ffoBUqL.png\" alt=\"\" width=\"970\" height=\"119\" \/><\/a><\/p>\n<p>Yes! The Flash based web interface finally loaded!<\/p>\n<p>I have no idea what Option 2 even is at this point&#8230;<\/p>\n<p>Soo Summary..<\/p>\n<h1 style=\"text-align: center;\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h1>\n<ol>\n<li>You need to ensure a Chrome\/Chromium based browser Pre-87<\/li>\n<li>If you have MS KB4577586, you need to install the PPAPI flash manually.<\/li>\n<li>Enable Flash within the Browser Settings<\/li>\n<li>Manually edit\/create mms.cfg as shown above, and have in both C:\\Windows\\SysWOW64\\Macromed\/Flash as well as C:\\Users\\%Username%\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Pepper Data\\Shockwave Flash\\System\\<\/li>\n<\/ol>\n<p>I hope someone finds this guide useful&#8230; cause I sure found this process painful. \ud83d\ude00<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Story No one should have to use flash&#8230;. however, there have been some amazing things that were done with the framework at the height of its time. Now my issue was more around the fact that VMware, as I use VMware a lot. Happened to choose this framework for their Management Web Interface with &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2021\/02\/25\/using-flash-in-2021\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Using Flash in 2021&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[8],"tags":[332,330,331],"class_list":["post-1082","post","type-post","status-publish","format-standard","hentry","category-server-administration","tag-332","tag-adobe","tag-flash"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1082"}],"version-history":[{"count":5,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1082\/revisions"}],"predecessor-version":[{"id":1089,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1082\/revisions\/1089"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}