- Fisrtly make sure you are running zsh as your shell
- download the .zshrc or .bashrc file or copy the raw file to the
~/.zshrc
or~/.bashrc
file. - remember that you must override everything in the
~/.zshrc
file. - save and run
exec zsh
orsource ~/.zshrc
or close the Terminal and reopen it for changes to take effect.
Your prompt should look like this
- So now you dont have to type
ifconfig
to view you ip address - Note when you have a VPN connected, the Prompt will show the ip of a VPN not a machine, which is good right? because we will be using the VPN IP
PrepNote is a Bash script designed to streamline the creation of structured notes for machines in an Obsidian Vault. It automates the setup and organization of notes using predefined templates.
- Easy configuration of the Obsidian Vault path.
- Automatically sets up a
Template
folder for standardized note-taking. - Creates folders and copies templates for new machines with a single command.
- Optional symlink creation for easy script access from anywhere.
- Bash (Linux or macOS)
sudo
privileges (for optional symlink setup)
-
Clone this repository:
git clone https://github.com/AmweCodex/Virtual-Machine-Mod.git cd Virtual-Machine-Mod/prepnote
-
Make the script executable:
chmod +x prepnote.sh
-
(Optional) Create a symlink for easier access:
sudo ./prepnote.sh setup
Run the setup command to configure the script:
./prepnote.sh setup
- Specify the path to your Obsidian Vault.
- A
Template
folder will be added to your Vault (if it exists in the script directory).
To create a folder and notes for a specific machine:
./prepnote.sh MACHINE_NAME
- This creates a folder for the machine in your Vault and copies the contents of the
Template
folder into it.
./prepnote.sh setup
./prepnote.sh MachineX
- Generate common listeners and reverse shells
- Save button to download Payloads from browser.
- Raw mode to cURL shells to your machine.
- Button to increment the listening port number by 1
- URI and Base64 encoding
- LocalStorage to persist your configuration
- Dark, Light and Meme Modes
- HoaxShell integration with custom listener (see link below for more information) | Credit: https://github.com/t3l3machus
git clone https://github.com/0dayCTF/reverse-shell-generator.git
mv reverse-shell-generator rshell
docker build -t rshell .
docker run -d -p 1340:80 rshell
you can add this alias on ~/.zshrc
or ~/.bashrc
alias revshell='(cd /opt/rshell/ && docker build -t rshell . && docker run -d --restart always -p 1339:80 rshell)'
Note the pathe is /opt/rshell/