-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use of uninitialized value $os_info in concatenation (.) or string at /bin/enum4linux line 464. #5
Comments
in the mean time I am using the metasploit auxiliary but I rather use enum4linux if they ever fix this.. I rarely use metasploit so is a pain to load it just for this. |
Hi, Did you ever figure out what changed with smbclient that it doesn't show this output anymore? I came across your bug while trying to figure this issue out myself. I, like you, don't want to have to rely on the MSF aux each time I want the running service information. Cheers. |
Same issue as above |
same issue |
It appears to be related to this commit in Samba: Compiling 2.6.7 from source works for now. I've made a bug report to Kali with some suggested solutions since this is appears to be more of a packaging/dependency problem. |
@appleorange1 Interesting IP in that bug report ;) |
Has this been resolved, as I still appear to be having the same issue. |
Bump Kali 2018.1 Looks like it's a Kali bug though. |
Still got this bug... |
me to on kali and on Blackarch and Arch still |
Hi, "Compiling 2.6.7 from source works for now" -> can you please explain? thanks. |
still have the bug |
1 similar comment
still have the bug |
As a workaround for this, add "-w domainname" to the command line. -w specifies the workgroup, which in AD is also the domain name. |
@sopsmattw - tried -w solution without joy: |
I have a couple of ideas for this. Leave it with me and I'll see if I can get a reliable fix done. |
So, I've just added workgroup/domain guessing via DNS (something Mark and I played with years ago but never rolled into enum4linux). I've also added some cleaned up detection to handle the case where smbclient can't gain the null share due to a protocol mismatch. This isn't a full fix but it at least takes us in the right direction. I have a test domain spunk up on latest Windows, next job is to get out a Kali and see if we can improve the version detection because I suspect there are probably multiple root causes depending on the exact combinations of Samba and victim. |
@timb-machine thank you for looking into it and sharing the plans. Is there anything I can do to collaborate with the testing or make things easier for you? Thank you |
for some time I can't use -o on enum4linux
I have try ti find out the issue.. and I think is smbclient has changed..
enum4linux is trying:
smbclient -W 'MYGROUP' //'xx.xx.x.xx'/ipc$ -U''%'' -c 'q' 2>&1
but returns nothing..
smbclient when connected does not output any information anymore
I went into the code I see no issue:
so I think smbclient newer versions are missing something
anyone have an idea to fix this with out going to an old version of smbclient?
The text was updated successfully, but these errors were encountered: