Those are called suicide cords for a reason. Exposed prongs is only one problem: another is that these can end up feeding current into a line that was supposed to be de-energized, potentially killing a lineman (I also wanted to add that they can short-circuit between phases, but then released that's only a problem for Schuko, not NEMA). If you want to use a local generator, install a generator transfer switch.