Themis Finals attack helper library.
$ pip install themis.attack
$ THEMIS_HOST=10.0.0.2 themis-attack 035585b41e6bbd70834a05690d2575ad=
Note: 10.0.0.2 stands for and IP address of contest checking system.
You can pass several flags at once. Please be aware of flag submitting restrictions (see Themis Attack Protocol for additional information).
from themis.attack import Carrier
carrier = Carrier('10.0.0.2')
flags = [
'035585b41e6bbd70834a05690d2575ad=',
'cdfdc8cbdcbe4c1e2e7378c52e1f35a5='
]
results = carrier.attack(*flags) # [0, 0] - stands for two successful attacks
To get information about all available result codes, please check out Themis Attack Protocol.
Note: themis.attack.Carrier.attack
method can throw exceptions. These exceptions are subclasses of themis.attack.AttackBaseError
class.
- themis-finals
- themis-finals-guidelines
- themis-finals-infrastructure
- themis-attack-protocol
- themis-attack-result
- themis-checker-server
- themis-checker-result
- themis-checker-py
MIT @ Alexander Pyatkin