How did rose greenhow help the confederates?

She SPIED!!!!!!!!!! Mwa-ha-ha!!!!!!!!!!!!!!!!