Need help identifying "pre-stripped" Phillips screw
The top looks like a Pozidrive or Supadrive and the bottom looks like a Quadrex to me.
If those don't work, you can always cut a flat blade slot for a protruding screw and remove it that way. If that doesn't work, particularly for the top screw which looks actually stripped, get a screw extractor and take it out that way.  Always try first without drilling and if you drill be careful not to cut the head off the shaft. For one stripped screw I absolutely could not afford to break, I stopped trying to turn it before it was stripped bald and used PL4OO to glue my screwdriver into the screw.
If you don't need to free the hole, if a screw is soft enough to strip, it's soft enough to drill the head off.  For large lag bolt type screws, you can even drill a pilot hole and reclaim the hole by drilling the screw out with increasing sized bits, but these are extremely likely to come out with a screw remover.