can we use Go instead of python for security? and is it a good choice for Security and hacking?
What do you mean by ‘security’? Please be more specifict and tell us what kind of problem you want to solve.
Freshly I want to start to be security and become be white hat. my friend said to me I must learn these topics
LPIC 1/2/ (3)
Python / ( Perl / JS )
now I want to instead of Python, Perl or JS learn just Golang and write my tools if I need with just Golang. is it possible or I must learn these three languages? and if is it possible to secure things or penetration tests with Golang is it a good decision or not?
Packt.com has a $5 sale going on right now:
Security with Go
By:** John Daniel Leon
Publisher:** Packt Publishing
Pub. Date:** January 31, 2018
Print ISBN-13:** 978-1-78862-791-7
Web ISBN-13:** 978-1-78862-225-7
Pages in Print Edition:** 340
In Iran, we can’t access to international books or visa card, PayPal and either Github and this is not our fault. because or governments and the world ignore us. all world ignore Iranian people and we are Suffering
Perhaps you can contact the publisher, Packt, directly and see if they can help you out.
I think I would say “yes” to your question, based on what I understand. Go is similar to Python in that it is a very simple (in a lexicon sense) language, so there isn’t as much to memorize or know. The downsides are not necessarily the same, but relate to solutions to similar problems (e.g. Garbage Collection).
Go also gives you surface area to develop very fast execution and delivery pipelines in the form of containers, which can definitely be useful from a security standpoint.
Honestly, I think there is no way around Python, mainly in the security area, for the simple fact that many tools are offering a Python interfaces. Also, Python is perfect for fast prototyping.
Go however is perfect for developing independent applications that might be relevant in security area, like web crawlers, security scanners, web applications, cryptographic calculations, etc, because of it’s great support for concurrency - it became my favorite language, meynwhile I even prefer it to Python. Python has a big disadvantage with any CPU intensive concurrent tasks due to its GIL (global interpreter lock), which basically allows you to only take advantage of one CPU core. If you must do really heavy number crunching, plain C might be more suitable to avoid time loss because of Go’s garbage collector; however, there are rare cases where this becomes really relevant.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.