From 1e6c1c70fd9aa6a0a435c19d502a35ffac30a4f8 Mon Sep 17 00:00:00 2001 From: Atomic Red Team doc generator Date: Thu, 24 Nov 2022 14:10:04 +0000 Subject: [PATCH] Generated docs from job=generate-docs branch=master [ci skip] --- atomics/Indexes/index.yaml | 2 +- atomics/T1560.002/T1560.002.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atomics/Indexes/index.yaml b/atomics/Indexes/index.yaml index 86df354b..848e66ba 100644 --- a/atomics/Indexes/index.yaml +++ b/atomics/Indexes/index.yaml @@ -67964,7 +67964,7 @@ collection: name: bash elevation_required: false command: '$which_python -c "import gzip;input_file=open(''#{path_to_input_file}'', - ''rb'');content=input_file.read();input_file.close();output_file=gzip.GzipFile(''#{path_to_output_file}'',''wb'',''compresslevel=6'');output_file.write(content);output_file.close();" + ''rb'');content=input_file.read();input_file.close();output_file=gzip.GzipFile(''#{path_to_output_file}'',''wb'',compresslevel=6);output_file.write(content);output_file.close();" ' cleanup_command: 'rm #{path_to_output_file} diff --git a/atomics/T1560.002/T1560.002.md b/atomics/T1560.002/T1560.002.md index c2870bf3..aca46da4 100644 --- a/atomics/T1560.002/T1560.002.md +++ b/atomics/T1560.002/T1560.002.md @@ -40,7 +40,7 @@ Uses GZip from Python to compress files ```bash -$which_python -c "import gzip;input_file=open('#{path_to_input_file}', 'rb');content=input_file.read();input_file.close();output_file=gzip.GzipFile('#{path_to_output_file}','wb','compresslevel=6');output_file.write(content);output_file.close();" +$which_python -c "import gzip;input_file=open('#{path_to_input_file}', 'rb');content=input_file.read();input_file.close();output_file=gzip.GzipFile('#{path_to_output_file}','wb',compresslevel=6);output_file.write(content);output_file.close();" ``` #### Cleanup Commands: