# this should be a start, it still needs output all permutations of the cipher applied over all possible substrings in the ciphertext because not all parts may have the same cipher applied and it also needs to brute force a salt up to a reasonable length to precede/follow the output text since salting passwords with a memorized constant is common.
def ceasar_permutations(ciphertext):
alpabets = [ascii_lowercase, ascii_uppercase,'0123456789',' ~!@#$%^&*()_+``-=[]{}:";\\\<>?,./]']
for perm in permutations(alpabets):
alphabet = ""
for p in perm:
alphabet+=p
for i in range(0, alphabet.__len__()):
shifted_alphabet = alphabet[i:] + alphabet[:i]
table = str.maketrans(alphabet, shifted_alphabet)
print( ciphertext.translate(table))