Added some more Screenshots and fixes
@ -122,6 +122,7 @@ readonly ISTAT_BIN="$( ${WHICH_BIN} istat )"
|
|||||||
readonly KCPPY_BIN="$( ${WHICH_BIN} kcpass.py )"
|
readonly KCPPY_BIN="$( ${WHICH_BIN} kcpass.py )"
|
||||||
readonly KPARTX_BIN="$( ${WHICH_BIN} kpartx )"
|
readonly KPARTX_BIN="$( ${WHICH_BIN} kpartx )"
|
||||||
readonly LOSETUP_BIN="$( ${WHICH_BIN} losetup )"
|
readonly LOSETUP_BIN="$( ${WHICH_BIN} losetup )"
|
||||||
|
readonly LS_BIN="$( ${WHICH_BIN} ls )"
|
||||||
readonly MINISIGN_BIN="$( ${WHICH_BIN} minisign )"
|
readonly MINISIGN_BIN="$( ${WHICH_BIN} minisign )"
|
||||||
readonly MKDIR_BIN="$( ${WHICH_BIN} mkdir )"
|
readonly MKDIR_BIN="$( ${WHICH_BIN} mkdir )"
|
||||||
readonly MMLS_BIN="$( ${WHICH_BIN} mmls )"
|
readonly MMLS_BIN="$( ${WHICH_BIN} mmls )"
|
||||||
@ -141,6 +142,8 @@ readonly PSTAT_BIN="$( ${WHICH_BIN} pstat )"
|
|||||||
readonly PWDUMP_BIN="$( ${WHICH_BIN} pwdump.py )"
|
readonly PWDUMP_BIN="$( ${WHICH_BIN} pwdump.py )"
|
||||||
readonly QEMUIMG_BIN="$( ${WHICH_BIN} qemu-img )"
|
readonly QEMUIMG_BIN="$( ${WHICH_BIN} qemu-img )"
|
||||||
readonly QEMUSYS64_BIN="$( ${WHICH_BIN} qemu-system-x86_64 )"
|
readonly QEMUSYS64_BIN="$( ${WHICH_BIN} qemu-system-x86_64 )"
|
||||||
|
readonly QEMUSYSARM_BIN="$( ${WHICH_BIN} qemu-system-arm )"
|
||||||
|
readonly QEMUSYSAA64_BIN="$( ${WHICH_BIN} qemu-system-aarch64 )"
|
||||||
readonly RM_BIN="$( ${WHICH_BIN} rm )"
|
readonly RM_BIN="$( ${WHICH_BIN} rm )"
|
||||||
readonly RMDIR_BIN="$( ${WHICH_BIN} rmdir )"
|
readonly RMDIR_BIN="$( ${WHICH_BIN} rmdir )"
|
||||||
readonly SED_BIN="$( ${WHICH_BIN} sed )"
|
readonly SED_BIN="$( ${WHICH_BIN} sed )"
|
||||||
|
@ -128,7 +128,7 @@ if [ ! -f "${MD5_SHA1}" ] ; then
|
|||||||
|
|
||||||
${CAT_BIN} "/tmp/openssl_sha1.tmp" >> "${MD5_SHA1}"
|
${CAT_BIN} "/tmp/openssl_sha1.tmp" >> "${MD5_SHA1}"
|
||||||
${RM_BIN} "/tmp/openssl_sha1.tmp"
|
${RM_BIN} "/tmp/openssl_sha1.tmp"
|
||||||
${SED_BIN} --in-place "s/(stdin)/($( ${BASENAME_BIN} "${SOURCE}" ))/" "${MD5_SHA1}"
|
${SED_BIN} --in-place "s/*stdin/*$( ${BASENAME_BIN} "${SOURCE}" )/" "${MD5_SHA1}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
|
@ -97,8 +97,6 @@ check_dep "${OPHCRACK_BIN}" "ophcrack"
|
|||||||
|
|
||||||
check_ext "${SOURCE}" "txt"
|
check_ext "${SOURCE}" "txt"
|
||||||
|
|
||||||
check_tmp
|
|
||||||
|
|
||||||
# I use Free Vista Rainbow tables from
|
# I use Free Vista Rainbow tables from
|
||||||
# https://ophcrack.sourceforge.io/tables.php
|
# https://ophcrack.sourceforge.io/tables.php
|
||||||
#
|
#
|
||||||
|
@ -95,6 +95,11 @@ source "${LIBRARY}"
|
|||||||
check_dep "${GTERMINAL_BIN}" "gnome-terminal"
|
check_dep "${GTERMINAL_BIN}" "gnome-terminal"
|
||||||
check_dep "${CHNTPW_BIN}" "chntpw"
|
check_dep "${CHNTPW_BIN}" "chntpw"
|
||||||
|
|
||||||
|
# TODO: - check if partition is mounted rw!
|
||||||
|
# - if not:
|
||||||
|
# hint for boot into login screen and <shift> + shotdown
|
||||||
|
# and then retry!
|
||||||
|
|
||||||
# Windows: Vista, 7, 8, 8.1, 8.1U1 and 10
|
# Windows: Vista, 7, 8, 8.1, 8.1U1 and 10
|
||||||
# WINDOWS: XP
|
# WINDOWS: XP
|
||||||
check_dir "${SOURCE}" "W(indows|INDOWS)"
|
check_dir "${SOURCE}" "W(indows|INDOWS)"
|
||||||
|
@ -106,14 +106,16 @@ check_dep "${SED_BIN}" "sed"
|
|||||||
# https://raw.githubusercontent.com/casualscripter/debian-stuff
|
# https://raw.githubusercontent.com/casualscripter/debian-stuff
|
||||||
check_dep "${PPEPY_BIN}" "print_plist_entry.py"
|
check_dep "${PPEPY_BIN}" "print_plist_entry.py"
|
||||||
|
|
||||||
check_ext "${SOURCE}" "[eE]01|dd|DD|raw|RAW|img|IMG"
|
check_ext "${SOURCE}" "[eE]01"
|
||||||
|
|
||||||
|
check_tmp
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# A little bit of configuration before the magic.
|
# A little bit of configuration before the magic.
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
readonly OFFSET="$( choose_partition "${SOURCE}" | ${AWK_BIN} -F "_" '{ print $3; }' )"
|
readonly OFFSET="$( choose_partition "${SOURCE}" | ${AWK_BIN} -F "_" '{ print $3; }' )"
|
||||||
|
|
||||||
readonly TIMEZONE="${DIRNAME}/timezone.txt"
|
readonly TIMEZONE="${TMP}/timezone-${OFFSET}.txt"
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# The wonder...
|
# The wonder...
|
||||||
@ -142,18 +144,18 @@ if ${FSSTAT_BIN} -o "${OFFSET}" "${SOURCE}" > /dev/null 2>&1 ; then
|
|||||||
-n "/Library/Preferences/.GlobalPreferences.plist" \
|
-n "/Library/Preferences/.GlobalPreferences.plist" \
|
||||||
"${SOURCE}" )"
|
"${SOURCE}" )"
|
||||||
if [ "${pref}" != "File not found" ] ; then
|
if [ "${pref}" != "File not found" ] ; then
|
||||||
if [ ! -f "${DIRNAME}/GlobalPreferences.plist" ] ; then
|
if [ ! -f "${TMP}/GlobalPreferences.plist" ] ; then
|
||||||
if ! ${ICAT_BIN} -o "${OFFSET}" "${SOURCE}" "${pref}" > "/tmp/${pref}.plist" ; then
|
if ! ${ICAT_BIN} -o "${OFFSET}" "${SOURCE}" "${pref}" > "/tmp/${pref}.plist" ; then
|
||||||
echo " During the execution of icat an error occurred." >> "${TIMEZONE}"
|
echo " During the execution of icat an error occurred." >> "${TIMEZONE}"
|
||||||
fi
|
fi
|
||||||
${PLUTIL_BIN} -i "/tmp/${pref}.plist" -o "${DIRNAME}/GlobalPreferences.plist"
|
${PLUTIL_BIN} --format xml --infile "/tmp/${pref}.plist" --outfile "${TMP}/GlobalPreferences.plist"
|
||||||
${RM_BIN} "/tmp/${pref}.plist"
|
${RM_BIN} "/tmp/${pref}.plist"
|
||||||
# since 10.10 (Yosemite) it seems, that the converted XML is not well formed!?
|
# since 10.10 (Yosemite) it seems, that the converted XML is not well formed!?
|
||||||
${SED_BIN} --in-place --regexp-extended '/<key>AppleLanguages<\/key>/,/<\/array>/ s/string/key/g' "${DIRNAME}/GlobalPreferences.plist"
|
#${SED_BIN} --in-place --regexp-extended '/<key>AppleLanguages<\/key>/,/<\/array>/ s/string/key/g' "${TMP}/GlobalPreferences.plist"
|
||||||
fi
|
fi
|
||||||
echo -e -n " Some content from \".GlobalPreferences.plist\":\n " \
|
echo -e -n " Some content from \".GlobalPreferences.plist\":\n " \
|
||||||
>> "${TIMEZONE}"
|
>> "${TIMEZONE}"
|
||||||
${PPEPY_BIN} "${DIRNAME}/GlobalPreferences.plist" TimeZoneName \
|
${PPEPY_BIN} "${TMP}/GlobalPreferences.plist" TimeZoneName \
|
||||||
>> "${TIMEZONE}"
|
>> "${TIMEZONE}"
|
||||||
echo >> "${TIMEZONE}"
|
echo >> "${TIMEZONE}"
|
||||||
else
|
else
|
||||||
@ -165,13 +167,13 @@ if ${FSSTAT_BIN} -o "${OFFSET}" "${SOURCE}" > /dev/null 2>&1 ; then
|
|||||||
"${SOURCE}" )"
|
"${SOURCE}" )"
|
||||||
if [ "${auto}" != "File not found" ] ; then
|
if [ "${auto}" != "File not found" ] ; then
|
||||||
if [ ! -f "${auto}.plist" ] ; then
|
if [ ! -f "${auto}.plist" ] ; then
|
||||||
if ! ${ICAT_BIN} -o "${OFFSET}" "${SOURCE}" "${auto}" > "${DIRNAME}/com.apple.timezone.auto.plist" ; then
|
if ! ${ICAT_BIN} -o "${OFFSET}" "${SOURCE}" "${auto}" > "${TMP}/com.apple.timezone.auto.plist" ; then
|
||||||
echo " During the execution of icat an error occurred." >> "${TIMEZONE}"
|
echo " During the execution of icat an error occurred." >> "${TIMEZONE}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
echo -e -n " Some content from \"com.apple.timezone.auto.plist\":\n " \
|
echo -e -n " Some content from \"com.apple.timezone.auto.plist\":\n " \
|
||||||
>> "${TIMEZONE}"
|
>> "${TIMEZONE}"
|
||||||
${PPEPY_BIN} "${DIRNAME}/com.apple.timezone.auto.plist" Active \
|
${PPEPY_BIN} "${TMP}/com.apple.timezone.auto.plist" Active \
|
||||||
>> "${TIMEZONE}"
|
>> "${TIMEZONE}"
|
||||||
echo >> "${TIMEZONE}"
|
echo >> "${TIMEZONE}"
|
||||||
else
|
else
|
||||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
BIN
home/lucifer/Pictures/Screenshots/Ophcrack-rainbow-tables.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
home/lucifer/Pictures/Screenshots/Ophcrack.png
Normal file
After Width: | Height: | Size: 151 KiB |
BIN
home/lucifer/Pictures/Screenshots/chntpw.png
Normal file
After Width: | Height: | Size: 188 KiB |
After Width: | Height: | Size: 12 KiB |
BIN
home/lucifer/Pictures/Screenshots/hashcat-dictionary.png
Normal file
After Width: | Height: | Size: 150 KiB |
BIN
home/lucifer/Pictures/Screenshots/macos-version.png
Normal file
After Width: | Height: | Size: 154 KiB |
BIN
home/lucifer/Pictures/Screenshots/md5-and-sha1.png
Normal file
After Width: | Height: | Size: 107 KiB |