What does curl do in triggering a reverse shell in Oopsie

Curl makes a request to the server. In this instance it requests ???.php.

You could get the same outcome by visiting http://10.10.10.28/uploads/???.php in a browser.