Below are some examples of the language used in the Espionage Act of 1917's actual text.
Whoever, for the purpose of obtaining information respecting the national defence with intent or reason to believe that the information to be obtained is to be used to the injury of the United States, or to the advantage of any foreign nation, goes upon, enters, flies over, or otherwise obtains information, concerning any vessel, aircraft, work of defence, navy yard, naval station, submarine base, coaling station, fort, battery, torpedo station, dockyard, canal, railroad, arsenal, camp, factory, mine, telegraph, telephone, wireless, or signal station, building, office, or other place connected with the national defence, owned or constructed, or in progress of construction by the United States...
[w]hoever for the purpose aforesaid, and with like intent or reason to believe, copies, takes, makes, or obtains, or attempts, or induces or aids another to copy, take, make, or obtain, any sketch, photograph, photographic negative, blue print, plan, map, model, instrument, appliance, document, writing or note of anything connected with the national defence...
[w]hoever, in time of war, with intent that the same shall be communicated to the enemy, shall collect, record, publish or communicate, or attempt to elicit any information with respect to the movement, numbers, description, condition, or disposition of any of the armed forces, ships, aircraft, or war materials of the United States, or with respect to the plans or conduct, or supposed plans or conduct of any naval of military operations, or with respect to any works or measures undertaken for or connected with, or intended for the fortification of any place, or any other information relating to the public defence, which might be useful to the enemy, shall be punished by death or by imprisonment for not more than thirty years.1