Starting Point:Enumeration->how to read the content of prod.dtsConfig file

Hi, I am a noob in the hack the box. I want to know that how to open the prod.dtsConfig file in order to get the password of ARCHETYPE\sql_svc? Thx first

Not familiar with starting point, but in general if there’s a file I can’t read easily (.db file, a binary, etc.) I run strings filename, so maybe
strings prod.dtsConfig
and you can also pipe that to grep if you know what you’re looking for on linux: strings prod.dtsConfig | grep -i password
I think it’s
strings prod.dtsConfig | findstr /i password on windows machines, but don’t quote me on that

Type your comment> @jiaxsun said:

Not familiar with starting point, but in general if there’s a file I can’t read easily (.db file, a binary, etc.) I run strings filename, so maybe
strings prod.dtsConfig
and you can also pipe that to grep if you know what you’re looking for on linux: strings prod.dtsConfig | grep -i password
I think it’s
strings prod.dtsConfig | findstr /i password on windows machines, but don’t quote me on that

Thanks for reminding

You can use a simple cat to read the file:

$cat prod.dtsConfig

simply use more prod.dts.Config. you will be able to see all the content in the file.