ShareShortcuts
Создать форк «Password Manager Offline»

Создали что-то новое на основе этой команды? Поделитесь ей как форком: она станет вашей собственной командой, которой вы управляете, а обе страницы будут ссылаться друг на друга, чтобы fkawilliams получил(а) признание.

  1. 1Получите команду и измените её в приложении «Быстрые команды». Дайте ей собственное название.
  2. 2Поделись ею из приложения «Быстрые команды» и скопируй ссылку iCloud.
  3. 3Вернись сюда, вставь ссылку и опиши, что изменилось, например: «Добавлен шаг, который использует Apple Intelligence для персонализации текста».
Загрузки
40K
Сохранено
0
Действия
145
Категория
API
Версия
1.0
Язык
EN

This is an offline version of Password Manager that doesn’t use iCloud and so is not subject to iCloud leaks.

This password manager encodes all the passwords to help add another layer of protection to your passwords.

This a work in progress and there are a few bugs but almost everything works. Definitely worth a try.

The default password is “Password”

Features:

Inbuilt updatesImport and Export backupsPasswords are encodedPassword generatorEdit passwordsMaster Password keeps passwords safeCracked password checker

Что нового

Версия 1.0

First release

История версий
1.0 26 июл 2022 г.

First release

Что делает

Действий: 145
  1. Comment
    The defult password is “Password” You can change this to whatever you want in settings. The “Checked for leaked passwords” feature only sends a small part of your password so that your password remains safe.
  2. Create Folder
  3. Create Folder
  4. Get File
  5. If
  6. Text
  7. Base64 Encode
  8. Save File
  9. If
  10. Get File
  11. Base64 Encode
  12. Ask for Input
    Password:
  13. Match Text
  14. If
  15. Choose from Menu
    What would you like to do?
  16. Choose from Menu
    🔒 Create Password
  17. Ask for Input
    Enter a website or app name.
  18. Create Folder
  19. Ask for Input
    Enter a username.
  20. Base64 Encode
  21. Save File
  22. Ask for Input
    Enter a password.
  23. Base64 Encode
  24. Save File
  25. Choose from Menu
    🔓 View Passwords
  26. Get Contents of Folder
  27. Choose from List
  28. Get Contents of Folder
  29. Base64 Encode
  30. Show Alert
  31. Choose from Menu
    🛠 Tools
  32. Choose from Menu
    Tools
  33. Choose from Menu
    💧 Check For Leaked Passwords
  34. Get Contents of Folder
  35. Choose from List
  36. Get File
  37. Get Text from Input
  38. Base64 Encode
  39. Generate Hash
  40. Set Variable
    HashFull
  41. Get Text from Input
  42. Split Text
  43. Get Item from List
  44. Combine Text
  45. Get Item from List
  46. Set Variable
    HashStart
  47. Get Text from Input
  48. Split Text
  49. Get Item from List
  50. Combine Text
  51. Set Variable
    HashEnd
  52. URL
    https://api.pwnedpasswords.com/range/…
  53. Get Contents of URL
    …
  54. Get Text from Input
  55. Match Text
  56. Get Text from Input
  57. Split Text
  58. Get Item from List
  59. If
  60. Show Alert
  61. If
  62. Show Alert
  63. Choose from Menu
    ✏️ Manage Passwords
  64. Choose from Menu
    Manage Passwords
  65. Choose from Menu
    ✏️ Edit A Password
  66. Get Contents of Folder
  67. Choose from List
  68. Get File
  69. Base64 Encode
  70. Ask for Input
    New Password:
  71. Base64 Encode
  72. Save File
  73. Choose from Menu
    🗑 Delete Passwords
  74. Choose from Menu
    What do you want to do?
  75. Choose from Menu
    🗞 Delete all passwords
  76. Get Contents of Folder
  77. Delete Files
  78. Choose from Menu
    📄 Delete one password
  79. Get Contents of Folder
  80. Choose from List
  81. Delete Files
  82. Choose from Menu
    🔐 Generate A Password
  83. Dictionary
  84. Dictionary
  85. Dictionary
  86. Dictionary
  87. Ask for Input
    How Many Digits?
  88. Set Variable
    Length
  89. List
  90. Choose from List
  91. If
  92. Add to Variable
  93. If
  94. Add to Variable
  95. If
  96. Add to Variable
  97. If
  98. Add to Variable
  99. Get Dictionary from Input
  100. Repeat
  101. Get Item from List
  102. Combine Text
  103. Copy to Clipboard
  104. Show Alert
    Generated Password:
  105. Choose from Menu
    ⚙️ Settings
  106. Choose from Menu
    Settings
  107. Choose from Menu
    ✏️ Change Master Password
  108. Ask for Input
    New Password:
  109. Ask for Input
    Repeat New Password:
  110. Show Alert
  111. Match Text
  112. If
  113. Base64 Encode
  114. Save File
  115. If
  116. Show Alert
    Oops
  117. Choose from Menu
    ☁️ Backup
  118. Choose from Menu
    Backup
  119. Choose from Menu
    ⬇️ Export Backup
  120. Folder
  121. Make Archive
  122. Show Alert
  123. Save File
  124. Choose from Menu
    ⬆️ Import Backup
  125. Select File
  126. Extract Archive
  127. Show Alert
  128. Folder
  129. Delete Files
  130. Save File
  131. Choose from Menu
    🔄 Check For Updates
  132. If
  133. Show Alert
    Oops!
  134. Run Shortcut
    Password Manager Alpha
  135. Dictionary
  136. URL
    https://routinehub.co/api/v1/shortcuts/…/versions/latest
  137. Get Contents of URL
    …
  138. Set Variable
    Update Details
  139. Number
  140. If
  141. Show Alert
  142. Replace Text
  143. Open URLs
  144. If
  145. Show Alert
    Update

