Skip to content
The Chat Archive
gpt-3.5-turbo-0613· OpenAI WildChat-4.8M (AI2)

run recon opt on phyton to show visual

  1. User

    run recon opt on phyton to show visual

  2. Assistant

    To run Recon-NG's opt module and visualize the output, you can use the following Python script:

    import os
    
    # Run Recon-NG's opt module
    os.system("recon-cli -m recon/core/modules/recon/opt")
    
    # Open the generated HTML report in the default web browser
    os.system("xdg-open ~/recon-ng/workspaces/default/results/opt.html")
    

    Make sure you have Recon-NG installed and in your system's PATH. This script will execute the opt module and open the generated HTML report (opt.html) in the default web browser.