This is not a SFW instance. NSFW communities will be tagged, and efforts will be made to keep SFW communities clean, but proceed at your own comfort level.
The better solution is getting a sparkie to install a male socket (with protective cover) for power inlet if you’re anticipating needing a genset on any regular basis. While they’re at it get them to also install an isolating switch so you can easily avoid backfeeding power into the grid while keeping the house powered.
I mean, generators exist and you usually need a male to male cable to plug into your house
You don’t. You need an Interconnect and an “Inlet” port. You could use a male-to-male, but they’re illegal and dangerous to the line workers.
Only if you like murdering utility repairmen.
The better solution is getting a sparkie to install a male socket (with protective cover) for power inlet if you’re anticipating needing a genset on any regular basis. While they’re at it get them to also install an isolating switch so you can easily avoid backfeeding power into the grid while keeping the house powered.