Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added: new cli tool for WD My Passport #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pkgs-at
Copy link

@pkgs-at pkgs-at commented Sep 16, 2017

  • device listing (--list)
  • non hard-coded hash iteration and salt (maybe endian safe)
  • automate sg_raw command

tested on CentOS7, python 2.7.5 and WD My Passport 4TB
Sorry, I'm not well in English...


usage: wdpass [-h] [--list] [--unlock /dev/sgN [/dev/sgN ...]] [--unlock-all] [--passwd ********]

WD My Passport series utility for Linux

optional arguments:
-h, --help
show this help message and exit
--list
list WD My Passport devices
--unlock /dev/sgN [/dev/sgN ...]
unlock specified device
--unlock-all
unlock all of locked devices
--passwd ********
specify password

- device listing (--list)
- non hard-coded hash iteration and salt (maybe endian safe)
- automate sg_raw command
# tested on CentOS7
@pkgs-at
Copy link
Author

pkgs-at commented Sep 16, 2017

Current version updated: https://gist.github.com/pkgs-at/69e518c96b9235979b53308c53df0557

  • implobed: --list reports block device (/dev/sdX)
  • implobed: --unlock accepts block device(/dev/sdX), direct access block device(/dev/sgN) or enclosure(/dev/sgN)
  • implobed: PATH search
  • implobed: --unlock / --unlock-all issue partprobe command
  • added: --show (includes password hint)
  • added: --stop (spin down)
  • added: --rebind (usb port unbind/bind)
  • added: --change (setup / change / remove password, with default or random salt)
  • fixed: bug: enclosure miss-selection when multiple devices found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant