Spectroscopy is a powerful tool to identify the specific fingerprints of analytes in a label-free way. However, conventional sensing methods face unavoidable barriers in analyzing trace-amount target molecules due to the difficulties of enhancing the broadband molecular absorption. Here, we propose a sensing scheme to achieve strong fingerprint absorption based on the angular-scanning strategy on an all-silicon metasurface. By integrating the mid-infrared and terahertz sensing units into a single metasurface, the sensor can efficiently identify 2,4-DNT with high sensitivity. The results reveal that the fingerprint peak in the enhanced fingerprint spectrum is formed by the linked envelope. It exhibits a significant enhancement factor exceeding 64-fold in the terahertz region and more than 55-fold in the mid-infrared region. Particularly, the corresponding identification limit of 2,4-DNT is 1.32 µg cm-2, respectively. Our study will provide a novel research idea in identifying trace-amount explosives and advance practical applications of absorption spectroscopy enhancement identification in civil and military security industries.