spencerdodd / kernelpop

kernel privilege escalation enumeration and exploitation framework
687 stars 130 forks source link

new parsing of version # in linux #12

Closed spencerdodd closed 6 years ago

spencerdodd commented 6 years ago

quick fix so that unames with the kernel version formatted like 4.14.0-rc7+ does not crash the program.

example uname:

Linux amd64 4.14.0-rc7+ #18 SMP PREEMPT Sun Nov 5 05:52:33 MSK 2017 x86_64 GNU/Linux