Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Commit

Permalink
Internet password examples
Browse files Browse the repository at this point in the history
  • Loading branch information
zrzka committed Jan 11, 2018
1 parent f5f6fe5 commit 20a4b4c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions blackmamba/framework/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,18 @@
Skip protected items:
GenericPassword.query_items(authentication_ui=AuthenticationUI.SKIP)
Internet password::
ip = InternetPassword('zrzka', server='https://github.com/',
protocol=Protocol.HTTPS, authentication_type=AuthenticationType.HTML_FORM)
ip.set_password('password')
Query internet passwords::
for x in InternetPassword.query_items(server='https://github.com/'):
print(f'{x.creation_date} {x.account} {x.protocol} {x.authentication_type}')
"""

from ctypes import c_int, c_void_p, POINTER, byref, c_ulong
Expand Down

0 comments on commit 20a4b4c

Please sign in to comment.