command
cat access_log |cut -d " " -f4|sort |uniq -c |sort -n -r
PS: cut -d " " -f4
equals to awk -F " " '{print $4}'
command
cat access_log |cut -d " " -f4|sort |uniq -c |sort -n -r
PS: cut -d " " -f4
equals to awk -F " " '{print $4}'
aes-256-cbc encrypt/decrypt:
echo -n "test 1234" | openssl aes-256-cbc -a -K `echo -n '0123456789abcdefghijklmnopqrstuv' |xxd -c 256 -ps` -iv 0
echo -n "test 1234" | openssl enc -nosalt -aes-256-cbc -base64 -K `echo -n '0123456789abcdefghijklmnopqrstuv' |xxd -c 256 -ps` -iv 0
echo "WC6m55gjidpPpqXZJbagzg==" | openssl aes-256-cbc -d -a -K `echo -n '0123456789abcdefghijklmnopqrstuv' |xxd -c 256 -ps` -iv 0
aes-128-cbc encrypt/decrypt:
echo -n "test 1234" |openssl aes-128-cbc -iv f123 -K 1223 -a
echo "R9MVzzWBA/Ye5qu9a4hX6A==" |openssl aes-128-cbc -iv f123 -K 1223 -a -d
string to hex:
echo -n '0123456789abcdefghijklmnopqrstuv' |xxd -c 256 -ps