diff --git a/home/lucifer/.local/share/nautilus/scripts/.casualscripter_nautilus-scripts_functions.sh b/home/lucifer/.local/share/nautilus/scripts/.casualscripter_nautilus-scripts_functions.sh index a900ffb..7ba25a4 100755 --- a/home/lucifer/.local/share/nautilus/scripts/.casualscripter_nautilus-scripts_functions.sh +++ b/home/lucifer/.local/share/nautilus/scripts/.casualscripter_nautilus-scripts_functions.sh @@ -122,6 +122,7 @@ readonly ISTAT_BIN="$( ${WHICH_BIN} istat )" readonly KCPPY_BIN="$( ${WHICH_BIN} kcpass.py )" readonly KPARTX_BIN="$( ${WHICH_BIN} kpartx )" readonly LOSETUP_BIN="$( ${WHICH_BIN} losetup )" +readonly LS_BIN="$( ${WHICH_BIN} ls )" readonly MINISIGN_BIN="$( ${WHICH_BIN} minisign )" readonly MKDIR_BIN="$( ${WHICH_BIN} mkdir )" readonly MMLS_BIN="$( ${WHICH_BIN} mmls )" @@ -141,6 +142,8 @@ readonly PSTAT_BIN="$( ${WHICH_BIN} pstat )" readonly PWDUMP_BIN="$( ${WHICH_BIN} pwdump.py )" readonly QEMUIMG_BIN="$( ${WHICH_BIN} qemu-img )" 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 RMDIR_BIN="$( ${WHICH_BIN} rmdir )" readonly SED_BIN="$( ${WHICH_BIN} sed )" diff --git a/home/lucifer/.local/share/nautilus/scripts/04-RAW/03-md5-and-sha1 b/home/lucifer/.local/share/nautilus/scripts/04-RAW/03-md5-and-sha1 index 3a27476..689d5f0 100755 --- a/home/lucifer/.local/share/nautilus/scripts/04-RAW/03-md5-and-sha1 +++ b/home/lucifer/.local/share/nautilus/scripts/04-RAW/03-md5-and-sha1 @@ -128,7 +128,7 @@ if [ ! -f "${MD5_SHA1}" ] ; then ${CAT_BIN} "/tmp/openssl_sha1.tmp" >> "${MD5_SHA1}" ${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 #------------------------------------------------------------------------------- diff --git a/home/lucifer/.local/share/nautilus/scripts/05a-Windows/06-pwdump-Ophcrack b/home/lucifer/.local/share/nautilus/scripts/05a-Windows/06-pwdump-Ophcrack index b2a0c3c..bd610d5 100755 --- a/home/lucifer/.local/share/nautilus/scripts/05a-Windows/06-pwdump-Ophcrack +++ b/home/lucifer/.local/share/nautilus/scripts/05a-Windows/06-pwdump-Ophcrack @@ -97,8 +97,6 @@ check_dep "${OPHCRACK_BIN}" "ophcrack" check_ext "${SOURCE}" "txt" -check_tmp - # I use Free Vista Rainbow tables from # https://ophcrack.sourceforge.io/tables.php # diff --git a/home/lucifer/.local/share/nautilus/scripts/05a-Windows/08-WindowsDir-chntpw b/home/lucifer/.local/share/nautilus/scripts/05a-Windows/08-WindowsDir-chntpw index 2df56ab..ecfd4ff 100755 --- a/home/lucifer/.local/share/nautilus/scripts/05a-Windows/08-WindowsDir-chntpw +++ b/home/lucifer/.local/share/nautilus/scripts/05a-Windows/08-WindowsDir-chntpw @@ -95,6 +95,11 @@ source "${LIBRARY}" check_dep "${GTERMINAL_BIN}" "gnome-terminal" check_dep "${CHNTPW_BIN}" "chntpw" +# TODO: - check if partition is mounted rw! +# - if not: +# hint for boot into login screen and + shotdown +# and then retry! + # Windows: Vista, 7, 8, 8.1, 8.1U1 and 10 # WINDOWS: XP check_dir "${SOURCE}" "W(indows|INDOWS)" diff --git a/home/lucifer/.local/share/nautilus/scripts/05b-macOS/02-E01-timezone b/home/lucifer/.local/share/nautilus/scripts/05b-macOS/02-E01-timezone index 79c2b97..9bb48f2 100755 --- a/home/lucifer/.local/share/nautilus/scripts/05b-macOS/02-E01-timezone +++ b/home/lucifer/.local/share/nautilus/scripts/05b-macOS/02-E01-timezone @@ -106,14 +106,16 @@ check_dep "${SED_BIN}" "sed" # https://raw.githubusercontent.com/casualscripter/debian-stuff 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. #------------------------------------------------------------------------------- readonly OFFSET="$( choose_partition "${SOURCE}" | ${AWK_BIN} -F "_" '{ print $3; }' )" -readonly TIMEZONE="${DIRNAME}/timezone.txt" +readonly TIMEZONE="${TMP}/timezone-${OFFSET}.txt" #------------------------------------------------------------------------------- # The wonder... @@ -142,18 +144,18 @@ if ${FSSTAT_BIN} -o "${OFFSET}" "${SOURCE}" > /dev/null 2>&1 ; then -n "/Library/Preferences/.GlobalPreferences.plist" \ "${SOURCE}" )" 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 echo " During the execution of icat an error occurred." >> "${TIMEZONE}" 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" - # since 10.10 (Yosemite) it seems, that the converted XML is not well formed!? - ${SED_BIN} --in-place --regexp-extended '/AppleLanguages<\/key>/,/<\/array>/ s/string/key/g' "${DIRNAME}/GlobalPreferences.plist" + # since 10.10 (Yosemite) it seems, that the converted XML is not well formed!? + #${SED_BIN} --in-place --regexp-extended '/AppleLanguages<\/key>/,/<\/array>/ s/string/key/g' "${TMP}/GlobalPreferences.plist" fi echo -e -n " Some content from \".GlobalPreferences.plist\":\n " \ >> "${TIMEZONE}" - ${PPEPY_BIN} "${DIRNAME}/GlobalPreferences.plist" TimeZoneName \ + ${PPEPY_BIN} "${TMP}/GlobalPreferences.plist" TimeZoneName \ >> "${TIMEZONE}" echo >> "${TIMEZONE}" else @@ -165,13 +167,13 @@ if ${FSSTAT_BIN} -o "${OFFSET}" "${SOURCE}" > /dev/null 2>&1 ; then "${SOURCE}" )" if [ "${auto}" != "File not found" ] ; 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}" fi fi echo -e -n " Some content from \"com.apple.timezone.auto.plist\":\n " \ >> "${TIMEZONE}" - ${PPEPY_BIN} "${DIRNAME}/com.apple.timezone.auto.plist" Active \ + ${PPEPY_BIN} "${TMP}/com.apple.timezone.auto.plist" Active \ >> "${TIMEZONE}" echo >> "${TIMEZONE}" else diff --git a/home/lucifer/Pictures/Screenshots/00-root.png b/home/lucifer/Pictures/Screenshots/00-root.png index bd10cb3..0077c9c 100644 Binary files a/home/lucifer/Pictures/Screenshots/00-root.png and b/home/lucifer/Pictures/Screenshots/00-root.png differ diff --git a/home/lucifer/Pictures/Screenshots/Ophcrack-rainbow-tables.png b/home/lucifer/Pictures/Screenshots/Ophcrack-rainbow-tables.png new file mode 100644 index 0000000..f6fa05e Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/Ophcrack-rainbow-tables.png differ diff --git a/home/lucifer/Pictures/Screenshots/Ophcrack.png b/home/lucifer/Pictures/Screenshots/Ophcrack.png new file mode 100644 index 0000000..8c3454e Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/Ophcrack.png differ diff --git a/home/lucifer/Pictures/Screenshots/chntpw.png b/home/lucifer/Pictures/Screenshots/chntpw.png new file mode 100644 index 0000000..85fd756 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/chntpw.png differ diff --git a/home/lucifer/Pictures/Screenshots/hashcat-brute-force-patterns.png b/home/lucifer/Pictures/Screenshots/hashcat-brute-force-patterns.png new file mode 100644 index 0000000..bc71b27 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/hashcat-brute-force-patterns.png differ diff --git a/home/lucifer/Pictures/Screenshots/hashcat-dictionary.png b/home/lucifer/Pictures/Screenshots/hashcat-dictionary.png new file mode 100644 index 0000000..dcae3e3 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/hashcat-dictionary.png differ diff --git a/home/lucifer/Pictures/Screenshots/macos-version.png b/home/lucifer/Pictures/Screenshots/macos-version.png new file mode 100644 index 0000000..4a23038 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/macos-version.png differ diff --git a/home/lucifer/Pictures/Screenshots/md5-and-sha1.png b/home/lucifer/Pictures/Screenshots/md5-and-sha1.png new file mode 100644 index 0000000..629a4f7 Binary files /dev/null and b/home/lucifer/Pictures/Screenshots/md5-and-sha1.png differ