Anyone have any issues using the ptunnel-ng binary from Release SeLinux update, pcap improvment · utoni/ptunnel-ng · GitHub?
I’m currently on the ‘Pivoting, Tunneling, and Port Forwarding’ Module, section ’ ICMP Tunneling with SOCKS’. I’m able to compile the binary per instructions on my attack host(kali). I can execute the binary on my attack host. But when I move the folder to the pivothost, it won’t execute there. I tried running the auto.sh script but I keep getting the following error:
++ pwd
- OLD_WD=/home/ubuntu/ptunnel-ng
++ dirname ./autogen.sh - NEW_WD=.
- cd .
- autoreconf -fi
./autogen.sh: line 10: autoreconf: command not found - aclocal
./autogen.sh: line 11: aclocal: command not found - autoheader
./autogen.sh: line 12: autoheader: command not found - automake --force-missing --add-missing
./autogen.sh: line 13: automake: command not found - autoconf
./autogen.sh: line 14: autoconf: command not found - cd /home/ubuntu/ptunnel-ng
- ./configure
./autogen.sh: line 19: ./configure: No such file or directory
I tried sudo apt install autoconf on the pivot host(HTB instance), but it errors out. I’m assuming there are restrictions in place that prevent updating/changing packages on an HTB host; totally understandable.
How do I get ptunnel-ng to work on pivothost?
NOTE* I get the following error when trying to run the binary via repository directory transfered from attack host:
ubuntu@WEB01:~/ptunnel-ng/src$ ./ptunnel-ng -h
./ptunnel-ng: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or
directory