Its a g3 based on the rear sight base and the flash hider. It would make sense to be a g3 because of Pakistan using the rifle in their military. Im sure some of them managed to find there way over there. The endcap instead of a stock is a little suprising.
I bet it still works. Let us know how it shoots, if you can. You need 7.62x51 if you were wondering.