cosad3s / postleaks

Search for sensitive data in Postman public library.
GNU General Public License v3.0
165 stars 24 forks source link

main.py line 99 could use a try catch #2

Closed otagtekintorqata closed 4 months ago

otagtekintorqata commented 5 months ago

main.py line 99 could use a try catch. Just to catch blanks.

File "/home/ec2-user/.local/lib/python3.6/site-packages/postleaks/main.py", line 99, in display print("[" + d["key"] + "=" + repr(d["value"]) + "]", end='') TypeError: must be str, not NoneType

cosad3s commented 5 months ago

Hi! If this is a bug, can you provide step to reproduce it (command line arguments for example) ?

cosad3s commented 4 months ago

Closed for inactivity. Feel free to reopen it with example please.

fc-arvind commented 4 months ago

image Command to reproduce: postleaks -k foursquare.com --extend-workspaces

cosad3s commented 4 months ago

Thanks for the suggestion @fc-arvind , do you have the last version of Postleaks (1.1.2) ? If not, can you retry after a little update ? On my side, I cannot reproduce the problem with version 1.1.2. Thanks!