A mob of around 300 persons on Wednesday attacked an apartment complex here claiming that a maid working in one of the flats there had been kept prisoner by her employer.