You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
# Get OS info
456 sub get_os_info {
457 print_heading("OS information on $global_target");
458 my $command = "smbclient -W '$global_workgroup' //'$global_target'/ipc\$ -U'$global_username'\%'$global_password' -c 'q' 2>&1";
459 print "[V] Attempting to get OS info with command: $command\n" if $verbose;
460 my $os_info = `$command`;
461 chomp $os_info;
462 if (defined($os_info)) {
463 ($os_info) = $os_info =~ /(Domain=[^\n]+)/s;
464 print "[+] Got OS info for $global_target from smbclient: $os_info\n";
465 }
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?