Measuring hot electron distributions in intense laser interaction with dense matter