# Censor connects cat connects-* | sed -e '/[0-9][0-9]\/[0-9][0-9]\/[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]: [0-9 ]/s/\( co.* \)[^ ]*$/\1<hidden>/' # Censor connect commands cat commands-* | sed -e '/: co /s/^\(.*): co [^ ]* \)[^ ]*$/\1<hidden>/; /: con /s/^\(.*): con [^ ]* \)[^ ]*$/\1<hidden>/; /: connect /s/^\(.*): connect [^ ]* \)[^ ]*$/\1<hidden>/' | grep '<hidden>' # Censor su/recon commands cat commands-* | sed -e '/: recon /s/^\(.*): recon [^ ]* \)[^ ]*$/\1<hidden>/; /: reconnect /s/^\(.*): reconnect [^ ]* \)[^ ]*$/\1<hidden>/; /: relog /s/^\(.*): relog [^ ]* \)[^ ]*$/\1<hidden>/; /: su /s/^\(.*): su [^ ]* \)[^ ]*$/\1<hidden>/' | grep '<hidden>' # Censor @pcreate, @name, @pass, @passwd, @password, @newpasswd, @newpassword cat commands-* | sed -e '/: @pcreate /s/^\(.*): @pcreate [^= ]*[ =]*\)[^ ]*$/\1<hidden>/' | grep '<hidden>' cat commands-* | sed -e '/: @name /s/^\(.*): @name [^ ]* \)[^ ]*$/\1<hidden>/' | grep '<hidden>' cat commands-* | sed -e '/: @pass /s/^\(.*): @pass \).*$/\1<hidden>=<hidden>/' | grep '<hidden>' cat commands-* | sed -e '/: @passwd /s/^\(.*): @passwd \).*$/\1<hidden>=<hidden>/' | grep '<hidden>' cat commands-* | sed -e '/: @password /s/^\(.*): @password \).*$/\1<hidden>=<hidden>/' | grep '<hidden>' cat commands-* | sed -e '/: @newpasswd /s/^\(.*): @newpasswd [^= ]*[ =]*\).*$/\1<hidden>/' | grep '<hidden>' cat commands-* | sed -e '/: @newpassword /s/^\(.*): @newpassword [^= ]*[ =]*\).*$/\1<hidden>/' | grep '<hidden>'
Note: You are viewing an old version of this page. View the current version.