Lower body:
Straight leg raises (supine and long sit), side lying hip abduction, knee extension (ankle weights/band), prone hip extension, knee flexion (ankle weights/band).
Depending on the location of your ulcer, you may be able to do seated calf press (band), double/single leg bridge.