Skip to content

HTML Report not writing from different directory #13

@yodathegrey

Description

@yodathegrey

Attempting to execute script from different location and html report fails to write, but json report has no issue.

[root@deeznuts uploads]# pwd
/home/appdev/www/uploads

/usr/bin/python /home/appdev/CapTipper-master/CapTipper.py pcap.pcap -r /var/www/html/uploads/

[!] Generating Reports...
[+] Created JSON report to /var/www/html/uploads/pcap.json
[E] Error creating HTML report in /var/www/html/uploads/pcap.html : [Errno 2] No such file or directory: 'jsontemplate/CapTipperTemplate.html'
[E] Failed creating HTML report

If I execute script from master directory containing jasontemplate no errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions