Regression smb_enum_users and shares on Nmap V 7.80 #1707
Comments
Related to: #1476 (same error, same line) |
Hi Clement , Scripts smb-enum-shares works correctly, in fact it works better than with V7.70 or V7.40 that i have also tried , because it get some results whereas V7.70 get me following messages:
The thing is that smb-enum-users script still not working, here is the error message:
|
"Merci" @roumy for your feedback ;) I'm glad to know that the patch fixes the issues you had in smb.lua! About smb-enum-users, according to the stacktrace, the error seems to be in msrpctypes.lua. I suppose that it's a different issue and unfortunately I don't have anything to suggest here... |
Regarding the latest error about nil arithmetic, this has been hopefully fixed in commit e5c4f48, as a partial fix for #1720. At this point I would recommend to refresh both |
Thx @nnposter ,
|
Yes please try with all of them |
Ok both scripts worked well! |
Good to hear! |
A fix for this issue has been committed as r37733. Please report back if it does not work for you. |
Dear all, I'm running Considering the git master branch version of nmap
running the
Running the default scripts on the port 445 works fine for the
Finally, if I try to run the
I'm not sure if the behavior is correct or not, since with the Thanks for your support and your hard work! |
Unfortunately the code requires SMB1. |
@mattbrun hey! i need your help regarding smb error. |
@aditya162002 as stated above, the code only works if SMB1 is supported by the server |
@cnotin so what should i do? |
Use the "smb-protocols" script to check if SMB1 is supported. |
@cnotin can you tell me which tool i can use? |
Crackmapexec, SharpHound, mimikatz, and many others allow remote enumeration of local users through SMB The "smb-protocols" script should not have any issue though. Are you using it correctly? For example:
|
@cnotin its showing Host script results: NSE: Script Post-scanning. |
@cnotin how can i exploit into such vulnerabilities like: |
So "smb-protocols" works fine and shows you that SMB1 is not supported, and thus many Nmap scripts which do not support SMB2+ will not work. |
@cnotin thanks alott. |
Hello there
I detect a regression on smb_enum_shares and smb_enum_users with nmap V7.80 version
It works correctly on V7.70
May be linked with [#1706 ]
The text was updated successfully, but these errors were encountered: