Here is the simple way to generate all possible combinations of 4 digits in a text file which is useful for attacks like brute force. In python with the help of itertools.product https://docs.python.org/3/library/ite... (need a list of strings, just use)
Code Link: http://www.onemadgeek.com/2017/04/gen...