This module exploits a bug in LIQPad up to version 5.48.00. The bug is only exploitable in paid version of software. The core of a bug is cache file containing deserialized data, which attacker can overwrite with malicious payload. The data gets deserialized every time the app restarts.
Windows
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/windows/local/linqpad_deserialization_persistence
msf exploit(linqpad_deserialization_persistence) > show targets
...targets...
msf exploit(linqpad_deserialization_persistence) > set TARGET < target-id >
msf exploit(linqpad_deserialization_persistence) > show options
...show and set options...
msf exploit(linqpad_deserialization_persistence) > exploit
Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.
– Jim O’Gorman | President, Offensive Security