Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burp report #6

Open
Saokre opened this issue Jan 31, 2025 · 1 comment
Open

Burp report #6

Saokre opened this issue Jan 31, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Saokre
Copy link

Saokre commented Jan 31, 2025

Hello
Where I can find full Burp report with all endpoints ?

"Result The automated detection and manual verification process revealed critical path traversal vulnerabilities in the web application https://localhost. Using Burp Suite, the scan identified several endpoints with potential path traversal issues. Manual checks confirmed the ability to access sensitive files like /etc/passwd, highlighting a significant security risk. These findings demonstrate the need for improved input validation and security measures to safeguard sensitive data from unauthorized access."

Pentagi successfully find path traversal vulnerability trough Burp Suite but no detailed report was found.
I check also Terminal, Vector store tabs and no endpoint was found.

@asdek asdek added enhancement New feature or request help wanted Extra attention is needed labels Feb 1, 2025
@asdek asdek self-assigned this Feb 1, 2025
@asdek
Copy link
Contributor

asdek commented Feb 1, 2025

Hello @Saokre

Thank you for reaching out, and I'm glad to hear that PentAGI successfully identified vulnerabilities. 😀

Currently, PentAGI UI doesn't provide direct access to all generated files. We're actively working on enhancing this functionality, and future updates will allow you to view and manage such reports directly from the interface. Additionally, we'll be introducing comprehensive flow execution reports in the next PentAGI release.

In the meantime, you can try the following steps to locate the Burp Suite report:

  1. Use the Terminal tab filters:

    • Navigate to the Terminal tab in the PentAGI UI.
    • At the top, you'll find a filter input field. Enter keywords like burp to filter the terminal output.
    • This should help you quickly locate any commands or outputs related to Burp Suite, which might include paths to the generated reports or additional details.
    • Filtering can save you time by narrowing down the terminal logs to the relevant information you're seeking.
  2. Access the Docker volume directly:

    • Working Directory: The AI agents operate within the /work directory inside the Docker container. This directory is where all the task-related files, including reports, are stored.

    • List Available Volumes: On your host machine, run the following command to list all the Docker volumes associated with PentAGI:

      docker volume list | grep pentagi-terminal-
    • Identify the Relevant Volume: You should see volumes named in the format:

      pentagi-terminal-{FLOW_ID}-data
      

      Replace {FLOW_ID} with the actual ID corresponding to your flow.

    • Inspect the Volume: To access the contents of the volume, you can run a temporary container that mounts the volume:

      docker run --rm -it -v pentagi-terminal-{FLOW_ID}-data:/data -w /data alpine sh
      • This command starts an Alpine Linux container and mounts your volume to the /data directory inside the container.
      • From here, you can explore the files and locate the Burp Suite report.
    • Search for the Report: Look for common report file types generated by Burp Suite, such as .html or .xml files.

  3. Set Up a Host-Mounted Working Directory:

    • Use DOCKER_WORK_DIR: If you'd like easier access to the working files without dealing with Docker volumes, you can specify a host directory for the working files by setting the DOCKER_WORK_DIR environment variable in your .env file:

      DOCKER_WORK_DIR=/path/to/your/desired/directory

      Replace /path/to/your/desired/directory with the path where you'd like the working files to be stored on your host machine.

    • Create the Directory: Make sure the directory exists on your host machine and that Docker has permission to write to it.

    • Restart PentAGI Services: After updating the .env file, restart your PentAGI Docker containers to apply the changes:

      docker-compose up -d
    • Access the Files Directly: With this setup, all files created during task execution, including the Burp Suite report, will be stored directly in the specified directory on your host machine. You can navigate to this directory using your file explorer or command line to access the reports.

  4. Note on Docker Volumes Persistence:

    • The Docker volumes created by PentAGI are not deleted after a task completes or stops. This is by design, so you can access and inspect the files generated during task execution at any time.
    • Even if you don't set the DOCKER_WORK_DIR, you can still mount the existing volume to another container or copy the files out for analysis.

PS for future tasks, you might consider modifying the task prompt to explicitly save reports to a known location or have the AI agents output the path to the report upon completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants