yukioitsuki commited on
Commit
78fb18d
·
verified ·
1 Parent(s): 63f25fb

Add files using upload-large-folder tool

Browse files
Files changed (50) hide show
  1. .gitignore +1 -0
  2. .gitmodules +3 -0
  3. README.md +193 -0
  4. Vault7/AP_Hardware.1.pdf +0 -0
  5. Vault7/Assassin_v1_2_Quicker_Start.pdf +0 -0
  6. Vault7/AthenaKickOff_ATHENA.pdf +0 -0
  7. Vault7/AthenaTechnologyOverview.1.pdf +0 -0
  8. Vault7/Athena_Progress_20151014.pdf +0 -0
  9. Vault7/Athena_Progress_20151027.pdf +0 -0
  10. Vault7/Athena_Progress_20151110.pdf +0 -0
  11. Vault7/Athena_Progress_20151222.pdf +0 -0
  12. Vault7/Athena_Progress_20160112.pdf +0 -0
  13. Vault7/Athena_Progress_20160119.pdf +0 -0
  14. Vault7/Athena_Progress_20160210.pdf +0 -0
  15. Vault7/Athena_Progress_20160226.pdf +0 -0
  16. Vault7/BelkinF5D8231-4v4_4_00_16-UpgradeTests.1.pdf +0 -0
  17. Vault7/Cherry-Blossom-Operating-Environment.pdf +0 -0
  18. Vault7/Cherry-Blossom-VPN-Server.1.pdf +0 -0
  19. Vault7/CherryBomb_CherryBlossom_CherryTreeUpgrade_VAndVReport_CDRL-15b.pdf +0 -0
  20. Vault7/CherryBomb_CherryBlossom_FAT_VAndVReport_CDRL-15a.1.pdf +0 -0
  21. Vault7/CherryBomb_CherryBlossom_FAT_VAndVReport_CDRL-15a.pdf +0 -0
  22. Vault7/DerStarke_v1_4_RC1_IVVRR_Checklist.pdf +0 -0
  23. Vault7/Design_Engine.1.pdf +0 -0
  24. Vault7/Design_Engine.pdf +0 -0
  25. Vault7/Dumbo-v2_0-Field_Guide.pdf +0 -0
  26. Vault7/Flytrap-FirmwareUpgradeProcedures_Belkin_F5D8231-4_v4_fw4_00_16.pdf +0 -0
  27. Vault7/Flytrap-FirmwareUpgradeProcedures_Linksys_WRT320N_v1_fw1_00_03.pdf +0 -0
  28. Vault7/Flytrap-FirmwareUpgradeProcedures_Linksys_WRT54GL_v1_fw4_30_11_ETSI.pdf +0 -0
  29. Vault7/Flytrap-FirmwareUpgradeProcedures_Linksys_WRT54G_v5_fw1_02_0.1.pdf +0 -0
  30. Vault7/Flytrap-Inventory.1.pdf +0 -0
  31. Vault7/Hacking-ImageNotes.pdf +0 -0
  32. Vault7/IVVRR_Checklist_Pandemic_1_0.pdf +0 -0
  33. Vault7/Inventory.pdf +0 -0
  34. Vault7/LinksysWRT300Nv2_2_00_08_UpgradeTests.1.pdf +0 -0
  35. Vault7/NightshadeUsersManual.1.pdf +0 -0
  36. Vault7/Protego_Release_01_05-Design_Docs-20141009-System_HW_Description.1.pdf +0 -0
  37. Vault7/Protego_Release_01_05-Design_Docs-20141009-System_HW_Description.pdf +0 -0
  38. Vault7/Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ32MC10X-Reference_Manual-Section10-Power-Saving_Features.pdf +0 -0
  39. Vault7/RC1-doc-IVVRR_Checklist_Pandemic1_1.pdf +0 -0
  40. Vault7/Sundew-TestPlan.pdf +0 -0
  41. Vault7/Sundew-win32_net_connection_tools.pdf +0 -0
  42. Vault7/TestResults_Field.1.pdf +0 -0
  43. Vault7/Wolfcreek-Docs-Angelfire_test_matrix.1.pdf +0 -0
  44. Vault7/Wolfcreek-Docs-Notes.pdf +0 -0
  45. Vault7/aftermidnight_diagrams.pdf +0 -0
  46. digest.txt +619 -0
  47. download_scrape_nsa2.py +178 -0
  48. index.html +0 -0
  49. scrape_nsa2.py +183 -0
  50. sidtoday/README.md +26 -0
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .DS_Store
.gitmodules ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ [submodule "documents/sidtoday"]
2
+ path = documents/sidtoday
3
+ url = https://github.com/firstlookmedia/sidtoday
README.md ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # The Snowden Archive
2
+
3
+ This repository is a complete collection of all documents leaked by former National Security Agency contractor and whistleblower Edward Snowden that have subsequently been published by news media around the world.
4
+
5
+ If you notice something is missing or wrong, please file an issue or tweet at [@iamcryptoki](https://twitter.com/iamcryptoki).
6
+
7
+ ## Timeline of Revelations (2013-2018)
8
+
9
+ ### 2013
10
+
11
+ Date | Source | Publication
12
+ -----|--------|------------
13
+ 06/06/2013 | [Foreign Intelligence Surveillance Court order for Verizon to provide U.S. call metadata to FBI](https://www.theguardian.com/world/interactive/2013/jun/06/verizon-telephone-data-court-order) | `The Guardian`
14
+ 06/06/2013 | [NSA collecting phone records of millions of Verizon customers daily](https://www.theguardian.com/world/2013/jun/06/nsa-phone-records-verizon-court-order) | `The Guardian`
15
+ 06/06/2013 | [NSA slides explain the PRISM data-collection program](http://www.washingtonpost.com/wp-srv/special/politics/prism-collection-documents/) | `The Washington Post`
16
+ 08/06/2013 | [Boundless Informant: the NSA's secret tool to track global surveillance data](https://www.theguardian.com/world/2013/jun/08/nsa-boundless-informant-global-datamining) | `The Guardian`
17
+ 08/06/2013 | [New NSA tool to quantify, track intelligence collection revealed – live](https://www.theguardian.com/world/2013/jun/08/nsa-surveillance-prism-obama-live#block-51b36893e4b0cc6424372292) | `The Guardian`
18
+ 20/06/2013 | [The top secret rules that allow NSA to use US data without a warrant](https://www.theguardian.com/world/2013/jun/20/fisa-court-nsa-without-warrant) | `The Guardian`
19
+ 27/06/2013 | [NSA collected US email records in bulk for more than two years under Obama](https://www.theguardian.com/world/2013/jun/27/nsa-data-mining-authorised-obama) | `The Guardian`
20
+ 30/06/2013 | [New NSA leaks show how US is bugging its European allies](https://www.theguardian.com/world/2013/jun/30/nsa-leaks-us-bugging-european-allies) | `The Guardian`
21
+ 31/07/2013 | [XKeyscore: NSA tool collects 'nearly everything a user does on the internet'](https://www.theguardian.com/world/2013/jul/31/nsa-top-secret-program-online-data) | `The Guardian`
22
+ 09/08/2013 | [NSA loophole allows warrantless search for US citizens' emails and phone calls](https://www.theguardian.com/world/2013/aug/09/nsa-loophole-warrantless-searches-email-calls) | `The Guardian`
23
+ 16/08/2013 | [NSA broke privacy rules thousands of times per year, audit finds](https://www.washingtonpost.com/world/national-security/nsa-broke-privacy-rules-thousands-of-times-per-year-audit-finds/2013/08/15/3310e554-05ca-11e3-a07f-49ddc7417125_story.html?utm_term=.2284f75bfae7) | `The Washington Post`
24
+ 23/08/2013 | [NSA paid millions to cover Prism compliance costs for tech companies](https://www.theguardian.com/world/2013/aug/23/nsa-prism-costs-tech-companies-paid) | `The Guardian`
25
+ 30/08/2013 | ['Black budget' summary details U.S. spy network's successes, failures and objectives](https://www.washingtonpost.com/world/national-security/black-budget-summary-details-us-spy-networks-successes-failures-and-objectives/2013/08/29/7e57bb78-10ab-11e3-8cdd-bcdc09410972_story.html?utm_term=.7fefec28f6c5) | `The Washington Post`
26
+ 31/08/2013 | [Snowden Document: NSA Spied On Al Jazeera Communications](http://www.spiegel.de/international/world/nsa-spied-on-al-jazeera-communications-snowden-document-a-919681.html) | `Der Spiegel`
27
+ 01/09/2013 | ['Success Story': NSA Targeted French Foreign Ministry](http://www.spiegel.de/international/world/nsa-targeted-french-foreign-ministry-a-919693.html) | `Der Spiegel`
28
+ 03/09/2013 | [Veja os documentos ultrassecretos que comprovam espionagem a Dilma](http://g1.globo.com/fantastico/noticia/2013/09/veja-os-documentos-ultrassecretos-que-comprovam-espionagem-dilma.html) | `O Globo Fantastico`
29
+ 05/09/2013 | [Revealed: how US and UK spy agencies defeat internet privacy and security](https://www.theguardian.com/world/2013/sep/05/nsa-gchq-encryption-codes-security) | `The Guardian`
30
+ 08/09/2013 | [NSA Documents Show United States Spied Brazilian Oil Giant](http://g1.globo.com/fantastico/noticia/2013/09/nsa-documents-show-united-states-spied-brazilian-oil-giant.html) | `O Globo Fantastico`
31
+ 11/09/2013 | [NSA shares raw intelligence including Americans' data with Israel](https://www.theguardian.com/world/2013/sep/11/nsa-americans-personal-data-israel-documents) | `The Guardian`
32
+ 16/09/2013 | ['Follow the Money': NSA Monitors Financial World](http://www.spiegel.de/international/world/how-the-nsa-spies-on-international-bank-transactions-a-922430.html) | `Der Spiegel`
33
+ 20/09/2013 | [Belgacom Attack: Britain's GCHQ Hacked Belgian Telecoms Firm](http://www.spiegel.de/international/europe/british-spy-agency-gchq-hacked-belgian-telecoms-firm-a-923406.html) | `Der Spiegel`
34
+ 28/09/2013 | [N.S.A. Gathers Data on Social Connections of U.S. Citizens](http://www.nytimes.com/2013/09/29/us/nsa-examines-social-networks-of-us-citizens.html) | `The New York Times`
35
+ 04/10/2013 | [Secret NSA documents show campaign against Tor encrypted network](https://js.washingtonpost.com/world/national-security/secret-nsa-documents-show-campaign-against-tor-encrypted-network/2013/10/04/610f08b6-2d05-11e3-8ade-a1f23cda135e_story.html?utm_term=.65f7a27bb97a) | `The Washington Post`
36
+ 04/10/2013 | [Talk by Roger Dingledine of Torproject.org at the NSA](https://www.washingtonpost.com/world/national-security/talk-by-roger-dingledine-of-torprojectorg-at-the-nsa/2013/10/04/cdd15234-2d1d-11e3-8ade-a1f23cda135e_story.html?utm_term=.9423b5efbae4) | `The Washington Post`
37
+ 04/10/2013 | [NSA and GCHQ target Tor network that protects anonymity of web users](https://www.theguardian.com/world/2013/oct/04/nsa-gchq-attack-tor-network-encryption) | `The Guardian`
38
+ 06/10/2013 | [American and Canadian Spies target Brazilian Energy and Mining Ministry](http://g1.globo.com/fantastico/noticia/2013/10/american-and-canadian-spies-target-brazilian-energy-and-mining-ministry.html) | `O Globo Fantastico`
39
+ 14/10/2013 | [NSA collects millions of e-mail address books globally](https://www.washingtonpost.com/world/national-security/nsa-collects-millions-of-e-mail-address-books-globally/2013/10/14/8e58b5be-34f9-11e3-80c6-7e6dd8d22d8f_story.html?utm_term=.ac10d105e6e8) | `The Washington Post`
40
+ 20/10/2013 | [Fresh Leak on US Spying: NSA Accessed Mexican President's Email](http://www.spiegel.de/international/world/nsa-hacked-email-account-of-mexican-president-a-928817.html) | `Der Spiegel`
41
+ 21/10/2013 | [France in the NSA's crosshair: phone networks under surveillance](https://www.lemonde.fr/technologies/article/2013/10/21/france-in-the-nsa-s-crosshair-phone-networks-under-surveillance_3499741_651865.html) | `Le Monde`
42
+ 24/10/2013 | [Espionnage de la NSA : "Une ligne rouge a été franchie", pour la CNIL](https://www.lemonde.fr/international/article/2013/10/24/affaire-prism-une-ligne-rouge-a-ete-franchie-denonce-la-cnil_3501948_3210.html) | `Le Monde`
43
+ 24/10/2013 | [NSA monitored calls of 35 world leaders after US official handed over contacts](https://www.theguardian.com/world/2013/oct/24/nsa-surveillance-world-leaders-calls) | `The Guardian`
44
+ 25/10/2013 | [The NSA wiretapped French diplomats in the US](https://www.lemonde.fr/technologies/article/2013/10/22/the-nsa-wiretapped-french-diplomats-in-the-us_3500733_651865.html) | `Le Monde`
45
+ 27/10/2013 | [Embassy Espionage: The NSA's Secret Spy Hub in Berlin](http://www.spiegel.de/international/germany/cover-story-how-nsa-spied-on-merkel-cell-phone-from-berlin-embassy-a-930205.html) | `Der Spiegel`
46
+ 28/10/2013 | [La NSA espió 60 millones de llamadas en España en sólo un mes](http://www.elmundo.es/espana/2013/10/28/526dcbad61fd3d07678b456b.html) | `El Mundo`
47
+ 30/10/2013 | [NSA infiltrates links to Yahoo, Google data centers worldwide, Snowden documents say](https://www.washingtonpost.com/world/national-security/nsa-infiltrates-links-to-yahoo-google-data-centers-worldwide-snowden-documents-say/2013/10/30/e51d661e-4166-11e3-8b74-d89d714ca4dd_story.html?utm_term=.697c4a7e9112) | `The Washington Post`
48
+ 01/11/2013 | [Snowden document reveals key role of companies in NSA data collection](https://www.theguardian.com/world/2013/nov/01/nsa-data-collection-tech-firms) | `The Guardian`
49
+ 03/11/2013 | [No Morsel Too Minuscule for All-Consuming N.S.A.](http://www.nytimes.com/2013/11/03/world/no-morsel-too-minuscule-for-all-consuming-nsa.html) | `The New York Times`
50
+ 04/11/2013 | [How we know the NSA had access to internal Google and Yahoo cloud data](https://www.washingtonpost.com/news/the-switch/wp/2013/11/04/how-we-know-the-nsa-had-access-to-internal-google-and-yahoo-cloud-data/?utm_term=.a0556e04babe) | `The Washington Post`
51
+ 04/11/2013 | [Claves y giros del espionaje masivo en España](http://www.elmundo.es/internacional/2013/11/04/52769eb561fd3d6d0a8b4582.html) | `El Mundo`
52
+ 17/11/2013 | ['Royal Concierge': GCHQ Monitors Diplomats' Hotel Bookings](http://www.spiegel.de/international/europe/gchq-monitors-hotel-reservations-to-track-diplomats-a-933914.html) | `Der Spiegel`
53
+ 17/11/2013 | [Australia's spy agencies targeted Indonesian president's mobile phone](https://www.theguardian.com/world/2013/nov/18/australia-tried-to-monitor-indonesian-presidents-phone) | `The Guardian`
54
+ 19/11/2013 | [DNI Clapper Declassifies Additional Intelligence Community Documents Regarding Collection Under Section 501 of the Foreign Intelligence Surveillance Act](https://icontherecord.tumblr.com/post/67419963949/dni-clapper-declassifies-additional-intelligence) | `Office of the Director of National Intelligence`
55
+ 19/11/2013 | [Dette sier Snowden-dokumentet om USAs overvåkning av norske telefonsamtaler](https://www.dagbladet.no/nyheter/dette-sier-snowden-dokumentet-om-usas-overvakning-av-norske-telefonsamtaler/61837718) | `Dagbladet`
56
+ 20/11/2013 | [US and UK struck secret deal to allow NSA to 'unmask' Britons' personal data](https://www.theguardian.com/world/2013/nov/20/us-uk-secret-deal-surveillance-personal-data) | `The Guardian`
57
+ 22/11/2013 | [NSA-files repeatedly show collection of data «against countries» - not «from»](https://www.dagbladet.no/2013/11/22/nyheter/edward_snowden/utenriks/usa/nsa/30444117/) | `Dagbladet`
58
+ 23/11/2013 | [NSA infected 50,000 computer networks with malicious software](https://www.nrc.nl/nieuws/2013/11/23/nsa-infected-50000-computer-networks-with-malicious-software-a1429487) | `NRC Handelsblad`
59
+ 23/11/2013 | [N.S.A. Report Outlined Goals for More Power](http://www.nytimes.com/2013/11/23/us/politics/nsa-report-outlined-goals-for-more-power.html) | `The New York Times`
60
+ 26/11/2013 | [Top-Secret Document Reveals NSA Spied On Porn Habits As Part Of Plan To Discredit 'Radicalizers'](http://www.huffingtonpost.com/2013/11/26/nsa-porn-muslims_n_4346128.html?utm_hp_ref=tw#slide=3074349) | `The Huffington Post`
61
+ 26/11/2013 | [Microsoft, suspecting NSA spying, to ramp up efforts to encrypt its Internet traffic](https://www.washingtonpost.com/business/technology/microsoft-suspecting-nsa-spying-to-ramp-up-efforts-to-encrypt-its-internet-traffic/2013/11/26/44236b48-56a9-11e3-8304-caf30787c0a9_story.html?utm_term=.9028a3045b19) | `The Washington Post`
62
+ 02/12/2013 | [Revealed: Australian spy agency offered to share data about ordinary citizens](https://www.theguardian.com/world/2013/dec/02/revealed-australian-spy-agency-offered-to-share-data-about-ordinary-citizens) | `The Guardian`
63
+ 02/12/2013 | [New Snowden docs show U.S. spied during G20 in Toronto](http://www.cbc.ca/news/politics/new-snowden-docs-show-u-s-spied-during-g20-in-toronto-1.2442448) | `CBC`
64
+ 04/12/2013 | [NSA tracking cellphone locations worldwide, Snowden documents show](https://www.washingtonpost.com/world/national-security/nsa-tracking-cellphone-locations-worldwide-snowden-documents-show/2013/12/04/5492873a-5cf2-11e3-bc56-c6ca94801fac_story.html?utm_term=.580eb3fa0db0) | `The Washington Post`
65
+ 05/12/2013 | [Revealed: How the Nsa Targets Italy](http://espresso.repubblica.it/inchieste/2013/12/05/news/revealed-how-the-nsa-targets-italy-1.144428) | `L'Espresso`
66
+ 05/12/2013 | [The NSA Toolbox: ANT Product Catalog](https://nsa.gov1.info/dni/) | `gov1.info`
67
+ 09/12/2013 | [Spies Infiltrate a Fantasy Realm of Online Games](http://www.nytimes.com/2013/12/10/world/spies-dragnet-reaches-a-playing-field-of-elves-and-trolls.html) | `The New York Times`
68
+ 10/12/2013 | [New documents show how the NSA infers relationships based on mobile location data](https://www.washingtonpost.com/news/the-switch/wp/2013/12/10/new-documents-show-how-the-nsa-infers-relationships-based-on-mobile-location-data/) | `The Washington Post`
69
+ 10/12/2013 | [NSA uses Google cookies to pinpoint targets for hacking](https://www.washingtonpost.com/news/the-switch/wp/2013/12/10/nsa-uses-google-cookies-to-pinpoint-targets-for-hacking/?utm_term=.72f98b798b2f) | `The Washington Post`
70
+ 10/12/2013 | [Snowden document shows Canada set up spy posts for NSA](http://www.cbc.ca/news/politics/snowden-document-shows-canada-set-up-spy-posts-for-nsa-1.2456886) | `CBC`
71
+ 11/12/2013 | [Read the Snowden Documents From the NSA](http://www.svt.se/ug/read-the-snowden-documents-from-the-nsa) | `SVT`
72
+ 23/12/2013 | [Edward Snowden, after months of NSA revelations, says his mission's accomplished](https://www.washingtonpost.com/world/national-security/edward-snowden-after-months-of-nsa-revelations-says-his-missions-accomplished/2013/12/23/49fc36de-6c1c-11e3-a523-fe73f0ff6b8d_story.html?utm_term=.54fff5b9f3a4) | `The Washington Post`
73
+ 29/12/2013 | [NSA: Die Klempner aus San Antonio](https://cryptome.org/2013/12/nsa-tao-ant-pdf.pdf) | `Der Spiegel`
74
+ 29/12/2013 | [Inside TAO: Documents Reveal Top NSA Hacking Unit](http://www.spiegel.de/international/world/the-nsa-uses-powerful-toolbox-in-effort-to-spy-on-global-networks-a-940969.html) | `Der Spiegel`
75
+ 30/12/2013 | [NSA-Programm "Quantumtheory": Wie der US-Geheimdienst weltweit Rechner knackt](http://www.spiegel.de/netzwelt/netzpolitik/quantumtheory-wie-die-nsa-weltweit-rechner-hackt-a-941149.html) | `Der Spiegel`
76
+ 30/12/2013 | [NSA-Totalausspähung: FDP-Politiker Baum setzt auf Generalbundesanwalt](http://www.spiegel.de/politik/deutschland/nsa-fdp-politiker-baum-fuer-eingreifen-des-generalbundesanwalts-a-941418.html) | `Der Spiegel`
77
+ 30/12/2013 | [NSA's Secret Toolbox: Unit Offers Spy Gadgets for Every Need](http://www.spiegel.de/international/world/nsa-secret-toolbox-ant-unit-offers-spy-gadgets-for-every-need-a-941006.html) | `Der Spiegel`
78
+
79
+ ### 2014
80
+
81
+ Date | Source | Publication
82
+ -----|--------|------------
83
+ 02/01/2014 | [NSA seeks to build quantum computer that could crack most types of encryption](https://www.washingtonpost.com/world/national-security/nsa-seeks-to-build-quantum-computer-that-could-crack-most-types-of-encryption/2014/01/02/8fff297e-7195-11e3-8def-a33011492df2_story.html?utm_term=.53b94e951789) | `The Washington Post`
84
+ 16/01/2014 | [NSA collects millions of text messages daily in 'untargeted' global sweep](https://www.theguardian.com/world/2014/jan/16/nsa-collects-millions-text-messages-daily-untargeted-global-sweep) | `The Guardian`
85
+ 27/01/2014 | [Spy Agencies Tap Data Streaming From Phone Apps](http://www.nytimes.com/2014/01/28/world/spy-agencies-scour-phone-apps-for-personal-data.html) | `The New York Times`
86
+ 27/01/2014 | [Snowden docs reveal British spies snooped on YouTube and Facebook](http://investigations.nbcnews.com/_news/2014/01/27/22469304-snowden-docs-reveal-british-spies-snooped-on-youtube-and-facebook) | `NBC`
87
+ 28/01/2014 | [Angry Birds and 'leaky' phone apps targeted by NSA and GCHQ for user data](https://www.theguardian.com/world/2014/jan/27/nsa-gchq-smartphone-app-angry-birds-personal-data) | `The Guardian`
88
+ 30/01/2014 | [For the NSA, espionage was a means to strengthen the US position in climate negotiations](http://www.information.dk/486360) | `Information DK`
89
+ 31/01/2014 | [CSEC used airport Wi-Fi to track Canadian travellers: Edward Snowden documents](http://www.cbc.ca/news/politics/csec-used-airport-wi-fi-to-track-canadian-travellers-edward-snowden-documents-1.2517881) | `CBC`
90
+ 04/02/2014 | [Exclusive: Snowden Docs Show UK Spies Attacked Anonymous, Hackers](http://www.nbcnews.com/news/investigations/war-anonymous-british-spies-attacked-hackers-snowden-docs-show-n21361) | `NBC`
91
+ 07/02/2014 | [Exclusive: Snowden Docs Show British Spies Used Sex and 'Dirty Tricks'](http://www.nbcnews.com/news/investigations/snowden-docs-british-spies-used-sex-dirty-tricks-n23091) | `NBC`
92
+ 08/02/2014 | [NSA hielp Nederland met onderzoek naar herkomst 1,8 miljoen](https://www.nrc.nl/nieuws/2014/02/08/nsa-hielp-nederland-met-onderzoek-naar-herkomst-18-miljoen-a1427343) | `NRC Handelsblad`
93
+ 11/02/2014 | [The NSA's Secret Role in the U.S. Assassination Program](https://theintercept.com/2014/02/10/the-nsas-secret-role/) | `The Intercept`
94
+ 15/02/2014 | [Document Describes Eavesdropping on American Law Firm](http://www.nytimes.com/2014/02/16/us/document-describes-eavesdropping-on-american-law-firm.html) | `The New York Times`
95
+ 18/02/2014 | [Snowden Documents Reveal Covert Surveillance and Pressure Tactics Aimed at WikiLeaks and Its Supporters](https://theintercept.com/2014/02/18/snowden-docs-reveal-covert-surveillance-and-pressure-tactics-aimed-at-wikileaks-and-its-supporters/) | `The Intercept`
96
+ 25/02/2014 | [How Covert Agents Infiltrate the Internet to Manipulate, Deceive, and Destroy Reputations](https://theintercept.com/2014/02/24/jtrig-manipulation/) | `The Intercept`
97
+ 27/02/2014 | [Optic Nerve: millions of Yahoo webcam images intercepted by GCHQ](https://www.theguardian.com/world/2014/feb/27/gchq-nsa-webcam-images-internet-yahoo) | `The Guardian`
98
+ 05/03/2014 | [The secret role of the Dutch in the American war on terror](https://www.nrc.nl/nieuws/2014/03/05/the-secret-role-of-the-dutch-in-the-american-war-on-terror-a1426677) | `NRC Handelsblad`
99
+ 07/03/2014 | [The NSA Has An Advice Columnist. Seriously.](https://theintercept.com/2014/03/07/nsa-advice-columnist-seriously/) | `The Intercept`
100
+ 11/03/2014 | [How a Court Secretly Evolved, Extending U.S. Spies' Reach](http://www.nytimes.com/2014/03/12/us/how-a-courts-secret-evolution-extended-spies-reach.html?_r=0) | `The New York Times`
101
+ 12/03/2014 | [How the NSA Plans to Infect 'Millions' of Computers with Malware](https://theintercept.com/2014/03/12/nsa-plans-infect-millions-computers-malware/) | `The Intercept`
102
+ 13/03/2014 | [Foreign Officials In the Dark About Their Own Spy Agencies' Cooperation with NSA](https://theintercept.com/2014/03/13/nsa-elected-officials-foreign-countries-unaware-countries-cooperation-us/) | `The Intercept`
103
+ 15/03/2014 | [Compare the NSA's Facebook Malware Denial to its Own Secret Documents](https://theintercept.com/2014/03/15/nsa-facebook-malware-turbine-non-denial-denial/) | `The Intercept`
104
+ 18/03/2014 | [NSA surveillance program reaches 'into the past' to retrieve, replay phone calls](https://www.washingtonpost.com/world/national-security/nsa-surveillance-program-reaches-into-the-past-to-retrieve-replay-phone-calls/2014/03/18/226d2646-ade9-11e3-a49e-76adc9210f19_story.html?utm_term=.6ca6a6b847f3) | `The Washington Post`
105
+ 20/03/2014 | [Inside the NSA's Secret Efforts to Hunt and Hack System Administrators](https://theintercept.com/2014/03/20/inside-nsa-secret-efforts-hunt-hack-system-administrators/) | `The Intercept`
106
+ 21/03/2014 | [La France suspectée de cyberespionnage](https://www.lemonde.fr/international/article/2014/03/21/la-france-suspectee-de-cyberattaque_4387232_3210.html) | `Le Monde`
107
+ 22/03/2014 | [N.S.A. Breached Chinese Servers Seen as Security Threat](http://www.nytimes.com/2014/03/23/world/asia/nsa-breached-chinese-servers-seen-as-spy-peril.html) | `The New York Times`
108
+ 29/03/2014 | ['A' for Angela: GCHQ and NSA Targeted Private German Companies and Merkel](http://www.spiegel.de/international/germany/gchq-and-nsa-targeted-private-german-companies-a-961444.html) | `Der Spiegel`
109
+ 04/04/2014 | [The "Cuban Twitter" Scam Is a Drop in the Internet Propaganda Bucket](https://theintercept.com/2014/04/04/cuban-twitter-scam-social-media-tool-disseminating-government-propaganda/) | `The Intercept`
110
+ 30/04/2014 | [British Spy Chiefs Secretly Begged to Play in NSA's Data Pools](https://theintercept.com/2014/04/30/gchq-prism-nsa-fisa-unsupervised-access-snowden/) | `The Intercept`
111
+ 30/04/2014 | [No Place to Hide Documents](http://glenngreenwald.net/#BookDocuments) | `Glenn Greenwald`
112
+ 19/05/2014 | [Data Pirates of the Caribbean: The NSA Is Recording Every Cell Phone Call in the Bahamas](https://theintercept.com/2014/05/19/data-pirates-caribbean-nsa-recording-every-cell-phone-call-bahamas/) | `The Intercept`
113
+ 10/06/2014 | [DEA/NSA SANDKEY Voice Intercepts](https://www.eff.org/files/2014/06/10/dea-nsa-sandkey.pdf) | `Cryptome`
114
+ 18/06/2014 | [Keith Alexander Talking Points](https://www.information.dk/databloggen/2014/06/documentation-the-snowden-files) | `Dagbladet`
115
+ 18/06/2014 | [The NSA in Germany: Snowden's Documents Available for Download](http://www.spiegel.de/international/the-germany-file-of-edward-snowden-documents-available-for-download-a-975917.html) | `Der Spiegel`
116
+ 30/06/2014 | [Court gave NSA broad leeway in surveillance, documents show](https://www.washingtonpost.com/world/national-security/court-gave-nsa-broad-leeway-in-surveillance-documents-show/2014/06/30/32b872ec-fae4-11e3-8176-f2c941cf35f1_story.html?utm_term=.f864c1ef55e8) | `The Washington Post`
117
+ 09/07/2014 | [Meet the Muslim-American Leaders the FBI and NSA Have Been Spying On](https://theintercept.com/2014/07/09/under-surveillance/) | `The Intercept`
118
+ 14/07/2014 | [Hacking Online Polls and Other Ways British Spies Seek to Control the Internet](https://theintercept.com/2014/07/14/manipulating-online-polls-ways-british-spies-seek-control-internet/) | `The Intercept`
119
+ 23/07/2014 | [Privacy watchdog's next target: the least-known but biggest aspect of NSA surveillance](https://www.washingtonpost.com/news/the-switch/wp/2014/07/23/privacy-watchdogs-next-target-the-least-known-but-biggest-aspect-of-nsa-surveillance/?utm_term=.c49556361df8) | `The Washington Post`
120
+ 23/07/2014 | [The NSA's New Partner in Spying: Saudi Arabia's Brutal State Police](https://theintercept.com/2014/07/25/nsas-new-partner-spying-saudi-arabias-brutal-state-police/) | `The Intercept`
121
+ 04/08/2014 | [Cash, Weapons and Surveillance: the U.S. is a Key Party to Every Israeli Attack](https://theintercept.com/2014/08/04/cash-weapons-surveillance/) | `The Intercept`
122
+ 05/08/2014 | [Watch Commander: Barack Obama's Secret Terrorist-Tracking System, by the Numbers](https://theintercept.com/2014/08/05/watch-commander/) | `The Intercept`
123
+ 12/08/2014 | [NPR Is Laundering CIA Talking Points to Make You Scared of NSA Reporting](https://theintercept.com/2014/08/12/nprs-dina-temple-raston-passed-cia-funded-nsa-contractor-independent-fear-monger-snowden-reporting/) | `The Intercept`
124
+ 15/08/2014 | [NSA/GCHQ: The HACIENDA Program for Internet Colonization](https://www.heise.de/ct/artikel/NSA-GCHQ-The-HACIENDA-Program-for-Internet-Colonization-2292681.html) | `Heise Online`
125
+ 25/08/2014 | [The Surveillance Engine: How the NSA Built Its Own Secret Google](https://theintercept.com/2014/08/25/icreach-nsa-cia-secret-google-crisscross-proton/) | `The Intercept`
126
+ 31/08/2014 | [A Two-Faced Friendship: Turkey Is 'Partner and Target' for the NSA](http://www.spiegel.de/international/world/documents-show-nsa-and-gchq-spied-on-partner-turkey-a-989011.html) | `Der Spiegel`
127
+ 14/09/2014 | [Treasure Map: The NSA Breach of Telekom and Other German Firms](http://www.spiegel.de/international/world/snowden-documents-indicate-nsa-has-breached-deutsche-telekom-a-991503.html) | `Der Spiegel`
128
+ 15/09/2014 | [New Zealand Launched Mass Surveillance Project While Publicly Denying It](https://theintercept.com/2014/09/15/new-zealand-gcsb-speargun-mass-surveillance/) | `The Intercept`
129
+ 11/10/2014 | [Core Secrets: NSA Saboteurs in China and Germany](https://theintercept.com/2014/10/10/core-secrets/) | `The Intercept`
130
+ 20/11/2014 | [Vodafone-Linked Company Aided British Mass Surveillance](https://theintercept.com/2014/11/20/vodafone-surveillance-gchq-snowden/) | `The Intercept`
131
+ 25/11/2014 | [Snowden-Leaks: How Vodafone-Subsidiary Cable & Wireless Aided GCHQ's Spying Efforts](http://international.sueddeutsche.de/post/103543418200/snowden-leaks-how-vodafone-subsidiary-cable) | `Suddeutsche Zeitung`
132
+ 04/12/2014 | [Operation Auroragold: How the NSA Hacks Cellphone Networks Worldwide](https://theintercept.com/2014/12/04/nsa-auroragold-hack-cellphones/) | `The Intercept`
133
+ 13/12/2014 | [Operation Socialist: The Inside Story of How British Spies Hacked Belgium's Largest Telco](https://theintercept.com/2014/12/13/belgacom-hack-gchq-inside-story/) | `The Intercept`
134
+ 28/12/2014 | [Obama's Lists: A Dubious History of Targeted Killings in Afghanistan](http://www.spiegel.de/international/world/secret-docs-reveal-dubious-details-of-targeted-killings-in-afghanistan-a-1010358.html) | `Der Spiegel`
135
+ 28/12/2014 | [NSA Documents: Attacks on VPN, SSL, TLS, SSH, Tor](http://www.spiegel.de/international/world/nsa-documents-attacks-on-vpn-ssl-tls-ssh-tor-a-1010525.html) | `Der Spiegel`
136
+ 28/12/2014 | [Prying Eyes: Inside the NSA's War on Internet Security](http://www.spiegel.de/international/germany/inside-the-nsa-s-war-on-internet-security-a-1010361.html) | `Der Spiegel`
137
+
138
+ ### 2015
139
+
140
+ Date | Source | Publication
141
+ -----|--------|------------
142
+ 17/01/2015 | [The Digital Arms Race: NSA Preps America for Future Battle](http://www.spiegel.de/international/world/new-snowden-docs-indicate-scope-of-nsa-preparations-for-cyber-battle-a-1013409.html) | `Der Spiegel`
143
+ 17/01/2015 | [The Digital Arms Race: How the NSA Reads Over Shoulders of Other Spies](http://www.spiegel.de/international/world/new-snowden-docs-indicate-scope-of-nsa-preparations-for-cyber-battle-a-1013409-2.html) | `Der Spiegel`
144
+ 27/01/2015 | [CSE tracks millions of downloads daily: Snowden documents](http://www.cbc.ca/news/canada/cse-tracks-millions-of-downloads-daily-snowden-documents-1.2930120) | `CBC`
145
+ 04/02/2015 | [Western Spy Agencies Secretly Rely on Hackers for Intel and Expertise](https://theintercept.com/2015/02/04/demonize-prosecute-hackers-nsa-gchq-rely-intel-expertise/) | `The Intercept`
146
+ 10/02/2015 | [NSA Claims Iran Learned from Western Cyberattacks](https://firstlook.org/theintercept/2015/02/10/nsa-iran-developing-sophisticated-cyber-attacks-learning-attacks/) | `The Intercept`
147
+ 19/02/2015 | [The Great SIM Heist: How Spies Stole the Keys to the Encryption Castle](https://theintercept.com/2015/02/19/great-sim-heist/) | `The Intercept`
148
+ 26/02/2015 | [CSE monitors millions of Canadian emails to government](http://www.cbc.ca/news/cse-monitors-millions-of-canadian-emails-to-government-1.2969687) | `CBC`
149
+ 26/02/2015 | [CSE monitors millions of Canadian emails to government](http://www.cbc.ca/news/cse-monitors-millions-of-canadian-emails-to-government-1.2969687) | `CBC`
150
+ 26/02/2015 | [CSE monitors millions of Canadian emails to government](http://www.cbc.ca/news/cse-monitors-millions-of-canadian-emails-to-government-1.2969687) | `CBC`
151
+ 07/03/2015 | [Snowden files: Inside Waihopai's domes](http://www.stuff.co.nz/national/67082905/snowden-files-inside-waihopais-domes) | `Stuff`
152
+ 10/03/2015 | [The CIA Campaign to Steal Apple's Secrets](https://theintercept.com/2015/03/10/ispy-cia-campaign-steal-apples-secrets/) | `The Intercept`
153
+ 11/03/2015 | [Snowden revelations: NZ's spy reach stretches across globe](http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objectid=11415172) | `NZ Herald`
154
+ 25/03/2015 | [Communication Security Establishment's cyberwarfare toolbox revealed](http://www.cbc.ca/news/canada/communication-security-establishment-s-cyberwarfare-toolbox-revealed-1.3002978) | `CBC`
155
+ 02/04/2015 | [Britain Used Spy Team to Shape Latin American Public Opinion on Falklands](https://theintercept.com/2015/04/02/gchq-argentina-falklands/) | `The Intercept`
156
+
157
+ ### 2016
158
+
159
+ Date | Source | Publication
160
+ -----|--------|------------
161
+ 29/01/2016 | [Anarchist Snapshots: Hacked Images From Israel's Drone Fleet](https://theintercept.com/2016/01/28/hacked-images-from-israels-drone-fleet/) | `The Intercept`
162
+ 02/02/2016 | [Exclusive: Snowden intelligence docs reveal UK spooks' malware checklist](https://boingboing.net/2016/02/02/doxxing-sherlock-3.html) | `Boing Boing`
163
+ 11/05/2016 | [The Secret NSA Diary of an Abu Ghraib Interrogator](https://theintercept.com/2016/05/11/the-secret-nsa-diary-of-an-abu-ghraib-interrogator/) | `The Intercept`
164
+ 16/05/2016 | [The Most Intriguing Spy Stories From 166 Internal NSA Reports](https://theintercept.com/2016/05/16/the-most-intriguing-spy-stories-from-166-internal-nsa-reports/) | `The Intercept`
165
+ 07/06/2016 | [Facing Data Deluge, Secret U.K. Spying Report Warned of Intelligence Failure](https://theintercept.com/2016/06/07/mi5-gchq-digint-surveillance-data-deluge/) | `The Intercept`
166
+ 15/08/2016 | [The Raid: In Bungled Spying Operation, NSA Targeted Pro-Democracy Campaigner](https://theintercept.com/2016/08/14/nsa-gcsb-prism-surveillance-fullman-fiji/) | `The Intercept`
167
+ 19/08/2016 | [Shadow Brokers: The NSA Leak Is Real, Snowden Documents Confirm](https://theintercept.com/2016/08/19/the-nsa-was-hacked-snowden-documents-confirm/) | `The Intercept`
168
+ 29/12/2016 | [Top-Secret Snowden Document Reveals What the NSA Knew About Previous Russian Hacking](https://theintercept.com/2016/12/29/top-secret-snowden-document-reveals-what-the-nsa-knew-about-previous-russian-hacking/) | `The Intercept`
169
+ 16/11/2016 | [Titanpointe: The NSA's Spy Hub in New York, Hidden in Plain Sight (Project X)](https://theintercept.com/2016/11/16/the-nsas-spy-hub-in-new-york-hidden-in-plain-sight/) | `The Intercept`
170
+ 06/09/2016 | [Inside Menwith Hill: The NSA's British Base at the Heart of U.S. Targeted Killing](https://theintercept.com/2016/09/06/nsa-menwith-hill-targeted-killing-surveillance/) | `The Intercept`
171
+
172
+ ### 2017
173
+
174
+ Date | Source | Publication
175
+ -----|--------|------------
176
+ 10/04/2017 | [Burn After Reading: Snowden Documents Reveal Scope of Secrets Exposed to China in 2001 Spy Plane Incident](https://theintercept.com/2017/04/10/snowden-documents-reveal-scope-of-secrets-exposed-to-china-in-2001-spy-plane-incident/) | `The Intercept`
177
+ 24/04/2017 | [Why Soviet Weather Was Secret, a Critical Gap in Korea, and Other NSA Newsletter Tales](https://theintercept.com/2017/04/24/why-soviet-weather-was-secret-a-critical-gap-in-korea-and-other-nsa-newsletter-tales/) | `The Intercept`
178
+ 24/04/2017 | [NSA Kept Watch Over Democratic and Republican Conventions, Snowden Documents Reveal](https://theintercept.com/2017/04/24/nsa-kept-watch-over-democratic-and-republican-conventions-snowden-documents-reveal/) | `The Intercept`
179
+ 24/04/2017 | [NSA Blimp Spied in the United States](https://theintercept.com/2017/04/24/nsa-blimp-spied-in-the-united-states/) | `The Intercept`
180
+ 24/04/2017 | [Japan Made Secret Deals With the NSA That Expanded Global Surveillance](https://theintercept.com/2017/04/24/japans-secret-deals-with-the-nsa-that-expand-global-surveillance/) | `The Intercept`
181
+ 06/06/2017 | [Fifty Years Later, NSA Keeps Details of Israel's USS Liberty Attack Secret](https://theintercept.com/2017/06/06/fifty-years-later-nsa-keeps-details-of-israels-uss-liberty-attack-secret/) | `The Intercept`
182
+ 19/08/2017 | [The U.S. Spy Hub in the Heart of Australia](https://theintercept.com/2017/08/19/nsa-spy-hub-cia-pine-gap-australia/) | `The Intercept`
183
+ 20/08/2017 | [Pine Gap plays crucial role in America's wars, leaked documents reveal](http://www.abc.net.au/news/2017-08-20/leaked-documents-reveal-pine-gaps-crucial-role-in-us-drone-war/8815472) | `Australian Broadcasting Corporation`
184
+ 25/10/2017 | [NSA Concealed Records on JFK Assassination for Decades](https://theintercept.com/2017/10/25/jfk-assassination-files-nsa-cuba/) | `The Intercept`
185
+ 30/11/2017 | [NSA Secretly Helped Convict Defendants in U.S. Courts, Classified Documents Reveal](https://theintercept.com/2017/11/30/nsa-surveillance-fisa-section-702/) | `The Intercept`
186
+
187
+ ### 2018
188
+
189
+ Date | Source | Publication
190
+ -----|--------|------------
191
+ 01/03/2018 | [The Powerful Global Spy Alliance You Never Knew Existed](https://theintercept.com/2018/03/01/nsa-global-surveillance-sigint-seniors/) | `The Intercept`
192
+ 01/03/2018 | [Norway Used NSA Technology for Potentially Illegal Spying](https://theintercept.com/2018/03/01/norway-nsa-victory-garden-surveillance/) | `The Intercept`
193
+ 20/03/2018 | [The NSA Worked to "Track Down" Bitcoin Users, Snowden Documents Reveal](https://theintercept.com/2018/03/20/the-nsa-worked-to-track-down-bitcoin-users-snowden-documents-reveal/) | `The Intercept`
Vault7/AP_Hardware.1.pdf ADDED
Binary file (67.5 kB). View file
 
Vault7/Assassin_v1_2_Quicker_Start.pdf ADDED
Binary file (63.7 kB). View file
 
Vault7/AthenaKickOff_ATHENA.pdf ADDED
Binary file (90.8 kB). View file
 
Vault7/AthenaTechnologyOverview.1.pdf ADDED
Binary file (94.8 kB). View file
 
Vault7/Athena_Progress_20151014.pdf ADDED
Binary file (23.5 kB). View file
 
Vault7/Athena_Progress_20151027.pdf ADDED
Binary file (15.6 kB). View file
 
Vault7/Athena_Progress_20151110.pdf ADDED
Binary file (28.3 kB). View file
 
Vault7/Athena_Progress_20151222.pdf ADDED
Binary file (16 kB). View file
 
Vault7/Athena_Progress_20160112.pdf ADDED
Binary file (13.7 kB). View file
 
Vault7/Athena_Progress_20160119.pdf ADDED
Binary file (12.4 kB). View file
 
Vault7/Athena_Progress_20160210.pdf ADDED
Binary file (13.5 kB). View file
 
Vault7/Athena_Progress_20160226.pdf ADDED
Binary file (15.3 kB). View file
 
Vault7/BelkinF5D8231-4v4_4_00_16-UpgradeTests.1.pdf ADDED
Binary file (43.7 kB). View file
 
Vault7/Cherry-Blossom-Operating-Environment.pdf ADDED
Binary file (60.5 kB). View file
 
Vault7/Cherry-Blossom-VPN-Server.1.pdf ADDED
Binary file (66.3 kB). View file
 
Vault7/CherryBomb_CherryBlossom_CherryTreeUpgrade_VAndVReport_CDRL-15b.pdf ADDED
Binary file (77.1 kB). View file
 
Vault7/CherryBomb_CherryBlossom_FAT_VAndVReport_CDRL-15a.1.pdf ADDED
Binary file (87.5 kB). View file
 
Vault7/CherryBomb_CherryBlossom_FAT_VAndVReport_CDRL-15a.pdf ADDED
Binary file (87.5 kB). View file
 
Vault7/DerStarke_v1_4_RC1_IVVRR_Checklist.pdf ADDED
Binary file (89.2 kB). View file
 
Vault7/Design_Engine.1.pdf ADDED
Binary file (11.3 kB). View file
 
Vault7/Design_Engine.pdf ADDED
Binary file (11.3 kB). View file
 
Vault7/Dumbo-v2_0-Field_Guide.pdf ADDED
Binary file (98.8 kB). View file
 
Vault7/Flytrap-FirmwareUpgradeProcedures_Belkin_F5D8231-4_v4_fw4_00_16.pdf ADDED
Binary file (74.7 kB). View file
 
Vault7/Flytrap-FirmwareUpgradeProcedures_Linksys_WRT320N_v1_fw1_00_03.pdf ADDED
Binary file (45.3 kB). View file
 
Vault7/Flytrap-FirmwareUpgradeProcedures_Linksys_WRT54GL_v1_fw4_30_11_ETSI.pdf ADDED
Binary file (46.2 kB). View file
 
Vault7/Flytrap-FirmwareUpgradeProcedures_Linksys_WRT54G_v5_fw1_02_0.1.pdf ADDED
Binary file (45.4 kB). View file
 
Vault7/Flytrap-Inventory.1.pdf ADDED
Binary file (56.3 kB). View file
 
Vault7/Hacking-ImageNotes.pdf ADDED
Binary file (87 kB). View file
 
Vault7/IVVRR_Checklist_Pandemic_1_0.pdf ADDED
Binary file (30.8 kB). View file
 
Vault7/Inventory.pdf ADDED
Binary file (51 kB). View file
 
Vault7/LinksysWRT300Nv2_2_00_08_UpgradeTests.1.pdf ADDED
Binary file (53.2 kB). View file
 
Vault7/NightshadeUsersManual.1.pdf ADDED
Binary file (60.9 kB). View file
 
Vault7/Protego_Release_01_05-Design_Docs-20141009-System_HW_Description.1.pdf ADDED
Binary file (60.9 kB). View file
 
Vault7/Protego_Release_01_05-Design_Docs-20141009-System_HW_Description.pdf ADDED
Binary file (60.9 kB). View file
 
Vault7/Protego_Release_01_05-Related-OEM-Documentation-PIC24FJ32MC10X-Reference_Manual-Section10-Power-Saving_Features.pdf ADDED
Binary file (79.6 kB). View file
 
Vault7/RC1-doc-IVVRR_Checklist_Pandemic1_1.pdf ADDED
Binary file (30.4 kB). View file
 
Vault7/Sundew-TestPlan.pdf ADDED
Binary file (33.8 kB). View file
 
Vault7/Sundew-win32_net_connection_tools.pdf ADDED
Binary file (33.7 kB). View file
 
Vault7/TestResults_Field.1.pdf ADDED
Binary file (51.3 kB). View file
 
Vault7/Wolfcreek-Docs-Angelfire_test_matrix.1.pdf ADDED
Binary file (34.6 kB). View file
 
Vault7/Wolfcreek-Docs-Notes.pdf ADDED
Binary file (28.4 kB). View file
 
Vault7/aftermidnight_diagrams.pdf ADDED
Binary file (24.4 kB). View file
 
digest.txt ADDED
@@ -0,0 +1,619 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Directory structure:
2
+ └── snowden-archive_hf-private/
3
+ ├── README.md
4
+ ├── download_scrape_nsa2.py
5
+ ├── scrape_nsa2.py
6
+ ├── sidtoday/
7
+ │ └── README.md
8
+ └── TotalArchived_ACLU_GITREPO/
9
+ └── 2014/
10
+ └── 196_7be4e6c2_Declaration_of_REDACTED_Chief,_Special_Foreign_Intelligence_Surveillance_Act_Oversight_and_Processing,_Oversight_and_Compliance,_Signals_Intelligence_Directorate,_The_National_Security_Agency__NSA_.pd
11
+
12
+ ================================================
13
+ FILE: README.md
14
+ ================================================
15
+ # The Snowden Archive
16
+
17
+ This repository is a complete collection of all documents leaked by former National Security Agency contractor and whistleblower Edward Snowden that have subsequently been published by news media around the world.
18
+
19
+ If you notice something is missing or wrong, please file an issue or tweet at [@iamcryptoki](https://twitter.com/iamcryptoki).
20
+
21
+ ## Timeline of Revelations (2013-2018)
22
+
23
+ ### 2013
24
+
25
+ Date | Source | Publication
26
+ -----|--------|------------
27
+ 06/06/2013 | [Foreign Intelligence Surveillance Court order for Verizon to provide U.S. call metadata to FBI](https://www.theguardian.com/world/interactive/2013/jun/06/verizon-telephone-data-court-order) | `The Guardian`
28
+ 06/06/2013 | [NSA collecting phone records of millions of Verizon customers daily](https://www.theguardian.com/world/2013/jun/06/nsa-phone-records-verizon-court-order) | `The Guardian`
29
+ 06/06/2013 | [NSA slides explain the PRISM data-collection program](http://www.washingtonpost.com/wp-srv/special/politics/prism-collection-documents/) | `The Washington Post`
30
+ 08/06/2013 | [Boundless Informant: the NSA's secret tool to track global surveillance data](https://www.theguardian.com/world/2013/jun/08/nsa-boundless-informant-global-datamining) | `The Guardian`
31
+ 08/06/2013 | [New NSA tool to quantify, track intelligence collection revealed – live](https://www.theguardian.com/world/2013/jun/08/nsa-surveillance-prism-obama-live#block-51b36893e4b0cc6424372292) | `The Guardian`
32
+ 20/06/2013 | [The top secret rules that allow NSA to use US data without a warrant](https://www.theguardian.com/world/2013/jun/20/fisa-court-nsa-without-warrant) | `The Guardian`
33
+ 27/06/2013 | [NSA collected US email records in bulk for more than two years under Obama](https://www.theguardian.com/world/2013/jun/27/nsa-data-mining-authorised-obama) | `The Guardian`
34
+ 30/06/2013 | [New NSA leaks show how US is bugging its European allies](https://www.theguardian.com/world/2013/jun/30/nsa-leaks-us-bugging-european-allies) | `The Guardian`
35
+ 31/07/2013 | [XKeyscore: NSA tool collects 'nearly everything a user does on the internet'](https://www.theguardian.com/world/2013/jul/31/nsa-top-secret-program-online-data) | `The Guardian`
36
+ 09/08/2013 | [NSA loophole allows warrantless search for US citizens' emails and phone calls](https://www.theguardian.com/world/2013/aug/09/nsa-loophole-warrantless-searches-email-calls) | `The Guardian`
37
+ 16/08/2013 | [NSA broke privacy rules thousands of times per year, audit finds](https://www.washingtonpost.com/world/national-security/nsa-broke-privacy-rules-thousands-of-times-per-year-audit-finds/2013/08/15/3310e554-05ca-11e3-a07f-49ddc7417125_story.html?utm_term=.2284f75bfae7) | `The Washington Post`
38
+ 23/08/2013 | [NSA paid millions to cover Prism compliance costs for tech companies](https://www.theguardian.com/world/2013/aug/23/nsa-prism-costs-tech-companies-paid) | `The Guardian`
39
+ 30/08/2013 | ['Black budget' summary details U.S. spy network's successes, failures and objectives](https://www.washingtonpost.com/world/national-security/black-budget-summary-details-us-spy-networks-successes-failures-and-objectives/2013/08/29/7e57bb78-10ab-11e3-8cdd-bcdc09410972_story.html?utm_term=.7fefec28f6c5) | `The Washington Post`
40
+ 31/08/2013 | [Snowden Document: NSA Spied On Al Jazeera Communications](http://www.spiegel.de/international/world/nsa-spied-on-al-jazeera-communications-snowden-document-a-919681.html) | `Der Spiegel`
41
+ 01/09/2013 | ['Success Story': NSA Targeted French Foreign Ministry](http://www.spiegel.de/international/world/nsa-targeted-french-foreign-ministry-a-919693.html) | `Der Spiegel`
42
+ 03/09/2013 | [Veja os documentos ultrassecretos que comprovam espionagem a Dilma](http://g1.globo.com/fantastico/noticia/2013/09/veja-os-documentos-ultrassecretos-que-comprovam-espionagem-dilma.html) | `O Globo Fantastico`
43
+ 05/09/2013 | [Revealed: how US and UK spy agencies defeat internet privacy and security](https://www.theguardian.com/world/2013/sep/05/nsa-gchq-encryption-codes-security) | `The Guardian`
44
+ 08/09/2013 | [NSA Documents Show United States Spied Brazilian Oil Giant](http://g1.globo.com/fantastico/noticia/2013/09/nsa-documents-show-united-states-spied-brazilian-oil-giant.html) | `O Globo Fantastico`
45
+ 11/09/2013 | [NSA shares raw intelligence including Americans' data with Israel](https://www.theguardian.com/world/2013/sep/11/nsa-americans-personal-data-israel-documents) | `The Guardian`
46
+ 16/09/2013 | ['Follow the Money': NSA Monitors Financial World](http://www.spiegel.de/international/world/how-the-nsa-spies-on-international-bank-transactions-a-922430.html) | `Der Spiegel`
47
+ 20/09/2013 | [Belgacom Attack: Britain's GCHQ Hacked Belgian Telecoms Firm](http://www.spiegel.de/international/europe/british-spy-agency-gchq-hacked-belgian-telecoms-firm-a-923406.html) | `Der Spiegel`
48
+ 28/09/2013 | [N.S.A. Gathers Data on Social Connections of U.S. Citizens](http://www.nytimes.com/2013/09/29/us/nsa-examines-social-networks-of-us-citizens.html) | `The New York Times`
49
+ 04/10/2013 | [Secret NSA documents show campaign against Tor encrypted network](https://js.washingtonpost.com/world/national-security/secret-nsa-documents-show-campaign-against-tor-encrypted-network/2013/10/04/610f08b6-2d05-11e3-8ade-a1f23cda135e_story.html?utm_term=.65f7a27bb97a) | `The Washington Post`
50
+ 04/10/2013 | [Talk by Roger Dingledine of Torproject.org at the NSA](https://www.washingtonpost.com/world/national-security/talk-by-roger-dingledine-of-torprojectorg-at-the-nsa/2013/10/04/cdd15234-2d1d-11e3-8ade-a1f23cda135e_story.html?utm_term=.9423b5efbae4) | `The Washington Post`
51
+ 04/10/2013 | [NSA and GCHQ target Tor network that protects anonymity of web users](https://www.theguardian.com/world/2013/oct/04/nsa-gchq-attack-tor-network-encryption) | `The Guardian`
52
+ 06/10/2013 | [American and Canadian Spies target Brazilian Energy and Mining Ministry](http://g1.globo.com/fantastico/noticia/2013/10/american-and-canadian-spies-target-brazilian-energy-and-mining-ministry.html) | `O Globo Fantastico`
53
+ 14/10/2013 | [NSA collects millions of e-mail address books globally](https://www.washingtonpost.com/world/national-security/nsa-collects-millions-of-e-mail-address-books-globally/2013/10/14/8e58b5be-34f9-11e3-80c6-7e6dd8d22d8f_story.html?utm_term=.ac10d105e6e8) | `The Washington Post`
54
+ 20/10/2013 | [Fresh Leak on US Spying: NSA Accessed Mexican President's Email](http://www.spiegel.de/international/world/nsa-hacked-email-account-of-mexican-president-a-928817.html) | `Der Spiegel`
55
+ 21/10/2013 | [France in the NSA's crosshair: phone networks under surveillance](https://www.lemonde.fr/technologies/article/2013/10/21/france-in-the-nsa-s-crosshair-phone-networks-under-surveillance_3499741_651865.html) | `Le Monde`
56
+ 24/10/2013 | [Espionnage de la NSA : "Une ligne rouge a été franchie", pour la CNIL](https://www.lemonde.fr/international/article/2013/10/24/affaire-prism-une-ligne-rouge-a-ete-franchie-denonce-la-cnil_3501948_3210.html) | `Le Monde`
57
+ 24/10/2013 | [NSA monitored calls of 35 world leaders after US official handed over contacts](https://www.theguardian.com/world/2013/oct/24/nsa-surveillance-world-leaders-calls) | `The Guardian`
58
+ 25/10/2013 | [The NSA wiretapped French diplomats in the US](https://www.lemonde.fr/technologies/article/2013/10/22/the-nsa-wiretapped-french-diplomats-in-the-us_3500733_651865.html) | `Le Monde`
59
+ 27/10/2013 | [Embassy Espionage: The NSA's Secret Spy Hub in Berlin](http://www.spiegel.de/international/germany/cover-story-how-nsa-spied-on-merkel-cell-phone-from-berlin-embassy-a-930205.html) | `Der Spiegel`
60
+ 28/10/2013 | [La NSA espió 60 millones de llamadas en España en sólo un mes](http://www.elmundo.es/espana/2013/10/28/526dcbad61fd3d07678b456b.html) | `El Mundo`
61
+ 30/10/2013 | [NSA infiltrates links to Yahoo, Google data centers worldwide, Snowden documents say](https://www.washingtonpost.com/world/national-security/nsa-infiltrates-links-to-yahoo-google-data-centers-worldwide-snowden-documents-say/2013/10/30/e51d661e-4166-11e3-8b74-d89d714ca4dd_story.html?utm_term=.697c4a7e9112) | `The Washington Post`
62
+ 01/11/2013 | [Snowden document reveals key role of companies in NSA data collection](https://www.theguardian.com/world/2013/nov/01/nsa-data-collection-tech-firms) | `The Guardian`
63
+ 03/11/2013 | [No Morsel Too Minuscule for All-Consuming N.S.A.](http://www.nytimes.com/2013/11/03/world/no-morsel-too-minuscule-for-all-consuming-nsa.html) | `The New York Times`
64
+ 04/11/2013 | [How we know the NSA had access to internal Google and Yahoo cloud data](https://www.washingtonpost.com/news/the-switch/wp/2013/11/04/how-we-know-the-nsa-had-access-to-internal-google-and-yahoo-cloud-data/?utm_term=.a0556e04babe) | `The Washington Post`
65
+ 04/11/2013 | [Claves y giros del espionaje masivo en España](http://www.elmundo.es/internacional/2013/11/04/52769eb561fd3d6d0a8b4582.html) | `El Mundo`
66
+ 17/11/2013 | ['Royal Concierge': GCHQ Monitors Diplomats' Hotel Bookings](http://www.spiegel.de/international/europe/gchq-monitors-hotel-reservations-to-track-diplomats-a-933914.html) | `Der Spiegel`
67
+ 17/11/2013 | [Australia's spy agencies targeted Indonesian president's mobile phone](https://www.theguardian.com/world/2013/nov/18/australia-tried-to-monitor-indonesian-presidents-phone) | `The Guardian`
68
+ 19/11/2013 | [DNI Clapper Declassifies Additional Intelligence Community Documents Regarding Collection Under Section 501 of the Foreign Intelligence Surveillance Act](https://icontherecord.tumblr.com/post/67419963949/dni-clapper-declassifies-additional-intelligence) | `Office of the Director of National Intelligence`
69
+ 19/11/2013 | [Dette sier Snowden-dokumentet om USAs overvåkning av norske telefonsamtaler](https://www.dagbladet.no/nyheter/dette-sier-snowden-dokumentet-om-usas-overvakning-av-norske-telefonsamtaler/61837718) | `Dagbladet`
70
+ 20/11/2013 | [US and UK struck secret deal to allow NSA to 'unmask' Britons' personal data](https://www.theguardian.com/world/2013/nov/20/us-uk-secret-deal-surveillance-personal-data) | `The Guardian`
71
+ 22/11/2013 | [NSA-files repeatedly show collection of data «against countries» - not «from»](https://www.dagbladet.no/2013/11/22/nyheter/edward_snowden/utenriks/usa/nsa/30444117/) | `Dagbladet`
72
+ 23/11/2013 | [NSA infected 50,000 computer networks with malicious software](https://www.nrc.nl/nieuws/2013/11/23/nsa-infected-50000-computer-networks-with-malicious-software-a1429487) | `NRC Handelsblad`
73
+ 23/11/2013 | [N.S.A. Report Outlined Goals for More Power](http://www.nytimes.com/2013/11/23/us/politics/nsa-report-outlined-goals-for-more-power.html) | `The New York Times`
74
+ 26/11/2013 | [Top-Secret Document Reveals NSA Spied On Porn Habits As Part Of Plan To Discredit 'Radicalizers'](http://www.huffingtonpost.com/2013/11/26/nsa-porn-muslims_n_4346128.html?utm_hp_ref=tw#slide=3074349) | `The Huffington Post`
75
+ 26/11/2013 | [Microsoft, suspecting NSA spying, to ramp up efforts to encrypt its Internet traffic](https://www.washingtonpost.com/business/technology/microsoft-suspecting-nsa-spying-to-ramp-up-efforts-to-encrypt-its-internet-traffic/2013/11/26/44236b48-56a9-11e3-8304-caf30787c0a9_story.html?utm_term=.9028a3045b19) | `The Washington Post`
76
+ 02/12/2013 | [Revealed: Australian spy agency offered to share data about ordinary citizens](https://www.theguardian.com/world/2013/dec/02/revealed-australian-spy-agency-offered-to-share-data-about-ordinary-citizens) | `The Guardian`
77
+ 02/12/2013 | [New Snowden docs show U.S. spied during G20 in Toronto](http://www.cbc.ca/news/politics/new-snowden-docs-show-u-s-spied-during-g20-in-toronto-1.2442448) | `CBC`
78
+ 04/12/2013 | [NSA tracking cellphone locations worldwide, Snowden documents show](https://www.washingtonpost.com/world/national-security/nsa-tracking-cellphone-locations-worldwide-snowden-documents-show/2013/12/04/5492873a-5cf2-11e3-bc56-c6ca94801fac_story.html?utm_term=.580eb3fa0db0) | `The Washington Post`
79
+ 05/12/2013 | [Revealed: How the Nsa Targets Italy](http://espresso.repubblica.it/inchieste/2013/12/05/news/revealed-how-the-nsa-targets-italy-1.144428) | `L'Espresso`
80
+ 05/12/2013 | [The NSA Toolbox: ANT Product Catalog](https://nsa.gov1.info/dni/) | `gov1.info`
81
+ 09/12/2013 | [Spies Infiltrate a Fantasy Realm of Online Games](http://www.nytimes.com/2013/12/10/world/spies-dragnet-reaches-a-playing-field-of-elves-and-trolls.html) | `The New York Times`
82
+ 10/12/2013 | [New documents show how the NSA infers relationships based on mobile location data](https://www.washingtonpost.com/news/the-switch/wp/2013/12/10/new-documents-show-how-the-nsa-infers-relationships-based-on-mobile-location-data/) | `The Washington Post`
83
+ 10/12/2013 | [NSA uses Google cookies to pinpoint targets for hacking](https://www.washingtonpost.com/news/the-switch/wp/2013/12/10/nsa-uses-google-cookies-to-pinpoint-targets-for-hacking/?utm_term=.72f98b798b2f) | `The Washington Post`
84
+ 10/12/2013 | [Snowden document shows Canada set up spy posts for NSA](http://www.cbc.ca/news/politics/snowden-document-shows-canada-set-up-spy-posts-for-nsa-1.2456886) | `CBC`
85
+ 11/12/2013 | [Read the Snowden Documents From the NSA](http://www.svt.se/ug/read-the-snowden-documents-from-the-nsa) | `SVT`
86
+ 23/12/2013 | [Edward Snowden, after months of NSA revelations, says his mission's accomplished](https://www.washingtonpost.com/world/national-security/edward-snowden-after-months-of-nsa-revelations-says-his-missions-accomplished/2013/12/23/49fc36de-6c1c-11e3-a523-fe73f0ff6b8d_story.html?utm_term=.54fff5b9f3a4) | `The Washington Post`
87
+ 29/12/2013 | [NSA: Die Klempner aus San Antonio](https://cryptome.org/2013/12/nsa-tao-ant-pdf.pdf) | `Der Spiegel`
88
+ 29/12/2013 | [Inside TAO: Documents Reveal Top NSA Hacking Unit](http://www.spiegel.de/international/world/the-nsa-uses-powerful-toolbox-in-effort-to-spy-on-global-networks-a-940969.html) | `Der Spiegel`
89
+ 30/12/2013 | [NSA-Programm "Quantumtheory": Wie der US-Geheimdienst weltweit Rechner knackt](http://www.spiegel.de/netzwelt/netzpolitik/quantumtheory-wie-die-nsa-weltweit-rechner-hackt-a-941149.html) | `Der Spiegel`
90
+ 30/12/2013 | [NSA-Totalausspähung: FDP-Politiker Baum setzt auf Generalbundesanwalt](http://www.spiegel.de/politik/deutschland/nsa-fdp-politiker-baum-fuer-eingreifen-des-generalbundesanwalts-a-941418.html) | `Der Spiegel`
91
+ 30/12/2013 | [NSA's Secret Toolbox: Unit Offers Spy Gadgets for Every Need](http://www.spiegel.de/international/world/nsa-secret-toolbox-ant-unit-offers-spy-gadgets-for-every-need-a-941006.html) | `Der Spiegel`
92
+
93
+ ### 2014
94
+
95
+ Date | Source | Publication
96
+ -----|--------|------------
97
+ 02/01/2014 | [NSA seeks to build quantum computer that could crack most types of encryption](https://www.washingtonpost.com/world/national-security/nsa-seeks-to-build-quantum-computer-that-could-crack-most-types-of-encryption/2014/01/02/8fff297e-7195-11e3-8def-a33011492df2_story.html?utm_term=.53b94e951789) | `The Washington Post`
98
+ 16/01/2014 | [NSA collects millions of text messages daily in 'untargeted' global sweep](https://www.theguardian.com/world/2014/jan/16/nsa-collects-millions-text-messages-daily-untargeted-global-sweep) | `The Guardian`
99
+ 27/01/2014 | [Spy Agencies Tap Data Streaming From Phone Apps](http://www.nytimes.com/2014/01/28/world/spy-agencies-scour-phone-apps-for-personal-data.html) | `The New York Times`
100
+ 27/01/2014 | [Snowden docs reveal British spies snooped on YouTube and Facebook](http://investigations.nbcnews.com/_news/2014/01/27/22469304-snowden-docs-reveal-british-spies-snooped-on-youtube-and-facebook) | `NBC`
101
+ 28/01/2014 | [Angry Birds and 'leaky' phone apps targeted by NSA and GCHQ for user data](https://www.theguardian.com/world/2014/jan/27/nsa-gchq-smartphone-app-angry-birds-personal-data) | `The Guardian`
102
+ 30/01/2014 | [For the NSA, espionage was a means to strengthen the US position in climate negotiations](http://www.information.dk/486360) | `Information DK`
103
+ 31/01/2014 | [CSEC used airport Wi-Fi to track Canadian travellers: Edward Snowden documents](http://www.cbc.ca/news/politics/csec-used-airport-wi-fi-to-track-canadian-travellers-edward-snowden-documents-1.2517881) | `CBC`
104
+ 04/02/2014 | [Exclusive: Snowden Docs Show UK Spies Attacked Anonymous, Hackers](http://www.nbcnews.com/news/investigations/war-anonymous-british-spies-attacked-hackers-snowden-docs-show-n21361) | `NBC`
105
+ 07/02/2014 | [Exclusive: Snowden Docs Show British Spies Used Sex and 'Dirty Tricks'](http://www.nbcnews.com/news/investigations/snowden-docs-british-spies-used-sex-dirty-tricks-n23091) | `NBC`
106
+ 08/02/2014 | [NSA hielp Nederland met onderzoek naar herkomst 1,8 miljoen](https://www.nrc.nl/nieuws/2014/02/08/nsa-hielp-nederland-met-onderzoek-naar-herkomst-18-miljoen-a1427343) | `NRC Handelsblad`
107
+ 11/02/2014 | [The NSA's Secret Role in the U.S. Assassination Program](https://theintercept.com/2014/02/10/the-nsas-secret-role/) | `The Intercept`
108
+ 15/02/2014 | [Document Describes Eavesdropping on American Law Firm](http://www.nytimes.com/2014/02/16/us/document-describes-eavesdropping-on-american-law-firm.html) | `The New York Times`
109
+ 18/02/2014 | [Snowden Documents Reveal Covert Surveillance and Pressure Tactics Aimed at WikiLeaks and Its Supporters](https://theintercept.com/2014/02/18/snowden-docs-reveal-covert-surveillance-and-pressure-tactics-aimed-at-wikileaks-and-its-supporters/) | `The Intercept`
110
+ 25/02/2014 | [How Covert Agents Infiltrate the Internet to Manipulate, Deceive, and Destroy Reputations](https://theintercept.com/2014/02/24/jtrig-manipulation/) | `The Intercept`
111
+ 27/02/2014 | [Optic Nerve: millions of Yahoo webcam images intercepted by GCHQ](https://www.theguardian.com/world/2014/feb/27/gchq-nsa-webcam-images-internet-yahoo) | `The Guardian`
112
+ 05/03/2014 | [The secret role of the Dutch in the American war on terror](https://www.nrc.nl/nieuws/2014/03/05/the-secret-role-of-the-dutch-in-the-american-war-on-terror-a1426677) | `NRC Handelsblad`
113
+ 07/03/2014 | [The NSA Has An Advice Columnist. Seriously.](https://theintercept.com/2014/03/07/nsa-advice-columnist-seriously/) | `The Intercept`
114
+ 11/03/2014 | [How a Court Secretly Evolved, Extending U.S. Spies' Reach](http://www.nytimes.com/2014/03/12/us/how-a-courts-secret-evolution-extended-spies-reach.html?_r=0) | `The New York Times`
115
+ 12/03/2014 | [How the NSA Plans to Infect 'Millions' of Computers with Malware](https://theintercept.com/2014/03/12/nsa-plans-infect-millions-computers-malware/) | `The Intercept`
116
+ 13/03/2014 | [Foreign Officials In the Dark About Their Own Spy Agencies' Cooperation with NSA](https://theintercept.com/2014/03/13/nsa-elected-officials-foreign-countries-unaware-countries-cooperation-us/) | `The Intercept`
117
+ 15/03/2014 | [Compare the NSA's Facebook Malware Denial to its Own Secret Documents](https://theintercept.com/2014/03/15/nsa-facebook-malware-turbine-non-denial-denial/) | `The Intercept`
118
+ 18/03/2014 | [NSA surveillance program reaches 'into the past' to retrieve, replay phone calls](https://www.washingtonpost.com/world/national-security/nsa-surveillance-program-reaches-into-the-past-to-retrieve-replay-phone-calls/2014/03/18/226d2646-ade9-11e3-a49e-76adc9210f19_story.html?utm_term=.6ca6a6b847f3) | `The Washington Post`
119
+ 20/03/2014 | [Inside the NSA's Secret Efforts to Hunt and Hack System Administrators](https://theintercept.com/2014/03/20/inside-nsa-secret-efforts-hunt-hack-system-administrators/) | `The Intercept`
120
+ 21/03/2014 | [La France suspectée de cyberespionnage](https://www.lemonde.fr/international/article/2014/03/21/la-france-suspectee-de-cyberattaque_4387232_3210.html) | `Le Monde`
121
+ 22/03/2014 | [N.S.A. Breached Chinese Servers Seen as Security Threat](http://www.nytimes.com/2014/03/23/world/asia/nsa-breached-chinese-servers-seen-as-spy-peril.html) | `The New York Times`
122
+ 29/03/2014 | ['A' for Angela: GCHQ and NSA Targeted Private German Companies and Merkel](http://www.spiegel.de/international/germany/gchq-and-nsa-targeted-private-german-companies-a-961444.html) | `Der Spiegel`
123
+ 04/04/2014 | [The "Cuban Twitter" Scam Is a Drop in the Internet Propaganda Bucket](https://theintercept.com/2014/04/04/cuban-twitter-scam-social-media-tool-disseminating-government-propaganda/) | `The Intercept`
124
+ 30/04/2014 | [British Spy Chiefs Secretly Begged to Play in NSA's Data Pools](https://theintercept.com/2014/04/30/gchq-prism-nsa-fisa-unsupervised-access-snowden/) | `The Intercept`
125
+ 30/04/2014 | [No Place to Hide Documents](http://glenngreenwald.net/#BookDocuments) | `Glenn Greenwald`
126
+ 19/05/2014 | [Data Pirates of the Caribbean: The NSA Is Recording Every Cell Phone Call in the Bahamas](https://theintercept.com/2014/05/19/data-pirates-caribbean-nsa-recording-every-cell-phone-call-bahamas/) | `The Intercept`
127
+ 10/06/2014 | [DEA/NSA SANDKEY Voice Intercepts](https://www.eff.org/files/2014/06/10/dea-nsa-sandkey.pdf) | `Cryptome`
128
+ 18/06/2014 | [Keith Alexander Talking Points](https://www.information.dk/databloggen/2014/06/documentation-the-snowden-files) | `Dagbladet`
129
+ 18/06/2014 | [The NSA in Germany: Snowden's Documents Available for Download](http://www.spiegel.de/international/the-germany-file-of-edward-snowden-documents-available-for-download-a-975917.html) | `Der Spiegel`
130
+ 30/06/2014 | [Court gave NSA broad leeway in surveillance, documents show](https://www.washingtonpost.com/world/national-security/court-gave-nsa-broad-leeway-in-surveillance-documents-show/2014/06/30/32b872ec-fae4-11e3-8176-f2c941cf35f1_story.html?utm_term=.f864c1ef55e8) | `The Washington Post`
131
+ 09/07/2014 | [Meet the Muslim-American Leaders the FBI and NSA Have Been Spying On](https://theintercept.com/2014/07/09/under-surveillance/) | `The Intercept`
132
+ 14/07/2014 | [Hacking Online Polls and Other Ways British Spies Seek to Control the Internet](https://theintercept.com/2014/07/14/manipulating-online-polls-ways-british-spies-seek-control-internet/) | `The Intercept`
133
+ 23/07/2014 | [Privacy watchdog's next target: the least-known but biggest aspect of NSA surveillance](https://www.washingtonpost.com/news/the-switch/wp/2014/07/23/privacy-watchdogs-next-target-the-least-known-but-biggest-aspect-of-nsa-surveillance/?utm_term=.c49556361df8) | `The Washington Post`
134
+ 23/07/2014 | [The NSA's New Partner in Spying: Saudi Arabia's Brutal State Police](https://theintercept.com/2014/07/25/nsas-new-partner-spying-saudi-arabias-brutal-state-police/) | `The Intercept`
135
+ 04/08/2014 | [Cash, Weapons and Surveillance: the U.S. is a Key Party to Every Israeli Attack](https://theintercept.com/2014/08/04/cash-weapons-surveillance/) | `The Intercept`
136
+ 05/08/2014 | [Watch Commander: Barack Obama's Secret Terrorist-Tracking System, by the Numbers](https://theintercept.com/2014/08/05/watch-commander/) | `The Intercept`
137
+ 12/08/2014 | [NPR Is Laundering CIA Talking Points to Make You Scared of NSA Reporting](https://theintercept.com/2014/08/12/nprs-dina-temple-raston-passed-cia-funded-nsa-contractor-independent-fear-monger-snowden-reporting/) | `The Intercept`
138
+ 15/08/2014 | [NSA/GCHQ: The HACIENDA Program for Internet Colonization](https://www.heise.de/ct/artikel/NSA-GCHQ-The-HACIENDA-Program-for-Internet-Colonization-2292681.html) | `Heise Online`
139
+ 25/08/2014 | [The Surveillance Engine: How the NSA Built Its Own Secret Google](https://theintercept.com/2014/08/25/icreach-nsa-cia-secret-google-crisscross-proton/) | `The Intercept`
140
+ 31/08/2014 | [A Two-Faced Friendship: Turkey Is 'Partner and Target' for the NSA](http://www.spiegel.de/international/world/documents-show-nsa-and-gchq-spied-on-partner-turkey-a-989011.html) | `Der Spiegel`
141
+ 14/09/2014 | [Treasure Map: The NSA Breach of Telekom and Other German Firms](http://www.spiegel.de/international/world/snowden-documents-indicate-nsa-has-breached-deutsche-telekom-a-991503.html) | `Der Spiegel`
142
+ 15/09/2014 | [New Zealand Launched Mass Surveillance Project While Publicly Denying It](https://theintercept.com/2014/09/15/new-zealand-gcsb-speargun-mass-surveillance/) | `The Intercept`
143
+ 11/10/2014 | [Core Secrets: NSA Saboteurs in China and Germany](https://theintercept.com/2014/10/10/core-secrets/) | `The Intercept`
144
+ 20/11/2014 | [Vodafone-Linked Company Aided British Mass Surveillance](https://theintercept.com/2014/11/20/vodafone-surveillance-gchq-snowden/) | `The Intercept`
145
+ 25/11/2014 | [Snowden-Leaks: How Vodafone-Subsidiary Cable & Wireless Aided GCHQ's Spying Efforts](http://international.sueddeutsche.de/post/103543418200/snowden-leaks-how-vodafone-subsidiary-cable) | `Suddeutsche Zeitung`
146
+ 04/12/2014 | [Operation Auroragold: How the NSA Hacks Cellphone Networks Worldwide](https://theintercept.com/2014/12/04/nsa-auroragold-hack-cellphones/) | `The Intercept`
147
+ 13/12/2014 | [Operation Socialist: The Inside Story of How British Spies Hacked Belgium's Largest Telco](https://theintercept.com/2014/12/13/belgacom-hack-gchq-inside-story/) | `The Intercept`
148
+ 28/12/2014 | [Obama's Lists: A Dubious History of Targeted Killings in Afghanistan](http://www.spiegel.de/international/world/secret-docs-reveal-dubious-details-of-targeted-killings-in-afghanistan-a-1010358.html) | `Der Spiegel`
149
+ 28/12/2014 | [NSA Documents: Attacks on VPN, SSL, TLS, SSH, Tor](http://www.spiegel.de/international/world/nsa-documents-attacks-on-vpn-ssl-tls-ssh-tor-a-1010525.html) | `Der Spiegel`
150
+ 28/12/2014 | [Prying Eyes: Inside the NSA's War on Internet Security](http://www.spiegel.de/international/germany/inside-the-nsa-s-war-on-internet-security-a-1010361.html) | `Der Spiegel`
151
+
152
+ ### 2015
153
+
154
+ Date | Source | Publication
155
+ -----|--------|------------
156
+ 17/01/2015 | [The Digital Arms Race: NSA Preps America for Future Battle](http://www.spiegel.de/international/world/new-snowden-docs-indicate-scope-of-nsa-preparations-for-cyber-battle-a-1013409.html) | `Der Spiegel`
157
+ 17/01/2015 | [The Digital Arms Race: How the NSA Reads Over Shoulders of Other Spies](http://www.spiegel.de/international/world/new-snowden-docs-indicate-scope-of-nsa-preparations-for-cyber-battle-a-1013409-2.html) | `Der Spiegel`
158
+ 27/01/2015 | [CSE tracks millions of downloads daily: Snowden documents](http://www.cbc.ca/news/canada/cse-tracks-millions-of-downloads-daily-snowden-documents-1.2930120) | `CBC`
159
+ 04/02/2015 | [Western Spy Agencies Secretly Rely on Hackers for Intel and Expertise](https://theintercept.com/2015/02/04/demonize-prosecute-hackers-nsa-gchq-rely-intel-expertise/) | `The Intercept`
160
+ 10/02/2015 | [NSA Claims Iran Learned from Western Cyberattacks](https://firstlook.org/theintercept/2015/02/10/nsa-iran-developing-sophisticated-cyber-attacks-learning-attacks/) | `The Intercept`
161
+ 19/02/2015 | [The Great SIM Heist: How Spies Stole the Keys to the Encryption Castle](https://theintercept.com/2015/02/19/great-sim-heist/) | `The Intercept`
162
+ 26/02/2015 | [CSE monitors millions of Canadian emails to government](http://www.cbc.ca/news/cse-monitors-millions-of-canadian-emails-to-government-1.2969687) | `CBC`
163
+ 26/02/2015 | [CSE monitors millions of Canadian emails to government](http://www.cbc.ca/news/cse-monitors-millions-of-canadian-emails-to-government-1.2969687) | `CBC`
164
+ 26/02/2015 | [CSE monitors millions of Canadian emails to government](http://www.cbc.ca/news/cse-monitors-millions-of-canadian-emails-to-government-1.2969687) | `CBC`
165
+ 07/03/2015 | [Snowden files: Inside Waihopai's domes](http://www.stuff.co.nz/national/67082905/snowden-files-inside-waihopais-domes) | `Stuff`
166
+ 10/03/2015 | [The CIA Campaign to Steal Apple's Secrets](https://theintercept.com/2015/03/10/ispy-cia-campaign-steal-apples-secrets/) | `The Intercept`
167
+ 11/03/2015 | [Snowden revelations: NZ's spy reach stretches across globe](http://www.nzherald.co.nz/nz/news/article.cfm?c_id=1&objectid=11415172) | `NZ Herald`
168
+ 25/03/2015 | [Communication Security Establishment's cyberwarfare toolbox revealed](http://www.cbc.ca/news/canada/communication-security-establishment-s-cyberwarfare-toolbox-revealed-1.3002978) | `CBC`
169
+ 02/04/2015 | [Britain Used Spy Team to Shape Latin American Public Opinion on Falklands](https://theintercept.com/2015/04/02/gchq-argentina-falklands/) | `The Intercept`
170
+
171
+ ### 2016
172
+
173
+ Date | Source | Publication
174
+ -----|--------|------------
175
+ 29/01/2016 | [Anarchist Snapshots: Hacked Images From Israel's Drone Fleet](https://theintercept.com/2016/01/28/hacked-images-from-israels-drone-fleet/) | `The Intercept`
176
+ 02/02/2016 | [Exclusive: Snowden intelligence docs reveal UK spooks' malware checklist](https://boingboing.net/2016/02/02/doxxing-sherlock-3.html) | `Boing Boing`
177
+ 11/05/2016 | [The Secret NSA Diary of an Abu Ghraib Interrogator](https://theintercept.com/2016/05/11/the-secret-nsa-diary-of-an-abu-ghraib-interrogator/) | `The Intercept`
178
+ 16/05/2016 | [The Most Intriguing Spy Stories From 166 Internal NSA Reports](https://theintercept.com/2016/05/16/the-most-intriguing-spy-stories-from-166-internal-nsa-reports/) | `The Intercept`
179
+ 07/06/2016 | [Facing Data Deluge, Secret U.K. Spying Report Warned of Intelligence Failure](https://theintercept.com/2016/06/07/mi5-gchq-digint-surveillance-data-deluge/) | `The Intercept`
180
+ 15/08/2016 | [The Raid: In Bungled Spying Operation, NSA Targeted Pro-Democracy Campaigner](https://theintercept.com/2016/08/14/nsa-gcsb-prism-surveillance-fullman-fiji/) | `The Intercept`
181
+ 19/08/2016 | [Shadow Brokers: The NSA Leak Is Real, Snowden Documents Confirm](https://theintercept.com/2016/08/19/the-nsa-was-hacked-snowden-documents-confirm/) | `The Intercept`
182
+ 29/12/2016 | [Top-Secret Snowden Document Reveals What the NSA Knew About Previous Russian Hacking](https://theintercept.com/2016/12/29/top-secret-snowden-document-reveals-what-the-nsa-knew-about-previous-russian-hacking/) | `The Intercept`
183
+ 16/11/2016 | [Titanpointe: The NSA's Spy Hub in New York, Hidden in Plain Sight (Project X)](https://theintercept.com/2016/11/16/the-nsas-spy-hub-in-new-york-hidden-in-plain-sight/) | `The Intercept`
184
+ 06/09/2016 | [Inside Menwith Hill: The NSA's British Base at the Heart of U.S. Targeted Killing](https://theintercept.com/2016/09/06/nsa-menwith-hill-targeted-killing-surveillance/) | `The Intercept`
185
+
186
+ ### 2017
187
+
188
+ Date | Source | Publication
189
+ -----|--------|------------
190
+ 10/04/2017 | [Burn After Reading: Snowden Documents Reveal Scope of Secrets Exposed to China in 2001 Spy Plane Incident](https://theintercept.com/2017/04/10/snowden-documents-reveal-scope-of-secrets-exposed-to-china-in-2001-spy-plane-incident/) | `The Intercept`
191
+ 24/04/2017 | [Why Soviet Weather Was Secret, a Critical Gap in Korea, and Other NSA Newsletter Tales](https://theintercept.com/2017/04/24/why-soviet-weather-was-secret-a-critical-gap-in-korea-and-other-nsa-newsletter-tales/) | `The Intercept`
192
+ 24/04/2017 | [NSA Kept Watch Over Democratic and Republican Conventions, Snowden Documents Reveal](https://theintercept.com/2017/04/24/nsa-kept-watch-over-democratic-and-republican-conventions-snowden-documents-reveal/) | `The Intercept`
193
+ 24/04/2017 | [NSA Blimp Spied in the United States](https://theintercept.com/2017/04/24/nsa-blimp-spied-in-the-united-states/) | `The Intercept`
194
+ 24/04/2017 | [Japan Made Secret Deals With the NSA That Expanded Global Surveillance](https://theintercept.com/2017/04/24/japans-secret-deals-with-the-nsa-that-expand-global-surveillance/) | `The Intercept`
195
+ 06/06/2017 | [Fifty Years Later, NSA Keeps Details of Israel's USS Liberty Attack Secret](https://theintercept.com/2017/06/06/fifty-years-later-nsa-keeps-details-of-israels-uss-liberty-attack-secret/) | `The Intercept`
196
+ 19/08/2017 | [The U.S. Spy Hub in the Heart of Australia](https://theintercept.com/2017/08/19/nsa-spy-hub-cia-pine-gap-australia/) | `The Intercept`
197
+ 20/08/2017 | [Pine Gap plays crucial role in America's wars, leaked documents reveal](http://www.abc.net.au/news/2017-08-20/leaked-documents-reveal-pine-gaps-crucial-role-in-us-drone-war/8815472) | `Australian Broadcasting Corporation`
198
+ 25/10/2017 | [NSA Concealed Records on JFK Assassination for Decades](https://theintercept.com/2017/10/25/jfk-assassination-files-nsa-cuba/) | `The Intercept`
199
+ 30/11/2017 | [NSA Secretly Helped Convict Defendants in U.S. Courts, Classified Documents Reveal](https://theintercept.com/2017/11/30/nsa-surveillance-fisa-section-702/) | `The Intercept`
200
+
201
+ ### 2018
202
+
203
+ Date | Source | Publication
204
+ -----|--------|------------
205
+ 01/03/2018 | [The Powerful Global Spy Alliance You Never Knew Existed](https://theintercept.com/2018/03/01/nsa-global-surveillance-sigint-seniors/) | `The Intercept`
206
+ 01/03/2018 | [Norway Used NSA Technology for Potentially Illegal Spying](https://theintercept.com/2018/03/01/norway-nsa-victory-garden-surveillance/) | `The Intercept`
207
+ 20/03/2018 | [The NSA Worked to "Track Down" Bitcoin Users, Snowden Documents Reveal](https://theintercept.com/2018/03/20/the-nsa-worked-to-track-down-bitcoin-users-snowden-documents-reveal/) | `The Intercept`
208
+
209
+
210
+ ================================================
211
+ FILE: download_scrape_nsa2.py
212
+ ================================================
213
+ #!/usr/bin/env python3
214
+ """
215
+ Download PDFs from the ACLU FOIA DB using aria2c quietly,
216
+ while showing a Rich progress bar for total progress.
217
+ """
218
+
219
+ import os
220
+ import sys
221
+ import sqlite3
222
+ import argparse
223
+ import hashlib
224
+ from urllib.parse import urlparse, unquote
225
+ import subprocess
226
+ from rich.progress import Progress, BarColumn, TimeElapsedColumn, TimeRemainingColumn
227
+ from rich.console import Console
228
+
229
+ console = Console()
230
+
231
+
232
+ # ---------------------------------------------------------------------
233
+ # Utilities
234
+ # ---------------------------------------------------------------------
235
+
236
+ def check_aria2_installed():
237
+ try:
238
+ subprocess.run(
239
+ ["aria2c", "--version"],
240
+ stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True
241
+ )
242
+ except Exception:
243
+ console.print("[bold red]ERROR:[/bold red] aria2c not found. Install aria2 first.")
244
+ sys.exit(1)
245
+
246
+
247
+ def sanitize_filename(name: str, max_len=200):
248
+ name = name.strip().replace("/", "_").replace("\\", "_")
249
+ name = name.split("?")[0].split("#")[0]
250
+ if len(name) > max_len:
251
+ name = name[:max_len]
252
+ return name
253
+
254
+
255
+ def basename_from_url(url: str):
256
+ parsed = urlparse(url)
257
+ name = os.path.basename(unquote(parsed.path or ""))
258
+ return sanitize_filename(name if name else "file.pdf")
259
+
260
+
261
+ def unique_fname(rowid: int, url: str):
262
+ base = basename_from_url(url)
263
+ h = hashlib.sha1(url.encode()).hexdigest()[:8]
264
+ return f"{rowid}_{h}_{base}"
265
+
266
+
267
+ # ---------------------------------------------------------------------
268
+ # Database Loading
269
+ # ---------------------------------------------------------------------
270
+
271
+ def load_rows(conn, include_duplicates=False):
272
+ c = conn.cursor()
273
+ if include_duplicates:
274
+ q = """
275
+ SELECT rowid, DirectPDF_Link, Year_From_URL
276
+ FROM ACLU WHERE DirectPDF_Link IS NOT NULL AND DirectPDF_Link != ''
277
+ """
278
+ else:
279
+ q = """
280
+ SELECT rowid, DirectPDF_Link, Year_From_URL
281
+ FROM ACLU WHERE DirectPDF_Link IS NOT NULL AND DirectPDF_Link != ''
282
+ AND (Duplicate IS NULL OR Duplicate='No')
283
+ """
284
+ c.execute(q)
285
+ return c.fetchall()
286
+
287
+
288
+ # ---------------------------------------------------------------------
289
+ # Download Logic
290
+ # ---------------------------------------------------------------------
291
+
292
+ def download_one(pdf_url, dest_path):
293
+ """
294
+ Download 1 file using aria2 silently.
295
+ """
296
+ cmd = [
297
+ "aria2c",
298
+ "--quiet=true",
299
+ "--continue=true",
300
+ "--file-allocation=none",
301
+ "--allow-overwrite=true",
302
+ "--auto-file-renaming=false",
303
+ "--dir", os.path.dirname(dest_path),
304
+ "--out", os.path.basename(dest_path),
305
+ pdf_url
306
+ ]
307
+ subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
308
+
309
+
310
+ # ---------------------------------------------------------------------
311
+ # Main
312
+ # ---------------------------------------------------------------------
313
+
314
+ def main():
315
+ parser = argparse.ArgumentParser()
316
+ parser.add_argument("--db", default="ACLU_NSA_Snowden-D.db")
317
+ parser.add_argument("--out", default="downloads")
318
+ parser.add_argument("--force", action="store_true")
319
+ parser.add_argument("--include-duplicates", action="store_true")
320
+ args = parser.parse_args()
321
+
322
+ check_aria2_installed()
323
+
324
+ if not os.path.exists(args.db):
325
+ console.print(f"[red]DB not found:[/red] {args.db}")
326
+ sys.exit(1)
327
+
328
+ conn = sqlite3.connect(args.db)
329
+ rows = load_rows(conn, include_duplicates=args.include_duplicates)
330
+
331
+ if not rows:
332
+ console.print("[yellow]No records with DirectPDF_Link found.[/yellow]")
333
+ return
334
+
335
+ rows.sort(key=lambda x: (x[2] if x[2] else 9999, x[0]))
336
+ total = len(rows)
337
+
338
+ console.print(f"[green]Preparing to download {total} PDFs...[/green]\n")
339
+
340
+ # Rich Progress Bar with live counters
341
+ with Progress(
342
+ "[progress.description]{task.description}",
343
+ BarColumn(),
344
+ "[progress.percentage]{task.percentage:>3.0f}%",
345
+ TimeElapsedColumn(),
346
+ TimeRemainingColumn(),
347
+ console=console,
348
+ expand=True
349
+ ) as progress:
350
+
351
+ task = progress.add_task(f"[0/{total}] Downloading PDFs...", total=total)
352
+ completed = 0
353
+
354
+ for rowid, pdf_url, year in rows:
355
+ year_str = str(year if year is not None else "unknown")
356
+ year_dir = os.path.join(args.out, year_str)
357
+ os.makedirs(year_dir, exist_ok=True)
358
+
359
+ fname = unique_fname(rowid, pdf_url)
360
+ dest_path = os.path.join(year_dir, fname)
361
+
362
+ # Skip if file exists
363
+ if os.path.exists(dest_path) and not args.force:
364
+ completed += 1
365
+ progress.update(
366
+ task,
367
+ advance=1,
368
+ description=f"[{completed}/{total}] Downloading PDFs..."
369
+ )
370
+ continue
371
+
372
+ # Download file
373
+ try:
374
+ download_one(pdf_url, dest_path)
375
+ except Exception as e:
376
+ console.print(f"[red]Failed:[/red] {pdf_url} ({e})")
377
+
378
+ completed += 1
379
+ progress.update(
380
+ task,
381
+ advance=1,
382
+ description=f"[{completed}/{total}] Downloading PDFs..."
383
+ )
384
+
385
+ console.print("\n[bold green]All downloads completed.[/bold green]")
386
+
387
+
388
+ # ---------------------------------------------------------------------
389
+ if __name__ == "__main__":
390
+ main()
391
+
392
+
393
+
394
+ ================================================
395
+ FILE: scrape_nsa2.py
396
+ ================================================
397
+ import requests
398
+ from bs4 import BeautifulSoup
399
+ from urllib.parse import urljoin
400
+ import time
401
+ import argparse
402
+ import sqlite3
403
+
404
+ HEADERS = {
405
+ 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/129.0 Safari/537.36'
406
+ }
407
+
408
+ def get_next_page_url(soup, current_url):
409
+ nav = soup.find('nav', class_='page-numbers')
410
+ if nav:
411
+ next_a = nav.find('a', class_='next')
412
+ if next_a and next_a.get('href'):
413
+ return urljoin("https://www.aclu.org", next_a['href'])
414
+
415
+ current_page = None
416
+ for a in soup.select('a.page-numbers, span.page-numbers'):
417
+ try:
418
+ page_num = int(a.get_text(strip=True))
419
+ if 'current' in a.get('class', []) or a.name == 'span':
420
+ current_page = page_num
421
+ except:
422
+ pass
423
+
424
+ if current_page is not None:
425
+ from urllib.parse import urlparse, parse_qs, urlencode
426
+ parsed = urlparse(current_url)
427
+ query = parse_qs(parsed.query)
428
+ next_page = current_page + 1
429
+ new_url = f"{parsed.scheme}://{parsed.netloc}{parsed.path.rstrip('/')}/page/{next_page}"
430
+ if query:
431
+ new_url += "?" + urlencode(query, doseq=True)
432
+ if parsed.fragment:
433
+ new_url += "#" + parsed.fragment
434
+ return new_url
435
+ return None
436
+
437
+ def get_detail_pages_from_listing(soup):
438
+ items = []
439
+ for card in soup.select('a.document-listing-card'):
440
+ href = card.get('href')
441
+ if not href:
442
+ continue
443
+ detail_url = urljoin("https://www.aclu.org", href)
444
+
445
+ title_div = card.find('div', class_='is-size-4')
446
+ title = title_div.get_text(strip=True) if title_div else "Unknown Title"
447
+
448
+ date_span = card.find(string=lambda t: t and "Document Date:" in t)
449
+ doc_date = date_span.find_parent().get_text() if date_span else "Unknown Date"
450
+ doc_date = doc_date.replace("Document Date:", "").strip()
451
+
452
+ items.append({'detail_url': detail_url, 'title': title, 'doc_date': doc_date})
453
+ return items
454
+
455
+ def get_direct_pdf_url(detail_url):
456
+ try:
457
+ r = requests.get(detail_url, headers=HEADERS, timeout=15)
458
+ if r.status_code != 200:
459
+ return None
460
+ soup = BeautifulSoup(r.text, 'html.parser')
461
+ a = soup.find('a', download=True) or soup.find('a', string=lambda x: x and 'Download document' in x)
462
+ if a and a.get('href'):
463
+ return urljoin("https://www.aclu.org", a['href'])
464
+ except Exception as e:
465
+ print(f" PDF extraction failed: {e}")
466
+ return None
467
+
468
+ def init_db(db_name='ACLU_NSA_Snowden-D.db'):
469
+ conn = sqlite3.connect(db_name)
470
+ conn.execute("PRAGMA journal_mode=WAL;")
471
+ conn.execute("PRAGMA synchronous = NORMAL;")
472
+ c = conn.cursor()
473
+ c.execute('''
474
+ CREATE TABLE IF NOT EXISTS ACLU (
475
+ Page TEXT PRIMARY KEY,
476
+ Document_Date TEXT,
477
+ DirectPDF_Link TEXT,
478
+ Duplicate TEXT DEFAULT 'No',
479
+ Year_From_URL INTEGER
480
+ )
481
+ ''')
482
+ # Add index for faster queries by year
483
+ c.execute('CREATE INDEX IF NOT EXISTS idx_year ON ACLU (Year_From_URL);')
484
+ conn.commit()
485
+ return conn
486
+
487
+ def insert_into_db(conn, page_url, doc_date, pdf_url, year_from_url):
488
+ c = conn.cursor()
489
+ try:
490
+ # Check if page already exists
491
+ c.execute("SELECT 1 FROM ACLU WHERE Page = ?", (page_url,))
492
+ exists = c.fetchone()
493
+ duplicate = 'Yes' if exists else 'No'
494
+
495
+ c.execute('''
496
+ INSERT OR REPLACE INTO ACLU
497
+ (Page, Document_Date, DirectPDF_Link, Duplicate, Year_From_URL)
498
+ VALUES (?, ?, ?, ?, ?)
499
+ ''', (page_url, doc_date, pdf_url, duplicate, year_from_url))
500
+
501
+ conn.commit()
502
+ print(f" DB → Saved (Year: {year_from_url}, Dupe: {duplicate})")
503
+ except Exception as e:
504
+ print(f" DB INSERT FAILED: {e}")
505
+
506
+ def scrape_year(base_url, year, conn, delay=2.0):
507
+ all_pdfs = []
508
+ page = 1
509
+
510
+ print(f"\n{'='*80}")
511
+ print(f" SCRAPING YEAR: {year} (from ?document_date={year})")
512
+ print(f"{'='*80}")
513
+
514
+ while True:
515
+ url = f"{base_url}/page/{page}?document_date={year}#listings"
516
+ print(f"\nPage {page} → {url}")
517
+
518
+ try:
519
+ r = requests.get(url, headers=HEADERS, timeout=20)
520
+ r.raise_for_status()
521
+ except Exception as e:
522
+ print(f" Failed to load page: {e}")
523
+ break
524
+
525
+ soup = BeautifulSoup(r.text, 'html.parser')
526
+ items = get_detail_pages_from_listing(soup)
527
+
528
+ if not items:
529
+ print(" No more documents → end of year")
530
+ break
531
+
532
+ print(f" Found {len(items)} document(s)")
533
+ for item in items:
534
+ print(f" • [{year}] {item['doc_date']} | {item['title'][:85]}{'...' if len(item['title'])>85 else ''}")
535
+ pdf = get_direct_pdf_url(item['detail_url'])
536
+ if pdf:
537
+ insert_into_db(conn, item['detail_url'], item['doc_date'], pdf, year)
538
+ all_pdfs.append({**item, 'pdf_url': pdf, 'year': year})
539
+ else:
540
+ print(f" No PDF (likely redacted/withheld)")
541
+ time.sleep(0.4)
542
+
543
+ next_url = get_next_page_url(soup, url)
544
+ if next_url and 'page/' in next_url:
545
+ page += 1
546
+ time.sleep(delay)
547
+ else:
548
+ print(f" No next page → finished year {year}")
549
+ break
550
+
551
+ print(f"\nYear {year} → {len(all_pdfs)} PDFs saved to DB")
552
+ return all_pdfs
553
+
554
+ # === MAIN ===
555
+ if __name__ == "__main__":
556
+ base_url = "https://www.aclu.org/foia-collections/nsa-documents-search"
557
+ years = [2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,
558
+ 2007,2006,2005,2004,2003,2002,2001,1997,1993,1905]
559
+
560
+ parser = argparse.ArgumentParser()
561
+ parser.add_argument('--delay', type=float, default=2.0)
562
+ parser.add_argument('--db', type=str, default='ACLU_NSA_Snowden-D.db')
563
+ args = parser.parse_args()
564
+
565
+ conn = init_db(args.db)
566
+ total = 0
567
+
568
+ print("Starting ACLU NSA FOIA Scraper → Year_From_URL now 100% saved!\n")
569
+
570
+ for year in years:
571
+ count = len(scrape_year(base_url, year, conn, delay=args.delay))
572
+ total += count
573
+ print(f"Cumulative total: {total} documents")
574
+
575
+ conn.close()
576
+ print(f"\nALL DONE! {total} records with correct Year_From_URL saved")
577
+ print(f"Database: {args.db}")
578
+ print("Query example:")
579
+ print(" SELECT COUNT(*) FROM ACLU WHERE Year_From_URL = 2013 AND Duplicate = 'No';")
580
+
581
+
582
+
583
+ ================================================
584
+ FILE: sidtoday/README.md
585
+ ================================================
586
+ # SIDtoday Files
587
+
588
+ *SIDtoday* is the internal newsletter for the NSA's most important division, the Signals Intelligence Directorate. After editorial review, *The Intercept* is releasing nine year's worth of newsletters in batches, starting with 2003.
589
+
590
+ You can read our *SIDtoday* reporting and browse the documents online [here](https://theintercept.com/snowden-sidtoday).
591
+
592
+ This repository contains *SIDtoday* articles released by *The Intercept*, in PDF format and organized by year. We will continue to update it with new documents.
593
+
594
+ ## Downloading and verifying
595
+
596
+ You can download all of the documents release so far as a zip file [here](https://github.com/firstlookmedia/sidtoday/archive/master.zip).
597
+
598
+ Every commit in this repository is cryptographically signed using PGP. If you'd like to verify the integrity of the documents, you can either use [GitHub's interface](https://github.com/blog/2144-gpg-signature-verification), or you can manually verify the signatures like this:
599
+
600
+ ```sh
601
+ # Download the signing keys
602
+ gpg --recv-keys "927F419D7EC82C2F149C1BD1403C2657CD994F73"
603
+ gpg --recv-keys "6C577D0B6ABD6AF3D513EF47A72F3B3D3E45FD67"
604
+
605
+ # Clone the git repository
606
+ git clone https://github.com/firstlookmedia/sidtoday.git
607
+ cd sidtoday
608
+
609
+ # Verify the signatures on each commit
610
+ git log --show-signature
611
+ ```
612
+
613
+
614
+
615
+ ================================================
616
+ FILE: TotalArchived_ACLU_GITREPO/2014/196_7be4e6c2_Declaration_of_REDACTED_Chief,_Special_Foreign_Intelligence_Surveillance_Act_Oversight_and_Processing,_Oversight_and_Compliance,_Signals_Intelligence_Directorate,_The_National_Security_Agency__NSA_.pd
617
+ ================================================
618
+ [Binary file]
619
+
download_scrape_nsa2.py ADDED
@@ -0,0 +1,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """
3
+ Download PDFs from the ACLU FOIA DB using aria2c quietly,
4
+ while showing a Rich progress bar for total progress.
5
+ """
6
+
7
+ import os
8
+ import sys
9
+ import sqlite3
10
+ import argparse
11
+ import hashlib
12
+ from urllib.parse import urlparse, unquote
13
+ import subprocess
14
+ from rich.progress import Progress, BarColumn, TimeElapsedColumn, TimeRemainingColumn
15
+ from rich.console import Console
16
+
17
+ console = Console()
18
+
19
+
20
+ # ---------------------------------------------------------------------
21
+ # Utilities
22
+ # ---------------------------------------------------------------------
23
+
24
+ def check_aria2_installed():
25
+ try:
26
+ subprocess.run(
27
+ ["aria2c", "--version"],
28
+ stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, check=True
29
+ )
30
+ except Exception:
31
+ console.print("[bold red]ERROR:[/bold red] aria2c not found. Install aria2 first.")
32
+ sys.exit(1)
33
+
34
+
35
+ def sanitize_filename(name: str, max_len=200):
36
+ name = name.strip().replace("/", "_").replace("\\", "_")
37
+ name = name.split("?")[0].split("#")[0]
38
+ if len(name) > max_len:
39
+ name = name[:max_len]
40
+ return name
41
+
42
+
43
+ def basename_from_url(url: str):
44
+ parsed = urlparse(url)
45
+ name = os.path.basename(unquote(parsed.path or ""))
46
+ return sanitize_filename(name if name else "file.pdf")
47
+
48
+
49
+ def unique_fname(rowid: int, url: str):
50
+ base = basename_from_url(url)
51
+ h = hashlib.sha1(url.encode()).hexdigest()[:8]
52
+ return f"{rowid}_{h}_{base}"
53
+
54
+
55
+ # ---------------------------------------------------------------------
56
+ # Database Loading
57
+ # ---------------------------------------------------------------------
58
+
59
+ def load_rows(conn, include_duplicates=False):
60
+ c = conn.cursor()
61
+ if include_duplicates:
62
+ q = """
63
+ SELECT rowid, DirectPDF_Link, Year_From_URL
64
+ FROM ACLU WHERE DirectPDF_Link IS NOT NULL AND DirectPDF_Link != ''
65
+ """
66
+ else:
67
+ q = """
68
+ SELECT rowid, DirectPDF_Link, Year_From_URL
69
+ FROM ACLU WHERE DirectPDF_Link IS NOT NULL AND DirectPDF_Link != ''
70
+ AND (Duplicate IS NULL OR Duplicate='No')
71
+ """
72
+ c.execute(q)
73
+ return c.fetchall()
74
+
75
+
76
+ # ---------------------------------------------------------------------
77
+ # Download Logic
78
+ # ---------------------------------------------------------------------
79
+
80
+ def download_one(pdf_url, dest_path):
81
+ """
82
+ Download 1 file using aria2 silently.
83
+ """
84
+ cmd = [
85
+ "aria2c",
86
+ "--quiet=true",
87
+ "--continue=true",
88
+ "--file-allocation=none",
89
+ "--allow-overwrite=true",
90
+ "--auto-file-renaming=false",
91
+ "--dir", os.path.dirname(dest_path),
92
+ "--out", os.path.basename(dest_path),
93
+ pdf_url
94
+ ]
95
+ subprocess.run(cmd, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
96
+
97
+
98
+ # ---------------------------------------------------------------------
99
+ # Main
100
+ # ---------------------------------------------------------------------
101
+
102
+ def main():
103
+ parser = argparse.ArgumentParser()
104
+ parser.add_argument("--db", default="ACLU_NSA_Snowden-D.db")
105
+ parser.add_argument("--out", default="downloads")
106
+ parser.add_argument("--force", action="store_true")
107
+ parser.add_argument("--include-duplicates", action="store_true")
108
+ args = parser.parse_args()
109
+
110
+ check_aria2_installed()
111
+
112
+ if not os.path.exists(args.db):
113
+ console.print(f"[red]DB not found:[/red] {args.db}")
114
+ sys.exit(1)
115
+
116
+ conn = sqlite3.connect(args.db)
117
+ rows = load_rows(conn, include_duplicates=args.include_duplicates)
118
+
119
+ if not rows:
120
+ console.print("[yellow]No records with DirectPDF_Link found.[/yellow]")
121
+ return
122
+
123
+ rows.sort(key=lambda x: (x[2] if x[2] else 9999, x[0]))
124
+ total = len(rows)
125
+
126
+ console.print(f"[green]Preparing to download {total} PDFs...[/green]\n")
127
+
128
+ # Rich Progress Bar with live counters
129
+ with Progress(
130
+ "[progress.description]{task.description}",
131
+ BarColumn(),
132
+ "[progress.percentage]{task.percentage:>3.0f}%",
133
+ TimeElapsedColumn(),
134
+ TimeRemainingColumn(),
135
+ console=console,
136
+ expand=True
137
+ ) as progress:
138
+
139
+ task = progress.add_task(f"[0/{total}] Downloading PDFs...", total=total)
140
+ completed = 0
141
+
142
+ for rowid, pdf_url, year in rows:
143
+ year_str = str(year if year is not None else "unknown")
144
+ year_dir = os.path.join(args.out, year_str)
145
+ os.makedirs(year_dir, exist_ok=True)
146
+
147
+ fname = unique_fname(rowid, pdf_url)
148
+ dest_path = os.path.join(year_dir, fname)
149
+
150
+ # Skip if file exists
151
+ if os.path.exists(dest_path) and not args.force:
152
+ completed += 1
153
+ progress.update(
154
+ task,
155
+ advance=1,
156
+ description=f"[{completed}/{total}] Downloading PDFs..."
157
+ )
158
+ continue
159
+
160
+ # Download file
161
+ try:
162
+ download_one(pdf_url, dest_path)
163
+ except Exception as e:
164
+ console.print(f"[red]Failed:[/red] {pdf_url} ({e})")
165
+
166
+ completed += 1
167
+ progress.update(
168
+ task,
169
+ advance=1,
170
+ description=f"[{completed}/{total}] Downloading PDFs..."
171
+ )
172
+
173
+ console.print("\n[bold green]All downloads completed.[/bold green]")
174
+
175
+
176
+ # ---------------------------------------------------------------------
177
+ if __name__ == "__main__":
178
+ main()
index.html ADDED
The diff for this file is too large to render. See raw diff
 
scrape_nsa2.py ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import requests
2
+ from bs4 import BeautifulSoup
3
+ from urllib.parse import urljoin
4
+ import time
5
+ import argparse
6
+ import sqlite3
7
+
8
+ HEADERS = {
9
+ 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/129.0 Safari/537.36'
10
+ }
11
+
12
+ def get_next_page_url(soup, current_url):
13
+ nav = soup.find('nav', class_='page-numbers')
14
+ if nav:
15
+ next_a = nav.find('a', class_='next')
16
+ if next_a and next_a.get('href'):
17
+ return urljoin("https://www.aclu.org", next_a['href'])
18
+
19
+ current_page = None
20
+ for a in soup.select('a.page-numbers, span.page-numbers'):
21
+ try:
22
+ page_num = int(a.get_text(strip=True))
23
+ if 'current' in a.get('class', []) or a.name == 'span':
24
+ current_page = page_num
25
+ except:
26
+ pass
27
+
28
+ if current_page is not None:
29
+ from urllib.parse import urlparse, parse_qs, urlencode
30
+ parsed = urlparse(current_url)
31
+ query = parse_qs(parsed.query)
32
+ next_page = current_page + 1
33
+ new_url = f"{parsed.scheme}://{parsed.netloc}{parsed.path.rstrip('/')}/page/{next_page}"
34
+ if query:
35
+ new_url += "?" + urlencode(query, doseq=True)
36
+ if parsed.fragment:
37
+ new_url += "#" + parsed.fragment
38
+ return new_url
39
+ return None
40
+
41
+ def get_detail_pages_from_listing(soup):
42
+ items = []
43
+ for card in soup.select('a.document-listing-card'):
44
+ href = card.get('href')
45
+ if not href:
46
+ continue
47
+ detail_url = urljoin("https://www.aclu.org", href)
48
+
49
+ title_div = card.find('div', class_='is-size-4')
50
+ title = title_div.get_text(strip=True) if title_div else "Unknown Title"
51
+
52
+ date_span = card.find(string=lambda t: t and "Document Date:" in t)
53
+ doc_date = date_span.find_parent().get_text() if date_span else "Unknown Date"
54
+ doc_date = doc_date.replace("Document Date:", "").strip()
55
+
56
+ items.append({'detail_url': detail_url, 'title': title, 'doc_date': doc_date})
57
+ return items
58
+
59
+ def get_direct_pdf_url(detail_url):
60
+ try:
61
+ r = requests.get(detail_url, headers=HEADERS, timeout=15)
62
+ if r.status_code != 200:
63
+ return None
64
+ soup = BeautifulSoup(r.text, 'html.parser')
65
+ a = soup.find('a', download=True) or soup.find('a', string=lambda x: x and 'Download document' in x)
66
+ if a and a.get('href'):
67
+ return urljoin("https://www.aclu.org", a['href'])
68
+ except Exception as e:
69
+ print(f" PDF extraction failed: {e}")
70
+ return None
71
+
72
+ def init_db(db_name='ACLU_NSA_Snowden-D.db'):
73
+ conn = sqlite3.connect(db_name)
74
+ conn.execute("PRAGMA journal_mode=WAL;")
75
+ conn.execute("PRAGMA synchronous = NORMAL;")
76
+ c = conn.cursor()
77
+ c.execute('''
78
+ CREATE TABLE IF NOT EXISTS ACLU (
79
+ Page TEXT PRIMARY KEY,
80
+ Document_Date TEXT,
81
+ DirectPDF_Link TEXT,
82
+ Duplicate TEXT DEFAULT 'No',
83
+ Year_From_URL INTEGER
84
+ )
85
+ ''')
86
+ # Add index for faster queries by year
87
+ c.execute('CREATE INDEX IF NOT EXISTS idx_year ON ACLU (Year_From_URL);')
88
+ conn.commit()
89
+ return conn
90
+
91
+ def insert_into_db(conn, page_url, doc_date, pdf_url, year_from_url):
92
+ c = conn.cursor()
93
+ try:
94
+ # Check if page already exists
95
+ c.execute("SELECT 1 FROM ACLU WHERE Page = ?", (page_url,))
96
+ exists = c.fetchone()
97
+ duplicate = 'Yes' if exists else 'No'
98
+
99
+ c.execute('''
100
+ INSERT OR REPLACE INTO ACLU
101
+ (Page, Document_Date, DirectPDF_Link, Duplicate, Year_From_URL)
102
+ VALUES (?, ?, ?, ?, ?)
103
+ ''', (page_url, doc_date, pdf_url, duplicate, year_from_url))
104
+
105
+ conn.commit()
106
+ print(f" DB → Saved (Year: {year_from_url}, Dupe: {duplicate})")
107
+ except Exception as e:
108
+ print(f" DB INSERT FAILED: {e}")
109
+
110
+ def scrape_year(base_url, year, conn, delay=2.0):
111
+ all_pdfs = []
112
+ page = 1
113
+
114
+ print(f"\n{'='*80}")
115
+ print(f" SCRAPING YEAR: {year} (from ?document_date={year})")
116
+ print(f"{'='*80}")
117
+
118
+ while True:
119
+ url = f"{base_url}/page/{page}?document_date={year}#listings"
120
+ print(f"\nPage {page} → {url}")
121
+
122
+ try:
123
+ r = requests.get(url, headers=HEADERS, timeout=20)
124
+ r.raise_for_status()
125
+ except Exception as e:
126
+ print(f" Failed to load page: {e}")
127
+ break
128
+
129
+ soup = BeautifulSoup(r.text, 'html.parser')
130
+ items = get_detail_pages_from_listing(soup)
131
+
132
+ if not items:
133
+ print(" No more documents → end of year")
134
+ break
135
+
136
+ print(f" Found {len(items)} document(s)")
137
+ for item in items:
138
+ print(f" • [{year}] {item['doc_date']} | {item['title'][:85]}{'...' if len(item['title'])>85 else ''}")
139
+ pdf = get_direct_pdf_url(item['detail_url'])
140
+ if pdf:
141
+ insert_into_db(conn, item['detail_url'], item['doc_date'], pdf, year)
142
+ all_pdfs.append({**item, 'pdf_url': pdf, 'year': year})
143
+ else:
144
+ print(f" No PDF (likely redacted/withheld)")
145
+ time.sleep(0.4)
146
+
147
+ next_url = get_next_page_url(soup, url)
148
+ if next_url and 'page/' in next_url:
149
+ page += 1
150
+ time.sleep(delay)
151
+ else:
152
+ print(f" No next page → finished year {year}")
153
+ break
154
+
155
+ print(f"\nYear {year} → {len(all_pdfs)} PDFs saved to DB")
156
+ return all_pdfs
157
+
158
+ # === MAIN ===
159
+ if __name__ == "__main__":
160
+ base_url = "https://www.aclu.org/foia-collections/nsa-documents-search"
161
+ years = [2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,
162
+ 2007,2006,2005,2004,2003,2002,2001,1997,1993,1905]
163
+
164
+ parser = argparse.ArgumentParser()
165
+ parser.add_argument('--delay', type=float, default=2.0)
166
+ parser.add_argument('--db', type=str, default='ACLU_NSA_Snowden-D.db')
167
+ args = parser.parse_args()
168
+
169
+ conn = init_db(args.db)
170
+ total = 0
171
+
172
+ print("Starting ACLU NSA FOIA Scraper → Year_From_URL now 100% saved!\n")
173
+
174
+ for year in years:
175
+ count = len(scrape_year(base_url, year, conn, delay=args.delay))
176
+ total += count
177
+ print(f"Cumulative total: {total} documents")
178
+
179
+ conn.close()
180
+ print(f"\nALL DONE! {total} records with correct Year_From_URL saved")
181
+ print(f"Database: {args.db}")
182
+ print("Query example:")
183
+ print(" SELECT COUNT(*) FROM ACLU WHERE Year_From_URL = 2013 AND Duplicate = 'No';")
sidtoday/README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # SIDtoday Files
2
+
3
+ *SIDtoday* is the internal newsletter for the NSA's most important division, the Signals Intelligence Directorate. After editorial review, *The Intercept* is releasing nine year's worth of newsletters in batches, starting with 2003.
4
+
5
+ You can read our *SIDtoday* reporting and browse the documents online [here](https://theintercept.com/snowden-sidtoday).
6
+
7
+ This repository contains *SIDtoday* articles released by *The Intercept*, in PDF format and organized by year. We will continue to update it with new documents.
8
+
9
+ ## Downloading and verifying
10
+
11
+ You can download all of the documents release so far as a zip file [here](https://github.com/firstlookmedia/sidtoday/archive/master.zip).
12
+
13
+ Every commit in this repository is cryptographically signed using PGP. If you'd like to verify the integrity of the documents, you can either use [GitHub's interface](https://github.com/blog/2144-gpg-signature-verification), or you can manually verify the signatures like this:
14
+
15
+ ```sh
16
+ # Download the signing keys
17
+ gpg --recv-keys "927F419D7EC82C2F149C1BD1403C2657CD994F73"
18
+ gpg --recv-keys "6C577D0B6ABD6AF3D513EF47A72F3B3D3E45FD67"
19
+
20
+ # Clone the git repository
21
+ git clone https://github.com/firstlookmedia/sidtoday.git
22
+ cd sidtoday
23
+
24
+ # Verify the signatures on each commit
25
+ git log --show-signature
26
+ ```