Skip to content

Instantly share code, notes, and snippets.

@mqu
Created July 10, 2019 20:28
Show Gist options
  • Save mqu/081e867bfb9f584def41704ea855bb38 to your computer and use it in GitHub Desktop.
Save mqu/081e867bfb9f584def41704ea855bb38 to your computer and use it in GitHub Desktop.
convert azerty to querty string for BIOS password input
#!/usr/bin/ruby
# Marc Quinton
# convert string from azerty to qwerty keyboard for entering BIOS password
v1 ='azqwAZQW&é"\'(è_çà)$Mù,?;:!§1234567890'
v2 ='qwazQWAZ123456890\-[:\'mM,./?!@#$%\^&*()'
_in=ARGF.read
puts _in.tr(v2.strip,v1.strip)
@mqu
Copy link
Author

mqu commented Jul 10, 2019

use this with Samsung password recovery : https://bios-pw.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment