Skip to content

Commit

Permalink
Remove old non-working Test.zip
Browse files Browse the repository at this point in the history
  • Loading branch information
l50 committed Sep 11, 2023
1 parent 37a16d3 commit bf13b5f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ from a file.
You can run the TTP using the following example:

```bash
ttpforge run ttps/defense-evasion/macos/remove-quarantine-attrib/remove-quarantine-attrib.yaml
ttpforge run forgearmory//defense-evasion/macos/remove-quarantine-attrib/remove-quarantine-attrib.yaml
```

## Steps
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ steps:
echo -e "Running xattr against the included Test.app bundle to remove \
the com.apple.quarantine attribute..."
unzip Test.zip
unzip TTPBundledFiles.zip
echo -e "List of extended attributes before removal:\n"
xattr Test.app
echo -e "List of extended attributes after removal:\n"
Expand All @@ -27,18 +27,18 @@ steps:
inline: |
set -e
echo -e "Running cat against the included Test.zip archive to remove \
echo -e "Running cat against the included TTPBundledFiles.zip archive to remove \
the com.apple.quarantine attribute..."
echo -e "List of extended attributes before removal:\n"
xattr Test.zip
xattr TTPBundledFiles.zip
echo -e "List of extended attributes after removal:\n"
cat Test.zip > Test2.zip
xattr Test2.zip
cat TTPBundledFiles.zip > TTPBundledFiles2.zip
xattr TTPBundledFiles2.zip
echo "[+] cat execution Done!"
cleanup:
inline: |
set -e
rm -rf Test2.zip
rm TTPBundledFiles*
echo "[+] Cleanup done!"

0 comments on commit bf13b5f

Please sign in to comment.