How to get the hash linked to a GeneratedUID in El Capitan? Trying to find the GeneratedUID in OS X still works (see example below): 

dscl localhost -read /Search/Users/&lt;username&gt; | grep GeneratedUID | cut -c15-


But entering the following into the command line, replacing &lt;GeneratedUID&gt; with the GeneratedUID found above:

cat /var/db/shadow/hash/&lt;GeneratedUID&gt; | cut -c169-216


leads to nowhere. This worked in earlier versions of OS X.

Where is the hash located in El Capitan now?
The hashes of the users are stored in a different place since 10.7:

/var/db/dslocal/nodes/Default/users/&lt;user&gt;.plist


To get the shadow hash enter:

sudo defaults read /var/db/dslocal/nodes/Default/users/&lt;user&gt;.plist ShadowHashData | tr -dc '0-9a-f ' | xxd -p -r | plutil -convert xml1 - -o -


or directly through directory services:

sudo dscl . read /Users/&lt;user&gt; AuthenticationAuthority


and 

sudo dscl . read /Users/&lt;user&gt; dsAttrTypeNative:ShadowHashData