The terrifying moment shooter opens fire on man walking into western Sydney home

Terrifying footage of a gunman who attempted to open fire on a man walking into his western Sydney home has been released by police.

Two masked men dressed in black ran toward the home on Valencia Street in Caddens, near Penrith, about 2.20pm on Tuesday and fired several shots at the 31-year-old resident, police said.

Only one of the masked men can be seen in the footage.

The attackers fled in a stolen black Mercedes A45 coupe which was discovered on fire about 3pm about 30km away on Friend Street, Merrylands.

The 31-year-old man managed to run into the house uninjured.

The attack is being treated as an attempted murder, Detective Superintendent Brett McFadden said.

A gunman is seen on the footage opening fire at a man in Caddens. Source: NSW Police

"This is a reckless attack, there is no doubt in my mind the intent on the part of the offenders was to inflict grievous bodily harm or kill their intended target," Detective Superintendent McFadden told reporters in Sydney on Thursday.

"The fact that none of the shots managed to impact the intended target – I can't explain how it didn't happen."

Police including the Strike Force Raptor anti-gang squad are investigating the attack's links to other incidents which officers believe involved the intended victim, who is known to police.

The gunman runs away from the scene. Source: NSW Police

"It's not an isolated incident ... it's a targeted attack linked to other activities which the intended target was most likely involved," Detective Superintendent McFadden said.

As part of the investigation, officers on Thursday conducted several firearm searches across western Sydney and the Sydney CBD.

Police have called on anyone with information or dash cam footage of the black Mercedes to come forward.

Anybody with information should contact Crime Stoppers on 1800 333 000 or submit a report online.

Do you have a story tip? Email: newsroomau@yahoonews.com.

You can also follow us on Facebook, download the Yahoo News app from iTunes or Google Play and stay up to date with the latest news with Yahoo’s daily newsletter. Sign up here.

competition