- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
<?php
$str=$argv[1];
$sz=sizeof($str);
$c=1;
while($c){
for($i=0;$i<=10;$i++){
$str = strtolower($str);
$per = str_shuffle($str);
#echo "$per\n";
$res=system("egrep ' ".$per." ' ./dict.txt | gawk '{ print $1 }'");
if($res!="" && $sz=sizeof($res)){echo "Success $res\n";};
};
};
?>
Комментарии (2) RSS