Merge branch 'dev'
[perso/Immae/Projets/Cryptomonnaies/Cryptoportfolio/Trader.git] / obfuscate
1 #!/bin/bash
2
3 f="$1"
4 sed -i -e 's/"Key": ".*",/"Key": "01234567-89ABCDEF-GHIJKLMN-OPQRSTUV",/' $f
5 sed -i -e 's/"Sign": ".*",/"Sign": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",/' $f
6 sed -i -e 's/\\"depositAddress\\":\\"[^"]*\\"/\\"depositAddress\\":\\"1HelloWorld\\"/g' $f
7 sed -i -e 's/"date": "....-..-..T..:..:.........",/"date": "2018-04-07T12:00:00.000000",/' $f