Посмотреть как код
Бета

Все действия этой команды, записанные на Cherri — языке программирования для приложения «Быстрые команды». Отлично подходит, чтобы разобраться, как она работает.

#include 'actions/web'
#include 'actions/text'
#include 'actions/documents'
#define color red
#define glyph lock

/*
The defult password is “Password” You can change this to whatever you want in settings.

The “Checked for leaked passwords” feature only sends a small part of your password so that your password remains safe.
*/
const CreatedFolder = createFolder("Password Manager")
createFolder("Passwords")
const File = getFile("Password.txt", CreatedFolder, false)

if !File {
	const Text = "Password"
	const Base64Encoded = base64Encode(Text)
	saveFile("/Password Manager/Password.txt", Base64Encoded)
} else {
}
const File1 = getFile("/Password Manager/Password.txt")
base64Encode(File1)
prompt("Password:")
const Matches = containsText()

if Matches {
	menu "What would you like to do?" {
	item "🔒 Create Password":
		prompt("Enter a website or app name.")
		const CreatedFolder1 = createFolder()
		const ProvidedInput = prompt("Enter a username.")
		const Base64Encoded1 = base64Encode(ProvidedInput)
		saveFile("Username.txt", Base64Encoded1, false)
		const ProvidedInput1 = prompt("Enter a password.", "Text")
		const Base64Encoded2 = base64Encode(ProvidedInput1)
		saveFile("Password.txt", Base64Encoded2)
	item "🔓 View Passwords":
		const ContentsOfFolder = getFolderContents()
		const ChosenItem = chooseFromList(ContentsOfFolder, "Select the password you want to view.")
		const ContentsOfFolder1 = getFolderContents(ChosenItem, false)
		base64Encode(ContentsOfFolder1)
		confirm()
	item "🛠 Tools":
		menu "Tools" {
		item "💧 Check For Leaked Passwords":
			const ContentsOfFolder2 = getFolderContents()
			const ChosenItem1 = chooseFromList(ContentsOfFolder2, "Choose Password You Want To Test:")
			const File2 = getFile("Password.txt", ChosenItem1)
			const Text1 = getText(File2)
			const Base64Encoded3 = base64Encode(Text1)
			hash(Base64Encoded3, "SHA1")
			@HashFull
			const Text2 = getText(@HashFull)
			const SplitText = splitText(Text2, "")
			const ItemFromList = getListItems(SplitText, 1, 5)
			const CombinedText = joinText(ItemFromList, "Custom")
			getRandomItem(CombinedText)
			@HashStart
			const Text3 = getText(@HashFull)
			const SplitText1 = splitText(Text3, "")
			const ItemFromList1 = getListItems(SplitText1, 6, 40)
			joinText(ItemFromList1, "Custom")
			@HashEnd
			url("https://api.pwnedpasswords.com/range/{@HashStart}")
			const ContentsOfURL = downloadURL()
			getText(ContentsOfURL)
			const Matches1 = containsText(, "{@HashEnd}:\d+", false)
			const Text4 = getText(Matches1)
			const SplitText2 = splitText(Text4, ":")
			const ItemFromList2 = getRandomItem(SplitText2)
			if ItemFromList2 {
				confirm("Your password has been Pwned {ItemFromList2} times!\n\nYou need to stop using it everywhere immediately!")
			} else {
				confirm("Your password has not been cracked. It is safe to use!")
			}
		item "✏️ Manage Passwords":
			menu "Manage Passwords" {
			item "✏️ Edit A Password":
				const ContentsOfFolder3 = getFolderContents()
				const ChosenItem2 = chooseFromList(ContentsOfFolder3, "Select the password you want to edit.", false)
				const File3 = getFile("Password.txt", ChosenItem2)
				base64Encode(File3)
				const ProvidedInput2 = prompt("New Password:")
				const Base64Encoded4 = base64Encode(ProvidedInput2)
				saveFile("/Password Manager/Passwords/{ChosenItem2}/Password.txt", Base64Encoded4, true)
			item "🗑 Delete Passwords":
				menu "What do you want to do?" {
				item "🗞 Delete all passwords":
					const ContentsOfFolder4 = getFolderContents()
					deleteFiles(ContentsOfFolder4)
				item "📄 Delete one password":
					const ContentsOfFolder5 = getFolderContents()
					const ChosenItem3 = chooseFromList(ContentsOfFolder5, "Select the password you want to delete.", false)
					deleteFiles(ChosenItem3)
				}
			}
		item "🔐 Generate A Password":
			prompt("How Many Digits?", "Number")
			@Length
			const List = list("Uppercase", "Lowercase", "Number", "Symbols")
			const ChosenItem4 = chooseFromList(List, "What do you want to include?", true)
			if ChosenItem4 contains "Uppercase" {
				@Included
			}
			if ChosenItem4 contains "Lowercase" {
				@Included
			}
			if ChosenItem4 contains "Numbers" {
				@Included
			}
			if ChosenItem4 contains "Symbols" {
				@Included
			}
			const Dictionary = getDictionary(@Included)
			repeat _ for @Length {
				getRandomItem(Dictionary['Values'])
			}
			const CombinedText1 = joinText(RepeatResults, "Custom")
			setClipboard(CombinedText1)
			alert(CombinedText1, "Generated Password:")
		}
	item "⚙️ Settings":
		menu "Settings" {
		item "✏️ Change Master Password":
			const ProvidedInput3 = prompt("New Password:")
			prompt("Repeat New Password:")
			confirm("Are you sure you want to change the master password?")
			const Matches2 = containsText(, ProvidedInput3)
			if Matches2 {
				const Base64Encoded5 = base64Encode(ProvidedInput3)
				saveFile("/Password Manager/Password.txt", Base64Encoded5, true)
			} else {
				alert("Your passwords did not match.", "Oops")
			}
		item "☁️ Backup":
			menu "Backup" {
			item "⬇️ Export Backup":
				rawAction("is.workflow.actions.folder", {
					"WFFolder": ""
				})
				const Archive = makeArchive(Folder, "zip")
				confirm("You will now choose where to save your backup.")
				saveFilePrompt(Archive)
			item "⬆️ Import Backup":
				const File4 = selectFile()
				const Files = extractArchive(File4)
				confirm("Do you want to continue? your current passwords will be overwritten with the ones in the backup. Your master password will be changed to the one in the backup.")
				rawAction("is.workflow.actions.folder", {
					"WFFolder": ""
				})
				deleteFiles(Folder1)
				saveFile("", Files, true)
			}
		item "🔄 Check For Updates":
		}
	}
} else {
	alert("You entered the wrong password!", "Oops!")
	runSelf()
}
const Dictionary1 = {
	"Author": "JordanJ",
	"Name": "Password Manager Offline",
	"RHID": "12630",
	"Version": "1.1"
}
url("https://routinehub.co/api/v1/shortcuts/{Dictionary1['RHID']}/versions/latest")
downloadURL()
@UpdateDetails
const Number = number(@UpdateDetails)

if Number != Dictionary1['Version'] {
	confirm("There is a update available! Do you want to continue?")
	const UpdatedText = replaceText("http://www.icloud.com/", "Shortcuts:/", @UpdateDetails['URL'])
	openURL(UpdatedText)
} else {
	alert("Password Manager is up to date!", "Update")
}
Декомпилировано с помощью cherri 2.3.0 (GPL-2.0). Перед компиляцией могут понадобиться небольшие исправления.

Оценки и отзывы

Написать отзыв
–
из 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Пока нет отзывов. Поделись мнением первым!

Реклама

Ещё от fkawilliams

См. все

Вам также может понравиться

См. все
Реклама