(b) If service upon a domestic or foreign corporation within the one hundred twenty days allowed by section three hundred six-b of this article is impracticable under paragraph one of subdivision (a) of this section or any other law, service upon the corporation may be made in such manner, and proof of service may take such form, as the court, upon motion without notice, directs.