Two armed miscreants fired indiscriminately at an accused in the Ambala court complex in Haryana on Saturday, owing to an old rivalry.