Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.
/ my-zsh-config Public archive

// (Shell) zsh: highlights ip address at prompt.

Notifications You must be signed in to change notification settings

heapbytes/my-zsh-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

my-zsh-config

A zsh theme that highlight ip address

  • Generally, while creating payloads for reverse shell we need ip address, this following theme highlights the ip address

eth0/ wlp6s0 ip highlight

eth0

tun0 ip highlight

tun0

How-to-use

  • Install oh-my-zsh from here

  • Copy .zsh-themes to ~/.oh-my-zsh/themes/ with : cp *.zsh-theme ~/.oh-my-zsh/themes/

  • Copy .zshrc in your home directory with cp ~/.zshrc backup-old.zshrc && mv .zshrc ~/.zshrc

  • The default .zshrc file displays tun0 ip address

  • To set the ip address from tun0 to private ip, set ZSH_THEME to localip

  • To set the ip address from eth0 /wlp6s0 to tun0 ip, set ZSH_THEME to tunip

Note

  • The current zsh theme is simply a edit of rkj theme of oh-my-zsh

Releases

No releases published

Packages

No packages published

Languages