The German invaders treated any resistance—such as sabotaging rail lines—as illegal and immoral, and shot the offenders and burned buildings in retaliation. In addition, they tended to suspect that most civilians were potential francs-tireurs  and, accordingly, took and sometimes killed hostages from among the civilian population. The German army executed over 6,500 French and Belgian civilians between August and November 1914, usually in near-random large-scale shootings of civilians ordered by junior German officers. The German Army destroyed 15,000-20,000 buildings—most famously the university library at Louvain—and generated a wave of refugees of over a million people. Over half the German regiments in Belgium were involved in major incidents. Thousands of workers were shipped to Germany to work in factories. British propaganda dramatising the Rape of Belgium attracted much attention in the United States, while Berlin said it was both lawful and necessary because of the threat of franc-tireurs like those in France in 1870. The British and French magnified the reports and disseminated them at home and in the United States, where they played a major role in dissolving support for Germany.
Question: Any resistance against the German invaders caused them to retaliate using what means?
Answer: shot the offenders | burned buildings