Git Product home page Git Product logo

zebra_zsh's Introduction

Kali ZSH modification by Zebra

Hello, this is a modification of the new zsh config of Kali 2020.3. Its a combination of the new zsh and The Ultimate Bad Ass .bashrc File ๐Ÿ”— Link

Installation

For the installation download the Git Repo via

Download:
git clone https://github.com/zebra777/zebra_zsh.git

Backup original zshrc
cp /home/$user/.zshrc /home/$user/.zshrc.bak

Install new zsh:
You have two options for installation.

The Script edition and the variable edition.

For the script edition save the scripts of the repo at

cp -r /git-repo/scripts/ /home/$user
chmod +x for all the scripts

cp "$git repo zebra-zsh"/zshrc.zebra.edition /home/$user/.zshrc

Overwrite the old config

Activate the new config:

source /home/kali/.zshrc

The new config should work.

A little explanation:

Editing and activation:

If you activate the new config successfully your can edit the config with the alias ezsh and activate the changes with zshrc.

Load ip-addresses in the overlay:

1. Change own ip address with the following aliases:  

	`eth0`, `wlan0`, `tun0` and `tun1`  

2. Load the target IP:  
	The target IP get loaded by the script or the variable edition.  
	Script Edt.: alias `target` and enter the target ip.  
	(the ip get saved in /temp/target.txt and load into zsh. Its more
	persistance)  
	Variable Edition: Type manually `export target=<target-ip>`.  
	The target Ip get saved via variable.  

Some other useful alias are integrated:

hiscls #Clear history

portview #show open ports
activeports #show active ports

msf #start metasploit with db init
rustscan #start rustscan in docker

thmvpn #start thm vpn (path: /home/$user/vpn/thm.ovpn)
htbvpn #start htb vpn (change path!)
vpnkill #kill all vpn if you had problems

share #start http script
listener #start listener script

ghidra #start ghidra

target #start target set script

hostedit #edit /etc/hosts

thmdocs #go to thm folder (change path in .zshrc)
koth #go to koth folder
pdocs #go to the pwncat docs

zshrc #initialize new zshrc config
ezsh #edit zsh config

functions aliases:

whatvpn #Definition of the ip-address of the Bash header
extract #extract function for packed files
ftext #search for string in all files of the actual folder
cpg #copy and go to folder
mvg #move and go to folder
mkdirg #make folder and go to
cdd #go to folder and to an ls
up #Goes up a specified number of directories (i.e. up 4)
sshconfig #Open SSH config
netinfo #Output of the internal ip, vpn and routing
whatsmyip #Output of the internal ip, vpn and external ip

###ZSH Promp Config and Color at line 460

You can style your colors by search by example "green" at line 460 and change it to "red".

Try it out and have fun!

Zebra

zebra_zsh's People

Contributors

github-actions[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.