A mock API attracted hackers immediately, with attacks coming from all over the world