Banks generally will not make any repairs. What you see is exactly what you get, including potential hidden damage.
If a home isn't sold in pre-foreclosure, it often goes to a public auction. These usually require cash or a certified check on the spot. You typically cannot inspect the interior before bidding, making this the riskiest option. can i buy a foreclosed home
Here is a blog post summarizing what you need to know, from the different ways to buy to the potential pitfalls. Banks generally will not make any repairs