If you are looking for iphone .ipsw file for ios 7, the download link is provided below
OS 7.1.2 (iPhone 4 GSM): iPhone3,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 4 8GB): iPhone3,2_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 4 CDMA): iPhone3,3_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 4S): iPhone4,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5 GSM): iPhone5,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5 GSM+CDMA): iPhone5,2_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5c GSM): iPhone5,3_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5c GSM+CDMA): iPhone5,4_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5s GSM): iPhone6,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5s GSM+CDMA): iPhone6,2_7.1.2_11D257_Restore.ipsw
OS 7.1.2 (iPhone 4 GSM): iPhone3,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 4 8GB): iPhone3,2_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 4 CDMA): iPhone3,3_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 4S): iPhone4,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5 GSM): iPhone5,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5 GSM+CDMA): iPhone5,2_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5c GSM): iPhone5,3_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5c GSM+CDMA): iPhone5,4_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5s GSM): iPhone6,1_7.1.2_11D257_Restore.ipsw
iOS 7.1.2 (iPhone 5s GSM+CDMA): iPhone6,2_7.1.2_11D257_Restore.ipsw