Follow

3. Set Up and Use ShellGPT in the CEHv13 Parrot Security VM

Overview

ShellGPT is an AI-powered assistant integrated into CEHv13 labs to help with tasks like reconnaissance, scanning, and automation. You’ll configure ShellGPT inside the Parrot Security VM using your AI Activation Key provided by EC-Council.

Once set up, ShellGPT allows you to run ethical hacking tools more efficiently by generating commands for you to execute directly in the terminal.


Before You Begin


Step 1 – Launch Parrot Security VM

  1. Start your CEHv13 lab from the lab portal.

  2. Select and open the Parrot Security VM.

  3. Log in using the credentials provided in your lab manual.


Step 2 – Switch to Root User

sudo su

When prompted, enter the password:

toor

Step 3 – Run the ShellGPT Setup Script

bash sgpt.sh

Step 4 – Enter Your AI Activation Key

  • When prompted, paste your AI Activation Key and press Enter.

  • This key is provided by EC-Council and is already funded for use.

  • You do not need an OpenAI account, credit card, or credits.


Step 5 – Begin Using ShellGPT

Format for commands:

sgpt --chat <topic> --shell "<your command prompt>"

Example Commands

Harvest Emails from a Domain

sgpt --chat footprint --shell "Use theHarvester to gather email accounts associated with 'microsoft.com', limiting results to 200, and using 'baidu' as a data source"

Gather Social Media Information

sgpt --chat footprint --shell "Use Sherlock to gather personal information about 'Sundar Pichai' and save the result in recon.txt"

Perform a DNS Lookup

sgpt --chat footprint --shell "Install and use DNSRecon to perform DNS enumeration on the target domain www.certifiedhacker.com"

Tips for Success

  • Commands may vary depending on your lab’s available tools.

  • Review lab notes for syntax changes or extra steps.

  • If a command fails, ShellGPT often suggests alternatives — try them.


Troubleshooting

  • Invalid Key Error – Ensure the AI Key is entered exactly as provided.

  • Command Not Found – The required tool may need to be installed in the VM.

  • Network Issues – ShellGPT requires an active lab network connection.


Need Help?


Navigation

Previous Step: Transfer the AI Key to the CEHv13 Parrot Security VM
Next Step: ShellGPT Quick Setup – CEHv13 Parrot Security VM

Related Items – CEHv13 AI & ShellGPT Setup

Follow the workflow below to set up and use ShellGPT in your CEHv13 labs:

1️⃣ Retrieve Your CEHv13 AI Activation Key (Academia Students)
Learn how to get your AI Activation Key from the ASPEN portal.

2️⃣ Transfer the AI Key to the CEHv13 Parrot Security VM
Move your AI Activation Key into the Parrot VM for lab use.

3️⃣ Set Up and Use ShellGPT in the CEHv13 Parrot Security VM
Configure ShellGPT and start using AI-assisted commands.

4️⃣ ShellGPT Quick Setup – CEHv13 Parrot Security VM (optional)
A short version of the setup guide for experienced users.

5️⃣ Troubleshooting ShellGPT in the CEHv13 Parrot Security VM
Resolve common ShellGPT errors and setup issues.


 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk