The dynamic correlation between degree and betweenness of complex network under attack