~alienagain/sec_scripts

3f4162ad5701f66d6f2e953423a1cc27c9acfb83 — paula 1 year, 5 months ago 01b0bf1
adding an encryption experiment
1 files changed, 15 insertions(+), 0 deletions(-)

A partial_enc/simulacro.sh
A partial_enc/simulacro.sh => partial_enc/simulacro.sh +15 -0
@@ 0,0 1,15 @@
#!/bin/bash

#position in where to change the contents
pos=$1

#binary file
bfile=$2

xxd $bfile > tmp

test=$(head -n $pos tmp | tail -1)
echo "$test"

rm tmp