A simple and inexpensive X-ray diagnostic tool was designed for measuring the cross-sectional current density distribution in a low-relativistic pulsed electron beam produced in a source based on an arc-discharge plasma cathode and multiaperture diode-type electron optical system. The beam parameters were as follows: Uacc = 50-110 kV, Ibeam = 20-100 A, τbeam = 0.1-0.3 ms. The beam effective diameter was ca. 7 cm. Based on a pinhole camera, the diagnostic allows one to obtain a 2D profile of electron beam flux distribution on a flat metal target in a single shot. The linearity of the diagnostic system response to the electron flux density was established experimentally. Spatial resolution of the diagnostic was also estimated in special test experiments. The optimal choice of the main components of the diagnostic technique is discussed.