Moorer

PentestBox - Open batch to external drives properly.

Feb 9th, 2018
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.35 KB | None | 0 0
  1. REM Automatically sets the console session to the path of your Pentestbox location. Useful for external installations, such as a thumbdrive.
  2. REM Add to the end of file %CD%/Pentestbox/config/init.bat. %CD% being the correct drive where Pentestbox is installed.
  3. cd %cd:~0,3%
  4. cd /d %pentestbox_ROOT%
  5. cls
  6. @ECHO OFF
  7. cecho /green "Loaded PentestBox for Windows"
Advertisement
Add Comment
Please, Sign In to add comment