Skip to content

Instantly share code, notes, and snippets.

@gahfy
Last active February 24, 2024 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gahfy/3a74f61dc57fab6cb0b38a345b3c281e to your computer and use it in GitHub Desktop.
Save gahfy/3a74f61dc57fab6cb0b38a345b3c281e to your computer and use it in GitHub Desktop.
Patch for Python environment for John Jumbo commit f55f420
diff -ruN a/run/1password2john.py b/run/1password2john.py
--- a/run/1password2john.py 2024-02-03 03:18:48
+++ b/run/1password2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Written by Dhiru Kholia <dhiru at openwall.com> in July 2012 for JtR project.
# Copyright (c) 2012-2013, Dhiru Kholia.
diff -ruN a/run/DPAPImk2john.py b/run/DPAPImk2john.py
--- a/run/DPAPImk2john.py 2024-02-03 03:18:48
+++ b/run/DPAPImk2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Modified (for JtR) by Dhiru Kholia in December, 2014.
diff -ruN a/run/aem2john.py b/run/aem2john.py
--- a/run/aem2john.py 2024-02-03 03:18:48
+++ b/run/aem2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# JtR utility to convert native Adobe AEM (Adobe Experience Manager) hashes to
# an existing JtR hash format.
diff -ruN a/run/aix2john.py b/run/aix2john.py
--- a/run/aix2john.py 2024-02-03 03:18:48
+++ b/run/aix2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This script extracts hashes from AIX /etc/security/passwd
# cat /etc/security/passwd
diff -ruN a/run/andotp2john.py b/run/andotp2john.py
--- a/run/andotp2john.py 2024-02-03 03:18:48
+++ b/run/andotp2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2018, Dhiru Kholia <kholia at kth.se> and it
# is hereby released to the general public under the following terms:
diff -ruN a/run/androidbackup2john.py b/run/androidbackup2john.py
--- a/run/androidbackup2john.py 2024-02-03 03:18:48
+++ b/run/androidbackup2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2018, Dhiru Kholia <kholia at kth.se> and it
# is hereby released to the general public under the following terms:
diff -ruN a/run/androidfde2john.py b/run/androidfde2john.py
--- a/run/androidfde2john.py 2024-02-03 03:18:48
+++ b/run/androidfde2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
androidfde2john.py, program to "convert" Android FDE images / disks into JtR
diff -ruN a/run/ansible2john.py b/run/ansible2john.py
--- a/run/ansible2john.py 2024-02-03 03:18:48
+++ b/run/ansible2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2018, Dhiru Kholia <kholia at kth.se> and it
# is hereby released to the general public under the following terms:
diff -ruN a/run/apex2john.py b/run/apex2john.py
--- a/run/apex2john.py 2024-02-03 03:18:48
+++ b/run/apex2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
diff -ruN a/run/apop2john.py b/run/apop2john.py
--- a/run/apop2john.py 2024-02-03 03:18:48
+++ b/run/apop2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2021 Mark Silinio <mark.silinio-at-gmail.com>,
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/applenotes2john.py b/run/applenotes2john.py
--- a/run/applenotes2john.py 2024-02-03 03:18:48
+++ b/run/applenotes2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Script to extract "hashes" from password protected Apple Notes databases.
#
diff -ruN a/run/aruba2john.py b/run/aruba2john.py
--- a/run/aruba2john.py 2024-02-03 03:18:48
+++ b/run/aruba2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru at openwall.com> and
# it is hereby released to the general public under the following terms:
diff -ruN a/run/atmail2john.pl b/run/atmail2john.pl
--- a/run/atmail2john.pl 2024-02-03 03:18:48
+++ b/run/atmail2john.pl 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/perl3
#
# Copyright (c) 2019 Solar Designer
#
diff -ruN a/run/axcrypt2john.py b/run/axcrypt2john.py
--- a/run/axcrypt2john.py 2024-02-03 03:18:48
+++ b/run/axcrypt2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# AxCrypt 1.x and 2.x encrypted file parser for JtR.
#
diff -ruN a/run/bestcrypt2john.py b/run/bestcrypt2john.py
--- a/run/bestcrypt2john.py 2024-02-03 03:18:48
+++ b/run/bestcrypt2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/bitcoin2john.py b/run/bitcoin2john.py
--- a/run/bitcoin2john.py 2024-02-03 03:18:48
+++ b/run/bitcoin2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is
# Copyright (c) 2012-2018 Dhiru Kholia <dhiru at openwall.com>
diff -ruN a/run/bitshares2john.py b/run/bitshares2john.py
--- a/run/bitshares2john.py 2024-02-03 03:18:48
+++ b/run/bitshares2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Script to extract "hashes" from BitShares databases.
#
diff -ruN a/run/bitwarden2john.py b/run/bitwarden2john.py
--- a/run/bitwarden2john.py 2024-02-03 03:18:48
+++ b/run/bitwarden2john.py 2024-02-24 17:05:24
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
"""Utility to extract Bitwarden "hashes" from Google Chrome / Firefox / Android local data"""
diff -ruN a/run/bks2john.py b/run/bks2john.py
--- a/run/bks2john.py 2024-02-03 03:18:48
+++ b/run/bks2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
diff -ruN a/run/blockchain2john.py b/run/blockchain2john.py
--- a/run/blockchain2john.py 2024-02-03 03:18:48
+++ b/run/blockchain2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import sys
import os.path
diff -ruN a/run/ccache2john.py b/run/ccache2john.py
--- a/run/ccache2john.py 2024-02-03 03:18:48
+++ b/run/ccache2john.py 2024-02-24 17:14:13
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
"""
This script extracts crackable hashes from krb5's credential cache files (e.g.
diff -ruN a/run/cracf2john.py b/run/cracf2john.py
--- a/run/cracf2john.py 2024-02-03 03:18:48
+++ b/run/cracf2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# The cracf2john.py utility processes CRACF.TXT files (generated by CRACF
# program) into a format suitable for use with JtR.
diff -ruN a/run/dashlane2john.py b/run/dashlane2john.py
--- a/run/dashlane2john.py 2024-02-03 03:18:48
+++ b/run/dashlane2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Extracts "hashes" from Dashlane's .aes and .dash files.
#
diff -ruN a/run/diskcryptor2john.py b/run/diskcryptor2john.py
--- a/run/diskcryptor2john.py 2024-02-03 03:18:48
+++ b/run/diskcryptor2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2018, Ivan Freed <ivan.freed at protonmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/dmg2john.py b/run/dmg2john.py
--- a/run/dmg2john.py 2024-02-03 03:18:48
+++ b/run/dmg2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Written by Dhiru Kholia <dhiru at openwall.com> in March, 2013
# My code is under "Simplified BSD License"
diff -ruN a/run/ecryptfs2john.py b/run/ecryptfs2john.py
--- a/run/ecryptfs2john.py 2024-02-03 03:18:48
+++ b/run/ecryptfs2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Helper script for cracking eCryptfs.
#
diff -ruN a/run/ejabberd2john.py b/run/ejabberd2john.py
--- a/run/ejabberd2john.py 2024-02-03 03:18:48
+++ b/run/ejabberd2john.py 2024-02-24 17:19:00
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Extracts hashes from "ejabberdctl dump output.txt" file(s).
#
diff -ruN a/run/electrum2john.py b/run/electrum2john.py
--- a/run/electrum2john.py 2024-02-03 03:18:48
+++ b/run/electrum2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released under GPL v2 license.
diff -ruN a/run/encfs2john.py b/run/encfs2john.py
--- a/run/encfs2john.py 2024-02-03 03:18:48
+++ b/run/encfs2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# The encfs2john.py utility processes EncFS files into a format suitable for
# use with JtR.
diff -ruN a/run/enpass2john.py b/run/enpass2john.py
--- a/run/enpass2john.py 2024-02-03 03:18:48
+++ b/run/enpass2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""enpass2john.py extracts hashes from Enpass Password Manager databases"""
diff -ruN a/run/enpass5tojohn.py b/run/enpass5tojohn.py
--- a/run/enpass5tojohn.py 2024-02-03 03:18:48
+++ b/run/enpass5tojohn.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""enpass2john.py extracts hashes from Enpass Password Manager databases"""
diff -ruN a/run/ethereum2john.py b/run/ethereum2john.py
--- a/run/ethereum2john.py 2024-02-03 03:18:48
+++ b/run/ethereum2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/filezilla2john.py b/run/filezilla2john.py
--- a/run/filezilla2john.py 2024-02-03 03:18:48
+++ b/run/filezilla2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""filezilla2john.py extracts password hashes from "FileZilla Server.xml" files."""
diff -ruN a/run/geli2john.py b/run/geli2john.py
--- a/run/geli2john.py 2024-02-03 03:18:48
+++ b/run/geli2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
diff -ruN a/run/hccapx2john.py b/run/hccapx2john.py
--- a/run/hccapx2john.py 2024-02-03 03:18:48
+++ b/run/hccapx2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
'''
Process hccapx file into a format suitable for use with JtR.
Implements AP nonce correction as user supplied argument or
diff -ruN a/run/htdigest2john.py b/run/htdigest2john.py
--- a/run/htdigest2john.py 2024-02-03 03:18:48
+++ b/run/htdigest2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# The htdigest2john.py utility processes htdigest files into a format suitable
# for use with JtR.
diff -ruN a/run/ibmiscanner2john.py b/run/ibmiscanner2john.py
--- a/run/ibmiscanner2john.py 2024-02-03 03:18:48
+++ b/run/ibmiscanner2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# ibmiscanner2john.py (by Rob Schoemaker (@5up3rUs3r))
diff -ruN a/run/ikescan2john.py b/run/ikescan2john.py
--- a/run/ikescan2john.py 2024-02-03 03:18:48
+++ b/run/ikescan2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""ikescan2john.py processes ike-scan output files into a format suitable
for use with JtR."""
diff -ruN a/run/iwork2john.py b/run/iwork2john.py
--- a/run/iwork2john.py 2024-02-03 03:18:48
+++ b/run/iwork2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2015, Dhiru Kholia <kholia at kth.se> and
# Maxime Hulliger <hulliger at kth.se> and it is hereby released to the general
diff -ruN a/run/kdcdump2john.py b/run/kdcdump2john.py
--- a/run/kdcdump2john.py 2024-02-03 03:18:48
+++ b/run/kdcdump2john.py 2024-02-24 17:23:26
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
#
# Kdcdump patch output translation for JtR
# August of 2012 by Mougey Camille
diff -ruN a/run/keychain2john.py b/run/keychain2john.py
--- a/run/keychain2john.py 2024-02-03 03:18:48
+++ b/run/keychain2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# keychain2john processes input Mac OS X keychain files into a format suitable
# for use with JtR.
diff -ruN a/run/keyring2john.py b/run/keyring2john.py
--- a/run/keyring2john.py 2024-02-03 03:18:48
+++ b/run/keyring2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""
keyring2john.py -> convert Gnome Keyring files to john format.
diff -ruN a/run/keystore2john.py b/run/keystore2john.py
--- a/run/keystore2john.py 2024-02-03 03:18:48
+++ b/run/keystore2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2014, Sanju Kholia <sanju.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/known_hosts2john.py b/run/known_hosts2john.py
--- a/run/known_hosts2john.py 2024-02-03 03:18:48
+++ b/run/known_hosts2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# known_hosts2john processes input "known_hosts" files into a format suitable
# for use with JtR.
diff -ruN a/run/krb2john.py b/run/krb2john.py
--- a/run/krb2john.py 2024-02-03 03:18:48
+++ b/run/krb2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This file was named krbpa2john.py previously.
#
diff -ruN a/run/kwallet2john.py b/run/kwallet2john.py
--- a/run/kwallet2john.py 2024-02-03 03:18:48
+++ b/run/kwallet2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2014, Sanju Kholia <sanju.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/lastpass2john.py b/run/lastpass2john.py
--- a/run/lastpass2john.py 2024-02-03 03:18:48
+++ b/run/lastpass2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This scripts converts input LastPass data into a format suitable for use with
# JtR.
diff -ruN a/run/libreoffice2john.py b/run/libreoffice2john.py
--- a/run/libreoffice2john.py 2024-02-03 03:18:48
+++ b/run/libreoffice2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# The libreoffice2john.py utility processes OpenOffice / LibreOffice files into
# a format suitable for use with JtR.
diff -ruN a/run/lotus2john.py b/run/lotus2john.py
--- a/run/lotus2john.py 2024-02-03 03:18:48
+++ b/run/lotus2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This software is Copyright (c) 2013 Dhiru Kholia <dhiru at openwall.com>, and
diff -ruN a/run/luks2john.py b/run/luks2john.py
--- a/run/luks2john.py 2024-02-03 03:18:48
+++ b/run/luks2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2016, Sanju Kholia <sanju.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/mac2john.py b/run/mac2john.py
--- a/run/mac2john.py 2024-02-03 03:18:48
+++ b/run/mac2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# NOTE: This script is only tested with Python 3.6, Python 2.7, and Python
# 2.6.9. It cannot work with Python 2.5.x.
diff -ruN a/run/mcafee_epo2john.py b/run/mcafee_epo2john.py
--- a/run/mcafee_epo2john.py 2024-02-03 03:18:48
+++ b/run/mcafee_epo2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Convert McAfee ePO passwords to John format.
# -- nicolas.collignon@synacktiv.com
diff -ruN a/run/monero2john.py b/run/monero2john.py
--- a/run/monero2john.py 2024-02-03 03:18:48
+++ b/run/monero2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Script to extract "hashes" from Monero databases.
#
diff -ruN a/run/money2john.py b/run/money2john.py
--- a/run/money2john.py 2024-02-03 03:18:48
+++ b/run/money2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the Apache License
diff -ruN a/run/mosquitto2john.py b/run/mosquitto2john.py
--- a/run/mosquitto2john.py 2024-02-03 03:18:48
+++ b/run/mosquitto2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2021, Blackfell <github at blackfell.net>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/mozilla2john.py b/run/mozilla2john.py
--- a/run/mozilla2john.py 2024-02-03 03:18:48
+++ b/run/mozilla2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Helper for cracking Mozilla's password database (key3.db master password).
#
diff -ruN a/run/multibit2john.py b/run/multibit2john.py
--- a/run/multibit2john.py 2024-02-03 03:18:48
+++ b/run/multibit2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released under GPL v2 license.
diff -ruN a/run/neo2john.py b/run/neo2john.py
--- a/run/neo2john.py 2024-02-03 03:18:48
+++ b/run/neo2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <kholia at kth.se> and it is
# hereby released to the general public under the following terms:
diff -ruN a/run/netscreen.py b/run/netscreen.py
--- a/run/netscreen.py 2024-02-03 03:18:48
+++ b/run/netscreen.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
##################################################################
# Filename: netscreen.py
diff -ruN a/run/office2john.py b/run/office2john.py
--- a/run/office2john.py 2024-02-03 03:18:48
+++ b/run/office2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# olefile (formerly OleFileIO_PL) version 0.42 2015-01-25
#
diff -ruN a/run/openbsd_softraid2john.py b/run/openbsd_softraid2john.py
--- a/run/openbsd_softraid2john.py 2024-02-03 03:18:48
+++ b/run/openbsd_softraid2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 Thiébaud Weksteen <thiebaud at weksteen dot fr>
diff -ruN a/run/openssl2john.py b/run/openssl2john.py
--- a/run/openssl2john.py 2024-02-03 03:18:48
+++ b/run/openssl2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This utility helps in cracking files encrypted using "openssl enc" command.
# It does not help in cracking encrypted private key files. Use pem2john.py instead.
diff -ruN a/run/padlock2john.py b/run/padlock2john.py
--- a/run/padlock2john.py 2024-02-03 03:18:48
+++ b/run/padlock2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/pcap2john.py b/run/pcap2john.py
--- a/run/pcap2john.py 2024-02-03 03:18:48
+++ b/run/pcap2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Combine of all of Dhiru Kholia pcap convert utilities
diff -ruN a/run/pem2john.py b/run/pem2john.py
--- a/run/pem2john.py 2024-02-03 03:18:48
+++ b/run/pem2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# coding: utf-8
# This software is Copyright (c) 2015, Dhiru Kholia <dhiru.kholia at gmail.com>
diff -ruN a/run/pfx2john.py b/run/pfx2john.py
--- a/run/pfx2john.py 2024-02-03 03:18:48
+++ b/run/pfx2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# coding: utf-8
"""
diff -ruN a/run/pgpdisk2john.py b/run/pgpdisk2john.py
--- a/run/pgpdisk2john.py 2024-02-03 03:18:48
+++ b/run/pgpdisk2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/pgpsda2john.py b/run/pgpsda2john.py
--- a/run/pgpsda2john.py 2024-02-03 03:18:48
+++ b/run/pgpsda2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/pgpwde2john.py b/run/pgpwde2john.py
--- a/run/pgpwde2john.py 2024-02-03 03:18:48
+++ b/run/pgpwde2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/prosody2john.py b/run/prosody2john.py
--- a/run/prosody2john.py 2024-02-03 03:18:48
+++ b/run/prosody2john.py 2024-02-24 17:43:48
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
#
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/ps_token2john.py b/run/ps_token2john.py
--- a/run/ps_token2john.py 2024-02-03 03:18:48
+++ b/run/ps_token2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
import argparse
import base64
diff -ruN a/run/pse2john.py b/run/pse2john.py
--- a/run/pse2john.py 2024-02-03 03:18:48
+++ b/run/pse2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""pysap - Python library for crafting SAP's network protocols packets"""
diff -ruN a/run/pwsafe2john.py b/run/pwsafe2john.py
--- a/run/pwsafe2john.py 2024-02-03 03:18:48
+++ b/run/pwsafe2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# pwsafe2john processes input Password Safe files into a format suitable
# for use with JtR.
diff -ruN a/run/radius2john.py b/run/radius2john.py
--- a/run/radius2john.py 2024-02-03 03:18:48
+++ b/run/radius2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2019 Maxime GOYETTE <maxgoyette0-at-gmail.com>,
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/restic2john.py b/run/restic2john.py
--- a/run/restic2john.py 2024-02-03 03:18:48
+++ b/run/restic2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# This software is Copyright (c) 2020, Jürgen Hötzel <juergen at hoetzel.info>
diff -ruN a/run/sense2john.py b/run/sense2john.py
--- a/run/sense2john.py 2024-02-03 03:18:48
+++ b/run/sense2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2021 Private Wolf <privatewolf@inbox.lv>,
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/signal2john.py b/run/signal2john.py
--- a/run/signal2john.py 2024-02-03 03:18:48
+++ b/run/signal2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2018, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/sipdump2john.py b/run/sipdump2john.py
--- a/run/sipdump2john.py 2024-02-03 03:18:48
+++ b/run/sipdump2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""sipdump2john.py processes sipdump output files (dump files)
into a format suitable for use with JtR."""
diff -ruN a/run/ssh2john.py b/run/ssh2john.py
--- a/run/ssh2john.py 2024-02-03 03:18:48
+++ b/run/ssh2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# Copyright (C) 2012, Dhiru Kholia <dhiru@openwall.com>
# Copyright (C) 2015, Dhiru Kholia <dhiru@openwall.com>
diff -ruN a/run/sspr2john.py b/run/sspr2john.py
--- a/run/sspr2john.py 2024-02-03 03:18:48
+++ b/run/sspr2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2017, Dhiru Kholia <dhiru.kholia at gmail.com>
# and it is hereby released to the general public under the following terms:
diff -ruN a/run/staroffice2john.py b/run/staroffice2john.py
--- a/run/staroffice2john.py 2024-02-03 03:18:48
+++ b/run/staroffice2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# The staroffice2john.py utility processes StarOffice files into a format
# suitable for use with JtR.
diff -ruN a/run/strip2john.py b/run/strip2john.py
--- a/run/strip2john.py 2024-02-03 03:18:48
+++ b/run/strip2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
"""strip2john.py processes STRIP files into a format suitable
for use with JtR.
diff -ruN a/run/truecrypt2john.py b/run/truecrypt2john.py
--- a/run/truecrypt2john.py 2024-02-03 03:18:48
+++ b/run/truecrypt2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# TrueCrypt volume importion to a format usable by John The Ripper
#
diff -ruN a/run/vmx2john.py b/run/vmx2john.py
--- a/run/vmx2john.py 2024-02-03 03:18:48
+++ b/run/vmx2john.py 2024-02-24 17:05:12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
# This software is Copyright (c) 2019 - Dhiru Kholia, Copyright (c) 2018 -
# axcheron, and it is hereby released under the MIT License.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment