This is interesting! I am looking to do the same manually. I have my reverse shell plugin ready. Also I have my admin credentials ready.
But how to upload manually like the Metasploit module, without accessing the wp-admin page?
(I know how to upload reverse shells from the wp-admin but Metasploit does it without needing to accessing the wp-admin)