Section 6A. Whoever sets up or promotes a plan by which goods or anything of value is sold to a person for a consideration and upon the further consideration that the purchaser agrees to secure one or more persons to participate in the plan by respectively making a similar purchase or purchases and in turn agreeing to secure one or more persons likewise to join in the said plan, each purchaser being given the right to secure money, credits, goods or something of value, depending upon the number of persons joining in the plan, shall be held to have set up and promoted a lottery and shall be punished as provided in section seven. The supreme judicial court shall have jurisdiction in equity upon a petition filed by the attorney general to enjoin the further prosecution of any such plan and to appoint receivers to secure and distribute the assets received thereunder.