The person having the right to redeem such real estate may file a bill in chancery for an injunction to restrain waste; and, after redemption, may recover damages occasioned by such waste.