Open bcoles opened 5 years ago
That is a bit different than formatting text. It needs a postscript engine of some sort. Perhaps using the browser engine an mhtml file would be a reasonable container format for portability.
I would be happy to see such feature too!
This way, it would be possible and trivial (a matter of a few clicks) to provide clients with a branded OSINT report containing the details of what they expose to the Internet.
I looked into how I would go about doing this and I had to realize that (as stated here) PyPDF2 might not be the best way of doing this. The library seems to be meant more for reading pdfs than writing them. After looking into it some more I believe it would be best to do this using JavaScript. I was thinking of something on the lines of these approaches.
Add PDF export functionality.
A report document, rather than an export, would be awesome.
Report should include the bar chart from the
Status
tab and events table from theBrowse
tab, with a full export of events available in an appendix.Adding the
Graph
may or may not be a good idea, as it's kind of useless without the labels and interactivity.Edit: Spiderfoot currently packages PyPDF2 and uses the library for reading PDFs. It would make sense to use this library for generating PDFs, if possible.