Hi everyone, I’m very impressive with HTB’s Pwnbox design. I wonder how I change my terminal so when I open it It will have the [golden star] before the sign “$” like the one in the Pwnbox. I took a look at the .bashrc file of Pwnbox’s terminal but found nothing.
I’d definitely recommend checking out Linux PS1s, here is an article. https://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
Thank you so much <3
Finally I made it, looks so cool. Thank you for the guide!
Type your comment> @grumpy8464 said:
Finally I made it, looks so cool. Thank you for the guide!
Congratulations! I’m happy you got it working!
just a note for next time, when you’re replying to me, either qoute or @ me in the post or else I won’t know if you replied to me or get a notification about it.
Type your comment> @PapyrusTheGuru said:
Type your comment> @grumpy8464 said:
Finally I made it, looks so cool. Thank you for the guide!
Congratulations! I’m happy you got it working!
just a note for next time, when you’re replying to me, either qoute or @ me in the post or else I won’t know if you replied to me or get a notification about it.
Thank you for the tips, I still new around here so I didn’t know how to reply to you at all :((
Type your comment> @grumpy8464 said:
Type your comment> @PapyrusTheGuru said:
Type your comment> @grumpy8464 said:
Finally I made it, looks so cool. Thank you for the guide!
Congratulations! I’m happy you got it working!
just a note for next time, when you’re replying to me, either qoute or @ me in the post or else I won’t know if you replied to me or get a notification about it.
Thank you for the tips, I still new around here so I didn’t know how to reply to you at all :((
It’s fine, welcome to the HTB community anyway! I hope you enjoy it as much as I do! Feel free to message me anytime you need help with something or a box, as my signature below says, “I’m available always 24 7.”.
If this can help i played a bit with that at the beginning and changed the colors a bit, plus replaces the star and cross symbols with “*” and “!”, and i put the same in bashrc for root but with different colors.
Looks like this:
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\]"
Type your comment> @lebutter said:
If this can help i played a bit with that at the beginning and changed the colors a bit, plus replaces the star and cross symbols with “*” and “!”, and i put the same in bashrc for root but with different colors.
Looks like this:
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\]"
Nah I managed to change it already but thank you for your reply