When any contractor engages or attempts to engage in the business of contracting as herein defined, in violation of this chapter, the Contractors Licensing Board shall have the right to go into a court where venue is proper and is of competent jurisdiction and, upon affidavit, secure a writ of injunction, without bond, restraining and prohibiting the contractor from performance of the work then being done or about to commence.