may I please ask you if anyone is also having the same issue on the module Pivoting, Tunneling, and Port Forwarding , part SOCKS5 Tunneling with Chisel where the Pivot Host / Ubuntu server is not updated and cannot run binary chisel. As per [chisel github](https://github.com/atanunq/viu/issues/68) some of the recommendations is to update the machine.
So, when I transfer the binary chisel on the pivot host and try to run the command ./chisel server -v -p 1234 --socks5 I’m getting a following error message:
ubuntu@WEB01:~$ ./chisel server -v -p 1234 --socks5
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./chisel)
./chisel: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./chisel)
To be honest, I didn’t want to play now with old libc and therefore I just took an another tunneling method in order to get the flag. The pivot machine needs to be updated in order to be able to run the chisel binary file.
Hi, I tried using chisel-1.7.4 but it still doesnt work. I get the exact same error message. What I do is build the source code with “go build” and then I transfer it over to the pivot. Should I use another way to compile or what?
To be honest with you all, I found this part very strange. Even though I tried through multiple ways to reach the DC and login via RDP on the DC as the user they suggest, I always got errors on xfreerdp like:
[ERROR][com.freerdp.core.connection] - Timeout waiting for activation
[ERROR][com.freerdp.core] - freerdp_abort_connect:freerdp_set_last_error_ex ERRCONNECT_CONNECT_CANCELLED [0x0002000B]
Edit: Solved! The fact that we are connecting to a DC is something to be considered.
Some have already mentioned it here. Instead of using go build, you want to download the executable directly from the GitHub releases: https://github.com/jpillora/chisel/releases (the latest worked for me) and transfer that over to the target machine.
However in trying it, I discovered I had been making an error trying several other methods. So some of them might have worked.
The error was this:
I ended up downloading about 8 different packages from Github and I had lots of different variations of chisel executables with lots of names. However I kept running the same command on the server:
./chisel
I wasn’t even actually trying any of my new packages.