Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config=$(echo "wp-config.php");if [ -e "$config" ]; then dbname=$(awk -F "'" '/DB_N/{print $4}' $config); dbuser=$(awk -F "'" '/DB_U/{print $4}' $config);dbpass=$(awk -F "'" '/DB_P/{print $4}' $config);dbpre=$(awk -F "'" '/table_prefix/{print $2}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement