better obfuscation for fetch command output
This commit is contained in:
1 parent
83d93de5f0
commit
bcb1e3094f
3 files changed
+93
-11
No files matched your search
@@ -46,7 +46,25 @@ COMMANDS+=("show lldp neighbors $LLDPINTERFACE")
|
||||
# ntp commands
|
||||
COMMANDS+=("show sntp status")
|
||||
|
||||
# !!! keeep replacement the same lenght
|
||||
OBFUSCATE=()
|
||||
OBFUSCATE+=("sw-cb-&&&switch-")
|
||||
OBFUSCATE+=("PSZ21221ECM&&&ABC12234XYZ")
|
||||
# keys and secrets
|
||||
OBFUSCATE+=("[a-f0-9]{40}&&&0123456789abcdef0123456789abcdef01234567")
|
||||
OBFUSCATE+=("[a-zA-Z0-9+/]{30}&&&ABCD1234abcdABCD1234abcdABCD12")
|
||||
# domains
|
||||
OBFUSCATE+=("sw-cb-vratnice-&&&switch-no-2548-")
|
||||
OBFUSCATE+=("sw-cb-&&&switch")
|
||||
OBFUSCATE+=("cb.madeta.cz&&&examples.com")
|
||||
OBFUSCATE+=("madeta.cz&&&examp.com")
|
||||
# names and acronims
|
||||
OBFUSCATE+=("CZ;Ceske Budejovice;Rudolfovska 83;vr&&&Something;Somewhere;Somestreet;others")
|
||||
OBFUSCATE+=("MDT&&&ABC")
|
||||
OBFUSCATE+=("Madeta&&&Abcdef")
|
||||
OBFUSCATE+=("NECOSS&&&Abcdef")
|
||||
OBFUSCATE+=("Atlantis&&&Abcdefgh")
|
||||
OBFUSCATE+=("PSZ21221ECM&&&ABC12234XYZ")
|
||||
# specific repairs for example:
|
||||
# - versions confused with IPs
|
||||
OBFUSCATE+=("3.3.3.73&&&2.4.5.71")
|
||||
OBFUSCATE+=("3.3.7.3&&&2.2.8.4")
|
||||
|
||||
Reference in new issue
Block a user