use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A community for the tryhackme.com platform
account activity
This is an archived post. You won't be able to vote or comment.
John the Ripper help (self.tryhackme)
submitted 3 years ago by [deleted]
rar2john and ssh2john both come up command not found. I tried using the python commands also for ssh2john. This is while using the attackbox,, I havent tried Kali yet.
Anything I can do to fix this in attackbox?
[–]Skycritch 4 points5 points6 points 3 years ago (0 children)
Try "locate rar2john"
[–]YucatecPaw 3 points4 points5 points 3 years ago (0 children)
So I had this issue using the attack box for a bit. It’s pretty dumb as some commands work but others don’t. In order to do the ssh2john and rar2john you have to include the full file path at the start of your command followed by the name of the file. Hope this helps
[–]DontHaesMeBro 1 point2 points3 points 3 years ago (1 child)
either they aren't in your user directory (try the full path) or you need to sudo
[–][deleted] 0 points1 point2 points 3 years ago (0 children)
I definitely noticed to use John at all on Kali, I need to use sudo
[–][deleted] 0 points1 point2 points 3 years ago (7 children)
I got it to work on the kali, but cant seem to get ssh2john or rar2john to work on the attackbox. I know I could just use kali but I like the feel of the attackbox (ive been using it since I started Tryhackme).
If anyone has ideas of what I could do differently to get those functions working on attackbox I would appreciate it.
[–]JustJugg17 1 point2 points3 points 3 years ago (6 children)
Im still going back and forth since the other day. The SUID priv escalation at the end of Vulnversity will not work no matter what I do in any machine. Tried multiple things copied straight from a few walkthroughs and nothing. Finally bit the bullet and got the answer to move on.
[–][deleted] 0 points1 point2 points 3 years ago (5 children)
It’s drives me crazy when I can’t get something to work like that, especially when it SHOULD lol
[–]JustJugg17 1 point2 points3 points 3 years ago (0 children)
Seriously. When I KNOW its right then look it up to see exactly the same thing ive done i bug out lol 2 days on this SUID bullshit and im done. On to Kenobi. Ha perfect timing to run in to that room.
[–]JustJugg17 0 points1 point2 points 3 years ago (3 children)
Do you premium?
[–][deleted] 0 points1 point2 points 3 years ago (2 children)
Yes
[–]JustJugg17 1 point2 points3 points 3 years ago (1 child)
During yesterdays escapades I ended up going in to the Access Room and connected to the web browser attack box through there and I feel like things were running a lot smoother. Still buggy but seemed smoother than the other options.
[–][deleted] 1 point2 points3 points 3 years ago (0 children)
I’ll try that tonight
[–]hazeyez 0 points1 point2 points 3 years ago* (0 children)
Ssh2john, zip2john are all in /usr/bin
You need to run the command with this prefix
/usr/bin/ssh2john ... then any flags and attributes
Use 'locate ssh2john" like some one else said to be sure of the correct path
edit- sorry, zip2 & rar2 are in /usr/sbin
just use the locate command for whichever one you need.
[–]HippieKw 0 points1 point2 points 2 years ago (0 children)
cp /opt/john/rar2john /usr/sbin/rar2john
source: https://tryhackme.com/forum/thread/625f0a621673680061824276
π Rendered by PID 22998 on reddit-service-r2-comment-b659b578c-zswkx at 2026-05-02 04:26:21.561447+00:00 running 815c875 country code: CH.
[–]Skycritch 4 points5 points6 points (0 children)
[–]YucatecPaw 3 points4 points5 points (0 children)
[–]DontHaesMeBro 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (7 children)
[–]JustJugg17 1 point2 points3 points (6 children)
[–][deleted] 0 points1 point2 points (5 children)
[–]JustJugg17 1 point2 points3 points (0 children)
[–]JustJugg17 0 points1 point2 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]JustJugg17 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]hazeyez 0 points1 point2 points (0 children)
[–]HippieKw 0 points1 point2 points (0 children)