ShawnDEvans / smbmap

SMBMap is a handy SMB enumeration tool
GNU General Public License v3.0
1.79k stars 347 forks source link

syntax error with python 3 #38

Closed iNoSec2 closed 4 years ago

iNoSec2 commented 4 years ago

When i used i have a syntax error message saying /usr/bin/smbmap:1042: SyntaxWarning: "is" with a literal. Did you mean "=="? if len(sys.argv) is 1: so i just made like my wonderful interpreter said me and now no more error message :D look here, that's a change which come with python3.8 http://qemu.11.n7.nabble.com/PATCH-trace-avoid-quot-is-quot-with-a-literal-Python-3-8-warnings-td689609.html