There are pros and cons of working with external recruiters, but that they will know (and be willing to disclose) the salary range is absolutely one of them, as they don't want their time wasted either.