leostat / rtfm

A database of common, interesting or useful commands, in one handy referable form
https://necurity.co.uk/osprog/2017-02-27-RTFM-Pythonized/
GNU General Public License v3.0
745 stars 93 forks source link

Which version of python3,do I need? #85

Open L3ss-dev opened 4 years ago

L3ss-dev commented 4 years ago

When I used python3.8,I got this: ./rtfm.py:487: SyntaxWarning: "is not" with a literal. Did you mean "!="? if tag is not '': ./rtfm.py:489: SyntaxWarning: "is" with a literal. Did you mean "=="? if len(itags) is 0: ./rtfm.py:494: SyntaxWarning: "is not" with a literal. Did you mean "!="? if ref is not '': ./rtfm.py:496: SyntaxWarning: "is" with a literal. Did you mean "=="? if len(irefs) is 0: ./rtfm.py:510: SyntaxWarning: "is" with a literal. Did you mean "=="? if options.dump is 'a': ./rtfm.py:532: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.dump is 'c': ./rtfm.py:540: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.dump is 't': ./rtfm.py:548: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.dump is 'r': ./rtfm.py:569: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.printer is 'c': ./rtfm.py:571: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.printer is 'p': ./rtfm.py:576: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.printer is 'd': ./rtfm.py:585: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.printer is 'w': ./rtfm.py:590: SyntaxWarning: "is" with a literal. Did you mean "=="? elif options.printer is 'P':

leostat commented 4 years ago

Whoops! It looks like i havn't kept upto date with the chnages in Python 3.8, I will chage all those over in a bit

monchers commented 4 years ago

I just fixed those is, is not, etc. small issues, just tested it and it works nice and clean in Kali now. Please verify. Thanks bud! rtfm_updated.zip

L3ss-dev commented 4 years ago

I just fixed those is, is not, etc. small issues, just tested it and it works nice and clean in Kali now. Please verify. Thanks bud! rtfm_updated.zip

Oh,thx,I will try it.

monchers commented 4 years ago

Sounds good. Let me know if I can help out in any other way with your awesome tool / script. Maybe adding up a few more commands?, although not sure how to do that, I would probably need some guidance or I could just send you the texting for each command (command, use, description, etc.), based on the tool output and you can add it on your end. Whatever works best for you. Let me know.

On Wed, Apr 29, 2020 at 1:50 AM aioalex notifications@github.com wrote:

I just fixed those is, is not, etc. small issues, just tested it and it works nice and clean in Kali now. Please verify. Thanks bud! rtfm_updated.zip https://github.com/leostat/rtfm/files/4547707/rtfm_updated.zip

Oh,thx,I will try it.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/leostat/rtfm/issues/85#issuecomment-621004117, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEA4KARXMRSFQOGTQWISCLRO653FANCNFSM4MP6B5FQ .

joaociocca commented 3 years ago

that file worked like a charm here! nice job - maybe do a PR?