We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31c92d0 commit bbcbfd0Copy full SHA for bbcbfd0
ctfcli/utils/config.py
@@ -80,4 +80,9 @@ def generate_session():
80
s = APISession(prefix_url=url)
81
s.verify = ssl_verify
82
s.headers.update({"Authorization": f"Token {access_token}"})
83
+
84
+ # Handle cookies section in config
85
+ if "cookies" in config:
86
+ s.cookies.update(dict(config["cookies"]))
87
88
return s
0 commit comments