Gerar Wordlist aleatória alfanumérica

1. Gerar Wordlist aleatória alfanumérica

Fernando Nanzer
fenanzer

(usa Debian)

Enviado em 02/07/2018 - 15:39h

Boa tarde pessoal,

Poderiam me ajudar?
Sou frequentador assíduo aqui do fórum, apesar de nunca ter criado usuário para participar da página antes, mas como não consegui localizar solução para meu problema, acabei criando usuário para solicitar ajuda de vocês.

Trabalhamos com dev aqui na empresa e estamos tentando validar um código que gera uma combinação aleatória de 8 caracteres, utilizando letras maiúsculas e minúsculas e números (0 a 9), conforme o seguinte 'padrão': 1vMfWX6D.

Estou tentando criar uma wordlist com o crunch para verificar a quantidade de combinações matemáticas possíveis para tal arranjo. A lista 'geral', eu consegui gerar, porém não consigo aplicar os filtros que gostaríamos, que seria geração de combinações com no máximo 2 repetições de caracteres em sequencia, sejam números ou letras.

Não sei se fui claro na explicação, mas na prática, seria o seguinte: Nosso arranjo numérico, foi limitado no código, a nunca apresentar mais do que duas repetições simultâneas no mesmo 'valor'. Então, por exemplo, em uma sequencia ABC2EFD3 nunca deverá ocorrer mais de uma repetição dupla por combinação, sequência no mesmo 'case' (maiúscula ou minúscula) (abC pode ocorrer, abc não) superior a 3 caracteres ou os dois casos juntos.

Quanto entro com esses parâmetros, basicamente o -p no crunch, dá erro no comando. Poderiam me auxiliar, por gentileza? Não sei se minha sintaxe está errada ou se é limitação do próprio programa.

root@kali:~# crunch 8 8 -p abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 -d 2@ -o /Documents/wordlist.lst
Crunch will now generate approximately the following amount of data: 11040 bytes
0 MB
0 GB
0 TB
0 PB
Crunch will now generate the following number of lines: 120
-d-o/Documents/wordlist.lst2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-d-o/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@
-d-o2@/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-d-o2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst
-d-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst2@
-d-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@/Documents/wordlist.lst
-d/Documents/wordlist.lst-o2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-d/Documents/wordlist.lst-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@
-d/Documents/wordlist.lst2@-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-d/Documents/wordlist.lst2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o
-d/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o2@
-d/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-o
-d2@-o/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-d2@-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst
-d2@/Documents/wordlist.lst-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-d2@/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o
-d2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o/Documents/wordlist.lst
-d2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-o
-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o/Documents/wordlist.lst2@
-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o2@/Documents/wordlist.lst
-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-o2@
-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst2@-o
-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-o/Documents/wordlist.lst
-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@/Documents/wordlist.lst-o
-o-d/Documents/wordlist.lst2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-o-d/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@
-o-d2@/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-o-d2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst
-o-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst2@
-o-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@/Documents/wordlist.lst
-o/Documents/wordlist.lst-d2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-o/Documents/wordlist.lst-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@
-o/Documents/wordlist.lst2@-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-o/Documents/wordlist.lst2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d
-o/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d2@
-o/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-d
-o2@-d/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-o2@-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst
-o2@/Documents/wordlist.lst-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
-o2@/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d
-o2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d/Documents/wordlist.lst
-o2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-d
-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d/Documents/wordlist.lst2@
-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d2@/Documents/wordlist.lst
-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-d2@
-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst2@-d
-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-d/Documents/wordlist.lst
-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@/Documents/wordlist.lst-d
/Documents/wordlist.lst-d-o2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
/Documents/wordlist.lst-d-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@
/Documents/wordlist.lst-d2@-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
/Documents/wordlist.lst-d2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o
/Documents/wordlist.lst-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o2@
/Documents/wordlist.lst-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-o
/Documents/wordlist.lst-o-d2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
/Documents/wordlist.lst-o-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@
/Documents/wordlist.lst-o2@-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
/Documents/wordlist.lst-o2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d
/Documents/wordlist.lst-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d2@
/Documents/wordlist.lst-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-d
/Documents/wordlist.lst2@-d-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
/Documents/wordlist.lst2@-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o
/Documents/wordlist.lst2@-o-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
/Documents/wordlist.lst2@-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d
/Documents/wordlist.lst2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d-o
/Documents/wordlist.lst2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o-d
/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d-o2@
/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d2@-o
/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o-d2@
/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o2@-d
/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-d-o
/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-o-d
2@-d-o/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
2@-d-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst
2@-d/Documents/wordlist.lst-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
2@-d/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o
2@-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o/Documents/wordlist.lst
2@-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-o
2@-o-d/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
2@-o-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst
2@-o/Documents/wordlist.lst-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
2@-o/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d
2@-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d/Documents/wordlist.lst
2@-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-d
2@/Documents/wordlist.lst-d-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
2@/Documents/wordlist.lst-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o
2@/Documents/wordlist.lst-o-dabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
2@/Documents/wordlist.lst-oabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d
2@/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d-o
2@/Documents/wordlist.lstabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o-d
2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d-o/Documents/wordlist.lst
2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d/Documents/wordlist.lst-o
2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o-d/Documents/wordlist.lst
2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o/Documents/wordlist.lst-d
2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-d-o
2@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-o-d
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d-o/Documents/wordlist.lst2@
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d-o2@/Documents/wordlist.lst
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d/Documents/wordlist.lst-o2@
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d/Documents/wordlist.lst2@-o
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d2@-o/Documents/wordlist.lst
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-d2@/Documents/wordlist.lst-o
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o-d/Documents/wordlist.lst2@
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o-d2@/Documents/wordlist.lst
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o/Documents/wordlist.lst-d2@
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o/Documents/wordlist.lst2@-d
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o2@-d/Documents/wordlist.lst
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-o2@/Documents/wordlist.lst-d
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-d-o2@
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-d2@-o
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-o-d2@
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst-o2@-d
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst2@-d-o
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/Documents/wordlist.lst2@-o-d
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-d-o/Documents/wordlist.lst
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-d/Documents/wordlist.lst-o
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-o-d/Documents/wordlist.lst
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@-o/Documents/wordlist.lst-d
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@/Documents/wordlist.lst-d-o
abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567892@/Documents/wordlist.lst-o-d

Estou utilizando o user root no Kali por questões práticas. É uma VM pronta que a equipe de HT da empresa usa como padrão. Ae importei ela só para usar o crunch.


  






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts