r/Python • • Mar 07 '17

CIA uses Python (a lot)

From the latest Vault 7 leaks from Wikileaks, we can see that CIA uses a lot of Python in its secret hacking tools.

Most notably in the Assassin, Caterpillar, MagicViking and Hornet projects.

Unfortunatelly, no files from these projects have been released yet. But if you look at the dump that was released, there are plenty of .py files, and even PIL is included.

There are even Coding Conventions: https://wikileaks.org/ciav7p1/cms/page_26607631.html

You can see more Python-related stuff here: https://search.wikileaks.org/?query=python&exact_phrase=&any_of=&exclude_words=&document_date_start=&document_date_end=&released_date_start=&released_date_end=&publication_type%5B%5D=51&new_search=False&order_by=most_relevant#results

1.1k Upvotes

220 comments sorted by

View all comments

2

u/dgreenmachine Mar 08 '17

The coding conventions are eerily similar to googles especially in the wording of the last paragraph. You can tell somebody copied it and paraphrased just a little.

https://google.github.io/styleguide/pyguide.html#Imports

8

u/joolzter Mar 08 '17

That's because they are awesome base standards to start from.

1

u/xiongchiamiov Site Reliability Engineer Mar 08 '17

It's almost as if there isn't already a set of standards for python.

2

u/joolzter Mar 08 '17

Of course there are style guidelines. But they aren't a coding standards. Assuming you are referring to PEP8.

1

u/xiongchiamiov Site Reliability Engineer Mar 23 '17

What is the distinction you draw between the two?