byt3bl33d3r / pth-toolkit

Modified version of the passing-the-hash tool collection made to work straight out of the box
BSD 2-Clause "Simplified" License
559 stars 132 forks source link

smbget and smbclient don't work on Debian Wheezy #2

Closed theguly closed 3 years ago

theguly commented 9 years ago

executing bin in rootdir: bin/net: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by lib/libbsd.so.0) bin/rpcclient: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14' not found (required by lib/libbsd.so.0) bin/smbclient: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_2.14' not found (required by lib/libbsd.so.0) bin/smbget: /lib/x86_64-linux-gnu/libc.so.6: versionGLIBC_2.14' not found (required by lib/libbsd.so.0) bin/winexe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by lib/libbsd.so.0)

debian 7.8 ships with libc 2.13

executing bin in bin/ dir: ./net: error while loading shared libraries: libkrb5-samba4.so.26: cannot open shared object file: No such file or directory ./smbclient: error while loading shared libraries: libpopt_samba3.so: cannot open shared object file: No such file or directory ./smbget: error while loading shared libraries: libuid_wrapper.so: cannot open shared object file: No such file or directory

cannot find this .so in standard debian repo.

resolution like "i don't support debian" is accepted :)

thanks

byt3bl33d3r commented 9 years ago

just making sure but you are running the sh scripts and not the actual binaries right?

theguly commented 9 years ago

first chunk of errors came from scripts in ~/pth-toolkit/ for example, ~/pth-toolkit/pth-net, the shell script

second chunk is from script in ~/pth-toolkit/bin for example ~/pth-toolkit/bin/net

I can provide a script(1) logfile if it helps

byt3bl33d3r commented 9 years ago

sure that would be great

theguly commented 9 years ago

http://pastebin.com/Mi6k769k

byt3bl33d3r commented 9 years ago

@theguly your running debian with the standard kernel and repos?

theguly commented 9 years ago

yessir

byt3bl33d3r commented 9 years ago

@theguly ok will fire up a vm later today .. i should probably be able to get this working for ya

byt3bl33d3r commented 9 years ago

@theguly just a quick update: ive manged to get winexe, wmis, and wmic working on debian , the rest of the utilities will be trickier but ill keep trying.

The problem is that debian wheezy ships with libc 2.13 and the utilities require > 2.14

byt3bl33d3r commented 9 years ago

as soon as i get all of them working i'll update the repo

theguly commented 9 years ago

thanks :) hope i'm not the only one who use debian...

byt3bl33d3r commented 9 years ago

@theguly ideally i would want this to work on every possible *nix system so doesn't really matter what distro your running

byt3bl33d3r commented 9 years ago

hey @theguly i created a branch called debian-fix with the changes.. still haven't managed to get the smb related utilities working but as i said wmic, wmis and winexe work