Imported from https://github.com/NeuralSec/Daedalus-attack
