some tools are not work properly in parrot os:(

I’ve been using Parrot OS for a year and am a security student. Today i play some ctf game on tryhackme so i need to use some tools at that time i realize some tools are not work properly john the ripper and enum4linux i don’know why is it? I request that you check all the tools in Parrot and fix this issue. Below are some pictures.

my os version:
PRETTY_NAME=“Parrot OS 5.3 (Electro Ara)”
NAME=“Parrot OS”
VERSION_ID=“5.3”
VERSION=“5.3 (Electro Ara)”
VERSION_CODENAME=ara
ID=parrot
ID_LIKE=debian
HOME_URL=“https://www.parrotsec.org/
SUPPORT_URL=“https://community.parrotsec.org/
BUG_REPORT_URL=“https://community.parrotsec.org/

What I understand from your screenshot is that the program named john/ssh2john.py is based on a version of Python that no longer supports the ‘decodestring’ attribute in ‘base64’ module.

So, it is basically related to Python’s version and ssh2john.py needs to update as per the Python guidelines.

3 Likes

Under Parrot

pluma /usr/share/john/ssh2john.py

shows

#! /usr/bin/env python

Under Kali it shows

#! /usr/bin/env python3

You probably just need to update the python script.

2 Likes

Under Parrot I get

┌─[masmer@cracker]─[~]
└──╼ $/usr/bin/env python
/usr/bin/env: ‘python’: No such file or directory

Under Kali I get

┌──(a-men㉿shiva)-[~]
└─$ /usr/bin/env python
Python 3.11.4 (main, Jun 7 2023, 10:13:09) [GCC 12.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
/>>>

But I’m no expert/developer.

1 Like

It’s simple. python references python2 by default, while python3 is python3.

1 Like

The error showed in this topic is:

  1. The user has absolutely 0 knowledge about basic scripting (python in this specific case). It’s a simple error that require only 1 pixel of brain to read the error log and fix it
  2. It’s likely NOT the parrot environment but the random custom environment on Android phone

Ok I am apologize for my post. I don’t know about script language. Could you help me to solve this issue :slight_smile:

Is not android environment it’s my host name.