Medak, Nov 19: A forest ranger in the district was caught by Anti-Corruption Bureau sleuths on the spot while he was accepting a bribe of Rs 5,000 from a person to do an official favour, it is learnt.