Problem: root@ITSASECRET:~/src/john/run# zip2john : command not found
I want to add that the srcript is in the directory. I also had a lot of trouble installing Rexgen as well as Bison and flex AND CMAKE. I had to use several different guides to get it done.
MY build:
Target CPU ................................. x86_64 AVX2, 64-bit LE
AES-NI support ............................. run-time detection
Target OS .................................. linux-gnu
Cross compiling ............................ no
Legacy arch header ......................... x86-64.h
Optional libraries/features found:
Memory map (share/page large files) ........ yes
Fork support ............................... yes
OpenMP support ............................. yes (not for fast formats)
OpenCL support ............................. yes
Generic crypt(3) format .................... yes
libgmp (PRINCE mode and faster SRP formats) yes
128-bit integer (faster PRINCE mode) ....... yes
libz (pkzip format, gpg2john) .............. yes
libbz2 (gpg2john extra decompression logic) yes
libpcap (vncpcap2john and SIPdump) ......... yes
librexgen (regex cracking mode) ............ yes
OpenMPI support (default disabled) ......... yes
ZTEX USB-FPGA module 1.15y support ......... no
Install missing libraries to get any needed features that were omitted.
Configure finished.
So after I did this:
Make process completed.
root@ITSASECRET:~/src/john/src# zip2john
zip2john: command not found
Then I tried this thinking I needed to be in the directory:
root@ITSASECRET:~/src/john/run# zip2john
zip2john: command not found
I have been trying to get this working for months. What am I doing wrong or not doing?
If anyone can tell me how to add this to path so I can run the commands without going to this directory that would also be nice.
./
before executing a program in the current directory? – steeldriver Jul 05 '18 at 18:28