Not sure what you're trying to say here. sudo is not required for the nvram command.Code:➜ ~ nvramp () { printf "$(nvram $1 | sed -E '/^'$1'./s///;s/\\/\\\\/g;s/%/\\x/g')" } ➜ ~ sudo nvramp () { printf "$(nvram $1 | sed -E '/^'$1'./s///;s/\\/\\\\/g;s/%/\\x/g')" } ➜ ~ ➜ ~ nvramp () { printf "$(nvram $1 | sed -E '/^'$1'./s///;s/\\/\\\\/g;s/%/\\x/g')" }
That is 0x7ff which has all 11 bits set. What about it?Code:<key>csr-active-config</key> <data>B/8=</data>
[automerge]1576126586[/automerge]
Oh wait, that's 0x07ff big endian. Shouldn't it be 4 bytes long though? And also it should be little endian.
Code:
printf "\xff\x07\x00\x00" | xxd -p
ff070000
printf "\xff\x07\x00\x00" | base64
/wcAAA==
Last edited: