[Introduction to Bash Scripting][Comparison Operators]

Note that this won’t work on Mac as it has an outdated version of bash.

1 Like

Bro, you helped a lot, thanks!

i use this code, but the script cant running

#!/bin/bash

var=“8dm7KsjU28B7v621JLs”
value=“ERmFRMVZ0U2paTLJYTKxDZz09Cg”

for i in {1…40}
do
var=$(echo $var | base64)

if [[ $var == *"$value"* ]] && [ ${#var} -gt 113450 ]; then
    echo $var | tail -c 20
    break
fi

done