Between 1959 and 1960, 129 examples of the interceptor version MiG-17PF, equipped with the RP-1 radar gunsight, were produced under licence at the WSK Mielec plant under the designation Lim-5P.
By the late 1960s, the Lim-5P aircraft had lost their combat value as interceptor fighters. In 1971, some of them were converted into ground-attack aircraft. Additional weapons pylons were installed, the radar gunsight was removed, and a battery was installed in its place.
The aircraft modified in this way received the designation Lim-6M, and the reconnaissance version Lim-6MR.
| Wingspan | 9.63 m |
| Length | 11.26 m |
| Takeoff weight | 5354 kg |
| Maximum speed | 1130 km/h |
| Ceiling | 16470 m |
| Range | (with drop tanks) 1670 km |
| Armament | 3 x 23 mm cannons, unguided rocket launchers or bombs up to 500 kg |
| Engine | WK-1F with (afterburning) thrust of 3380 kG |