Skip to content

Zsh pentesting plugin that gives access to `penteston` and `pentestoff` functions for use when doing CTFs

License

Notifications You must be signed in to change notification settings

Doc0x1/zpentest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

zpentest - Zsh plugin for pentesting

Description

This plugin adds two functions to your zsh shell:

penteston --lhost <local IP> --rhost <remote IP> - Sets up your environment with two persistent environment variables:

  • $LHOST: Your IP address (local IP)
  • $RHOST: Your target's IP address (remote IP)

pentestoff - Unsets the two environment variables and stops them from persisting

  • Run this when you're finished with the CTF.

Installation

OhMyZsh install:

git clone https://github.com/Doc0x1/zpentest.git $ZSH/custom/plugins/zpentest

Then add zpentest to your plugins array in your .zshrc file:

plugins=(zpentest)

I've only ever used ohmyzsh, so if you are using a different Zsh plugin manager, you're on your own with figuring out how to add my plugin

  • You can always copy the functions to your .zshrc file (or something similar) if you can't get the plugin working.

About

Zsh pentesting plugin that gives access to `penteston` and `pentestoff` functions for use when doing CTFs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages