To bruteforce a wallet.dat file you would need to follow these steps.
Install python from python.org
Download john the ripper from github
run the script bitcoin2john.py to extract the hash
get hashcat from hashcat.net
With hashcat you can search the entire space of numbers of your choice using a mask ?d?d?d?d?d?d and increment.
Your hashcat command would ...