recon-ng icon indicating copy to clipboard operation
recon-ng copied to clipboard

Prettify ASCII tables

Open naltun opened this issue 6 years ago • 3 comments

I've marketplace info'd two different modules to compare: image

Having nice-looking ASCII tables for each query would be class.

naltun avatar Oct 09 '19 19:10 naltun

This isn't broken. It's the nature of ascii tables. The individual tables extend to the width of the longest piece of data and it is wrapping. If you want, update this issue to a feature request for prettier tables. Otherwise, we can close. I'm not sure if I'll ever try to fix it, but if someone wants to take a stab at it, they are welcome to. I think I looked at several ascii table libraries but wasn't really a fan of any of them, so I stuck with my original implementation.

lanmaster53 avatar Oct 09 '19 20:10 lanmaster53

Fair enough. Thanks for swift feedback.

naltun avatar Oct 10 '19 14:10 naltun

@lanmaster53 would the textwrap module help here? basically wrap all fields to some width. does the ascii table code you use support multiline fields which would result from wrapped text?

jnazarioCensys avatar Dec 19 '19 16:12 jnazarioCensys