theGuildHall / pwnbox

Instructions on how to create your very own Pwnbox, originally created by HTB
386 stars 74 forks source link

terminal new issue #9

Closed dimostenis21 closed 4 years ago

dimostenis21 commented 4 years ago

I dont have the star :| Screenshot_20200716_195644.png

theGuildHall commented 4 years ago

can you post the contents of your .bashrc?

in mine, where the line starts if [ "$color_prompt" = yes ]; then, i have the below PS1 for my tmux which includes the star.

PS1="\[\033[1;32m\]\342\224\214\342\224\200$([[ $(/opt/vpnbash.sh) == *"10."* ]] && echo "[\[\033[1;34m\]$(/opt/vpnserver.sh)\[\033[1;32m\]]\342\224\200[\[\033[1;37m\]$(/opt/vpnbash.sh)\[\033[1;32m\]]\342\224\200")[\[\033[1;37m\]\u\[\033[01;32m\]@\[\033[01;34m\]\h\[\033[1;32m\]]\342\224\200[\[\033[1;37m\]\w\[\033[1;32m\]]\n\[\033[1;32m\]\342\224\224\342\224\200\342\224\200\342\225\274 [\[\e[01;33m\]??\[\e[01;32m\]]\\$ \[\e[0m\]"
dimostenis21 commented 4 years ago

PS1="[\033[1;32m]\342\224\214\342\224\200$([[ $(/opt/vpnbash.sh) == "10." ]] && echo "[[\033[1;34m]$(/opt/vpnserver.sh)[\033[1;32m]]\342\224\200[[\033[1;37m]$(/opt/vpnbash.sh)[\033[1;32m]]\342\224\200")[[\033[1;37m]\u[\033[01;32m]@[\033[01;34m]\h[\033[1;32m]]\342\224\200[[\033[1;37m]\w[\033[1;32m]]\n[\033[1;32m]\342\224\224\342\224\200\342\224\200\342\225\274 [[\e[01;33m]??[\e[01;32m]]\$ [\e[0m]"

I removed the ?? and copied a star text like this : ⭒ from internet and now is fine!