A French teenager who used a Kalashnikov to shoot three men dead obtained his murder weapon on the Internet.