-
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 $user, what does this mean? #4
Comments
See pull request #3. |
mhmm, I do have the errors too... Even though 3 years have passed... enum4linux.pl -U 10.10.243.156
Starting enum4linux v0.8.9 ( http://labs.portcullis.co.uk/application/enum4linux/ ) on Thu Dec 10 20:51:24 2020
==========================
| Target Information |
==========================
Target ........... 10.10.243.156
RID Range ........ 500-550,1000-1050
Username ......... ''
Password ......... ''
Known Usernames .. administrator, guest, krbtgt, domain admins, root, bin, none
=====================================================
| Enumerating Workgroup/Domain on 10.10.243.156 |
=====================================================
Can't load /etc/samba/smb.conf - run testparm to debug it
[+] Got domain/workgroup name: TBFC-SMB-01
======================================
| Session Check on 10.10.243.156 |
======================================
[+] Server 10.10.243.156 allows sessions using username '', password ''
============================================
| Getting domain SID for 10.10.243.156 |
============================================
rpcclient: Can't load /etc/samba/smb.conf - run testparm to debug it
[+] Can't determine if host is part of domain or part of a workgroup
==============================
| Users on 10.10.243.156 |
==============================
Use of uninitialized value $users in print at /home/penelope/PATH/enum4linux.pl line 876.
Use of uninitialized value $users in pattern match (m//) at /home/penelope/PATH/enum4linux.pl line 879.
Use of uninitialized value $users in print at /home/penelope/PATH/enum4linux.pl line 892.
Use of uninitialized value $users in pattern match (m//) at /home/penelope/PATH/enum4linux.pl line 894.
enum4linux complete on Thu Dec 10 20:51:25 2020
|
on the line |
thanks mohzulfikar! |
you're welcome, glad it helped @Cloufish |
Im having this same issue, making the smb.conf file didnt work :/ |
@UnderwaterBaker Can you run testparm (https://www.samba.org/samba/docs/current/man-html/testparm.1.html) and share the output? |
I am having this same issue. I tested it on my Kali vm, and tried on my host system(manjaro) and got the same error both times (but on different lines?). I did a testparm on the kali box as @timb-machine requested from another user (I know it was for a slightly different issue but hopefully if helps with the above errors). These are the results from mine. (Removed some line breaks so it posts nicer):
|
I ran testparm and the output noted that my netbios name was identical to my workgroup name. It also showed that cluster mode was on and the enum output said it needed root to run in cluster mode. I changed the netbios name to something different and disabled cluster mode in smb.conf and my issue was resolved. |
Running last version and seeing the error on users still happening, any update about it? Thanks in advance
|
same here still getting errors with -U |
The RID cycling can definitely be made more efficient/faster as well but maybe another time. Currently it just misses the important Unix UIDs and searches across known Windows SIDs. |
Hi I am also having this issue, however when using the -a option for ALL it does return users. So I do not think the lack of return is the issue. |
Use of uninitialized value $users in print at ./enum4linux.pl line 874.
Use of uninitialized value $users in pattern match (m//) at ./enum4linux.pl line 877.
Use of uninitialized value $users in print at ./enum4linux.pl line 888.
Use of uninitialized value $users in pattern match (m//) at ./enum4linux.pl line 890.
The text was updated successfully, but these errors were encountered: