AlessandroZ / BeRoot

Privilege Escalation Project - Windows / Linux / Mac
GNU Lesser General Public License v3.0
2.44k stars 466 forks source link

Use regex to match sudo -ll output #12

Closed jamesgol closed 5 years ago

jamesgol commented 5 years ago

I was getting some exceptions when the output didn't match up right. I've tested this with a bunch of different data and it appears to work better than the old method.

AlessandroZ commented 5 years ago

Cool, thanks for the PR :+1: