0 Membres et 3 Invités sur ce sujet
apt-get install wfrench
gunzip -d /usr/share/wordlist/rockyou.txt.gz
cat dico1 dico2 dico3 > gros_dico.txt
cat gros_dico.txt | sort | uniq > dico_final.txt
split -l $(echo $[`wc -l ton_dico | cut -d" " -f1`/2]) ton_dico
sed -n '/^.\{8\}/p' dictionnaire.txt > nouveau_dico.txt
#!/bin/bash#!/bin/sh#THC Unique Dictionnary, modded by comaXclearecho "Welcome to THC Dictionnary Merger -- Modded by comaX"while [ "$1" != "" ]; do #We read the parameterscase $1 in-i) path=$2 ;;-o) name=$2 ;;-min) min=$2 ;;-max) max=$2 ;;-h | --help) echo -e "This utility allows you to easily merge dictionnary files into one.Usage : $0 -i [Path to dictionnaries folder] -o [/foo/bar.txt]Optional :-min number : define minimum length of the words to keep (Default = 4)-max number : define maximum lenght of the words to keep (Default = 15)-z : zip output filePlease make sure there are only dictionnary files in the folder !"; exit ;;-z) zipme="1" ;;esacshiftdoneif [[ $min = "" ]]; then min="3";fiif [[ $max = "" ]]; then max="16";fimin=$(expr $min + 1)max=$(expr $max - 1)echo -e "Input folder : $pathOutput name : $nameMinimum : $(expr $min - 1)Maximum : $(expr $max + 1)Depending on the number of files and the power of your CPU, this might take a while.Just wait until 'done !Computing..."awk '{if ('$min' < length() && length < '$max') print length() "\t" $0}' $path/*.txt | sort -n | uniq | cut -f2 > $name# We read from $path all text files, remove little and long words, sort them, delete doubles and then print it to $nameif [[ $zipme = 1 ]]; then gzip $name; fiecho "Done !"exit
Coyotus, quand je vois ton drapeau sur le forum et que tu me troll, je pleure (de rire).
514arecode,text
514arecode.txt