Skip to content

Instantly share code, notes, and snippets.

@TimCoates
Last active January 5, 2016 09:14
Show Gist options
  • Select an option

  • Save TimCoates/9dbd771e24bbab99704f to your computer and use it in GitHub Desktop.

Select an option

Save TimCoates/9dbd771e24bbab99704f to your computer and use it in GitHub Desktop.
@startuml
actor Alice
actor Bob
database Log
Alice -> Bob: Authentication Request
alt successful case
Bob -> Alice: Authentication Accepted
else some kind of failure
Bob -> Alice: Authentication Failure
group My own label
Alice -> Log : Log attack start
loop 1000 times
Alice -> Bob: DNS Attack
end
Alice -> Log : Log attack end
end
else Another type of failure
Bob -> Alice: Please repeat
end
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment