This website requires JavaScript.
Explore
Help
Sign In
PenTest
/
nmap
Watch
1
Star
0
Fork
0
You've already forked nmap
mirror of
https://github.com/nmap/nmap.git
synced
2026-02-16 02:16:34 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
Files
bdddee633079d9952bd992b498cbabacf2fc5632
nmap
/
nselib
/
smb.lua
ron
2035b82dfd
Fixed a really tricky bug that I spent all evening chasing. Normally, during login, every account in the list (by default, guest and anonymous) are attempted. Unless something fails badly, anonymous will work. Unfortunately, if something DOES fail badly, after the first script runs this list is empty. That means if something bad is happening, and two or more scripts are running, every script after the first will have an empty list of accounts to use, and it would fail mysteriously. This patch checks the return value from the get_next_account() function properly to see if we've run out of accounts and report that to the user rather than an ugly stacktrace.
2010-09-24 00:47:43 +00:00
142 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink