search for: hex2base64

Displaying 2 results from an estimated 2 matches for "hex2base64".

2017 Nov 05
0
ntfs user mappings?
..."2" ];then output="${output}$(chars 2 ${hex})" output="${output}$(chars 12 ${hex})" else output="${output}$(swap_endian $(chars 8 ${hex}))" fi field=$((${field}+1)) test=${input} input=$(echo ${input}|cut -d- -f2-) done echo ${output} } hex2base64() { local input=$1 local output="" while [ "${input}" != "" ];do output="${output}\x${input:0:2}" input=${input:2} done echo -ne "${output}"|base64 } base64="AQUAAAAAAAUVAAAAoGXPfnhLm1/nfIdwCRwBAA==" echo ${base64} ihex=$(base64_...
2017 Nov 05
3
ntfs user mappings?
On Sat, 4 Nov 2017 18:42:36 -0600 Jeff Sadowski <jeff.sadowski at gmail.com> wrote: > I decided to continue trying the ldap route as well > > littlehex2int() > { > hex=$1 > hex_chunk=$(echo ${hex}|cut -c$2-$3) > little=$(echo ${hex_chunk}|awk '{print > substr($0,7,2)substr($0,5,2)substr($0,3,2)substr($0,1,2)}') > echo "ibase=16; ${little}" |