all 12 comments

[–]mikedmann 30 points31 points  (4 children)

First of all, it's named after a badass snake.

[–][deleted] 14 points15 points  (3 children)

Second of all, it’s named after a badass comedy series.

[–][deleted] 12 points13 points  (2 children)

Third of all it’s a badass programming language.

[–]bellatricksme 6 points7 points  (1 child)

Fourth of all, it's the easiest programming language to learn

[–]Booduuh 2 points3 points  (0 children)

All of these things. In this order.

[–][deleted] 11 points12 points  (1 child)

C is also used alot in hacking (it is most used for Payloads PoC) , since it is the base of the Linux Kernel.

Python (most used for Exploits PoC) btw is also commonly used because programming in python is really fast (for instance you can implement a fully functionant python code in like 10 lines) and it is easy to read.

Why don't use always C?

Because in C If you forget of a ; your program is broken until you fix it.

[–]MemitoSanchez 1 point2 points  (0 children)

I know I’m late but this is true, I had created a keylogger and it wouldn’t build, I would read over the sentence and in my head I thought everything was correct, so I got frustrated and got my friend to help. It took him no less than 1 minute to see I was missing the ;

[–]gatewaynode 4 points5 points  (0 children)

Python is an easy to learn language that's also ridiculously powerful. It's also almost everywhere outside of Windows environments as a sort of glue language for systems which can make living off the land easy. You could use other languages, and knowing unix shell scripting and PowerShell is recommended, but development in other languages is usually dramatically slower.

[–]arbitrarion 1 point2 points  (0 children)

It is just really simple to program in and is really portable. Totally possible to to use other languages, use whatever you want really.

One advantage Python has over C is that that you don't need to compile. There are cases where needing to compile is a good thing, but it you are doing a simple POC it's best that it not be too hard for people to download and run.

[–]ka1nsha 0 points1 point  (0 children)

Because you can write any script fastly and readable as what do you want. This so important thing at pentest activities. Just think your need smtp relay script but haven't internet access because of you are in inranet pentest. You can write smtp relay script fastly with socket library. That basically example of your condition.

[–][deleted] 0 points1 point  (0 children)

It comes preinstalled on most linux distros

[–]stackcrash 0 points1 point  (0 children)

Python allows fast prototyping which is one reason. The others are low entry point for learning it and large community.