Mot de passe avec / ou " casse #29

Open
opened 2018-11-29 18:20:39 +01:00 by Ghost · 0 comments

Si on met un / ou " ça casse le sed du template mail.

        cat $TPL_MAIL | \
            sed -e "s/LOGIN/$in_login/g ; s/SERVERNAME/$in_wwwdomain/ ; s/PASSE1/$in_passwd/ ; s/PASSE2/$in_dbpasswd/ ; s/RANDOM/$random/ ; s/QUOTA/$quota/ ; s/RCPTTO/$in_mail/ ; s/DBNAME/$in_dbname/ ; s#HOME_DIR#$HOME_DIR#"| \
            /usr/lib/sendmail -oi -t -f "$CONTACT_MAIL" 

Améliorer ça…

Si on met un / ou " ça casse le sed du template mail. ``` cat $TPL_MAIL | \ sed -e "s/LOGIN/$in_login/g ; s/SERVERNAME/$in_wwwdomain/ ; s/PASSE1/$in_passwd/ ; s/PASSE2/$in_dbpasswd/ ; s/RANDOM/$random/ ; s/QUOTA/$quota/ ; s/RCPTTO/$in_mail/ ; s/DBNAME/$in_dbname/ ; s#HOME_DIR#$HOME_DIR#"| \ /usr/lib/sendmail -oi -t -f "$CONTACT_MAIL" ``` Améliorer ça…
Ghost added the
Script
Bug
Forge
labels 2018-11-29 18:20:39 +01:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evoadmin-web#29
No description provided.