HRS §124B-161
Spying during wartime
This section says that during wartime, anyone found spying around military or war-related places can be tried by a military court and punished if convicted. It does not set a specific punishment.
everyone
The statute, as written — Spies
Any person who in time of war is found lurking as a spy or acting as a spy in or about any place, vessel, or aircraft, within the control or jurisdiction of the state military forces or of the United States armed forces, or in or about any shipyard, any manufacturing or industrial plant, or any other place or institution engaged in work in aid of the prosecution of the war by the United States, or elsewhere, shall be tried by a general court-martial and on conviction shall be punished as directed by a court-martial.
LawTrove is not legal advice. The summary above is a computer-generated restatement — the authoritative text is the official version linked above.