It looks like a harmless Ratsnake (Pantherophis obsoleta). If you live in the western US it might be a Gophersnake instead, but either way they are totally harmless. Ratsnake is a more likely "attic snake", particularly if you are east of the Rockies.
-----
Chris Harrison
San Antonio, Texas


