2006-10-01から1日間の記事一覧

sshowとlogsurferを使ったSSH総当たりlogin対策

'.* \+ ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}):[0-9]{1,5} -> ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}):[0-9]{1,5}.* GUESS: Password authentication failed' - - - 0 open "$2:.* -> .* GUESS: Password authentication failed" "$2…

全ての行を1行にまとめ縦棒で区切る

cat file | xargs | tr ' ' '|'