there is no real script to do it. They released the full research paper on it and basically you pull part of the infotainment system low as it boots and it opens the maintenance menus that allow you to grant entitlements. It's a 100% physical attack.
It also probably gets reversed every so often as mothership "detects problems" with your tesla.