Based on the Metasploit module for the same exploit (EDB ID: 47230)
Exploit is mostly automatic. See ./CVE-2019-15107.py --help
for full range of switches
Warning: The code in this repository may be used for academic/ethical purposes only. The author does not condone the use of this exploit for any other purposes -- it may only be used against systems which you own, or have been granted access to test.