hashcat Forum
Learn salt DECODE() MySQL knowing the password ? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Learn salt DECODE() MySQL knowing the password ? (/thread-7411.html)



Learn salt DECODE() MySQL knowing the password ? - HashMania - 04-01-2018

MySQL DECODE() & ENCODE() => github source

ENCODE:
Code:
INSERT INTO users(pass) VALUES (ENCODE('pass123','salt'))
OUT:
Code:
q+ÀC[

DECODE:
Code:
SELECT DECODE(pass,'salt') as 'decode pass' FROM users
OUT:
Code:
pass123

The database I have encrypted passwords, i know some of the passwords
Can I get salt with which passwords have been encrypted?
(to decrypt the remaining passwords)