Very Basic Brute forceing script 05-14-2017, 11:54 AM
#1
I made a very basic brute force script in python, using itertools, Later on I will be Releasing my Basic RainbowTableAPI which can be used with this tool.
Please note that all the tools I post are designed for educational purposes, their are plenty of efficient tools to use for real pen-testing.
Please note that all the tools I post are designed for educational purposes, their are plenty of efficient tools to use for real pen-testing.
Code:
import itertools
def bruteforce(charset, min_length,maxlength):
  return (''.join(candidate)
    for candidate in itertools.chain.from_iterable(itertools.product(charset, repeat=i)
    for i in range(min_length, maxlength + 1)))
#Test of script
lst = list(bruteforce("0123456789",2,3))
#Outputs permutations
for i in range(len(lst)):
  print(lst[i])
![[+]](https://sinister.ly/images/modern/collapse_collapsed.png)


![[Image: hJkWWcF.png]](http://i.imgur.com/hJkWWcF.png)