Fix Duplicate ids; Remove unused JSON files across multiple applications
This commit is contained in:
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"id": "7b6c7e24-c58a-49fc-a5bb-d57b80e5b4c3",
|
||||
"snapshot": "thunderbird",
|
||||
"instruction": "Help me access my outlook account with address \"anonym-x2024@outlook.com\" and password 'Wlv(z._6y|a,rrjfQuQhIi\\$;' (without ')",
|
||||
"source": "https://www.wikihow.com/Access-Gmail-With-Mozilla-Thunderbird",
|
||||
"config": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://drive.usercontent.google.com/download?id=1hSVXjep_RBaN2VN039sKCkFM5NB32wn9&export=download&authuser=0&confirm=t&uuid=90be5a47-f360-4460-8706-628ae555e52b&at=APZUnTV7JqHDhcQJjWKJL_2jO1vj:1705411196058",
|
||||
"path": "/home/user/thunderbird-profile-blank.tar.gz"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "execute",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"tar",
|
||||
"-xzv",
|
||||
"--recursive-unlink",
|
||||
"-f",
|
||||
"/home/user/thunderbird-profile-blank.tar.gz",
|
||||
"-C",
|
||||
"/home/user/"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "launch",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"/usr/bin/thunderbird"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"trajectory": "trajectories/7b6c7e24-c58a-49fc-a5bb-d57b80e5b4c3",
|
||||
"related_apps": [
|
||||
"thunderbird"
|
||||
],
|
||||
"evaluator": {
|
||||
"postconfig": [
|
||||
{
|
||||
"type": "download",
|
||||
"parameters": {
|
||||
"files": [
|
||||
{
|
||||
"url": "https://raw.githubusercontent.com/unode/firefox_decrypt/3f1a6dce63056c1f64d845ff077fc1e653e757c6/firefox_decrypt.py",
|
||||
"path": "/home/user/firefox_decrypt.py"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "execute",
|
||||
"parameters": {
|
||||
"command": [
|
||||
"python3",
|
||||
"/home/user/firefox_decrypt.py",
|
||||
"/home/user/.thunderbird",
|
||||
"-n",
|
||||
"-c",
|
||||
"2",
|
||||
"-f",
|
||||
"csv",
|
||||
"-d",
|
||||
","
|
||||
],
|
||||
"stdout": "thunderbird-accounts.csv"
|
||||
}
|
||||
}
|
||||
],
|
||||
"func": "check_csv",
|
||||
"result": {
|
||||
"type": "cache_file",
|
||||
"path": "thunderbird-accounts.csv"
|
||||
},
|
||||
"expected": {
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"expect": [
|
||||
{
|
||||
"url": "imap://outlook.office365.com",
|
||||
"user": "anonym-x2024@outlook.com",
|
||||
"password": "Wlv(z._6y|a,rrjfQuQhIi\\$;"
|
||||
},
|
||||
{
|
||||
"url": "smtp://smtp.office365.com",
|
||||
"user": "anonym-x2024@outlook.com",
|
||||
"password": "Wlv(z._6y|a,rrjfQuQhIi\\$;"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user