Skip to content
This repository was archived by the owner on Dec 5, 2025. It is now read-only.

Commit 4228691

Browse files
author
Samuel Hassine
committed
[examples] Fix hashes example (#173)
1 parent 807bb43 commit 4228691

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/create_file_with_hashes.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
# Variables
66
api_url = "https://demo.opencti.io"
7-
api_token = "YOUR_TOKEN"
7+
api_token = "98481988-5aac-42e3-9be1-e1328ef86419"
88

99
# OpenCTI initialization
1010
opencti_api_client = OpenCTIApiClient(api_url, api_token)
@@ -14,9 +14,9 @@
1414
observableData={
1515
"type": "file",
1616
"hashes": {
17-
"md5": "16b3f663d0f0371a4706642c6ac04e42",
18-
"sha1": "3a1f908941311fc357051b5c35fd2a4e0c834e37",
19-
"sha256": "bcc70a49fab005b4cdbe0cbd87863ec622c6b2c656987d201adbb0e05ec03e56",
17+
"md5": "fcd76de79819813b631d949b18b1e996",
18+
"sha-1": "e08b42d92fa579c095834909b893d49259b158be",
19+
"sha-256": "7cca822e0fdfeca033762213bf16a3f04d7cac8c345f84a0d740324d97f671c0",
2020
},
2121
}
2222
)

0 commit comments

Comments
 (0)