Thatâs a pretty â â â â poor question IMO, because itâll become obvious if and when you need to learn more. Programmingâs not really the #1 thing here, so itâs up to youâŚ
â Iâve moved this from the bottom to here, coz the post is quite long⌠For what youâre doing it really doesnt matter that much, Pythonâs that simple you can litterally write the code as youâre reading the manual. Learning C would make you a much more âadequate pentesterâ as you put it, because youâd actually see what causes security issues and vulnarabilities.
Litterally all a vulnarability is, is a bug, usually because someone cough GNU developers cough canât be arsed to write it properly, then canât be arsed to fix it when it gets reported.
As a programmer of 20 years, I do have strong opinions and hopefully nobodyâll take this the wrong way.
If you really want to better yourself, Learn C, if youâre asking what/how/wether or not you should do x or y. Itâs small, but itâs complete, itâs still the language pretty much all systems programming is done in, and youâll learn more in a week about the underlying system than a lifetime writing pythonâŚ
Python is great for this sort of thing because itâs a) very simple and b) got some great libraries that take no effort to install and use⌠unfortunately itâs pretty â â â â poor on performance (using PyPy will help), and personally I hate the fact my system even has python as a dependency, let alone managing another environment (2 with python, as python2 still hasnât taken the hint) full of libraries and god knows what other command line toolâs being repped on github this week.
Iâd recommend against even learning OOP, itâs a concept that originated in functional programming (Lisp if i recall) and itâs got absolutely no place in systems programming.
C is already on your system, the man pages are a brilliant source of information, rather than googling for a tutorial that may have been written by a cretin, the man pages are the last word in documentation on UNIX.