The video showed the man, wearing glasses and a backpack, on the train from Bogor to the capital, Jakarta, lifting himself to grab the snake with his bare hands from an overhead compartment.

Carefully holding it by its tail, the man, whose identity is unknown, then swung the snake to the floor with one swift blow, appearing to kill the reptile before kicking it outside the door onto the platform, where a security guard and a military officer were in attendance as the train made an emergency stop.