Skip to content

Commit 57db4aa

Browse files
authored
Kerberos keytab doc (#4742)
Ticketer.open_file was renamed to open_ccache in cd17acb
1 parent 0648c0d commit 57db4aa

1 file changed

Lines changed: 31 additions & 31 deletions

File tree

doc/scapy/layers/kerberos.rst

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ that are available. For more detail regarding the parameters of the functions, i
8686
$ scapy
8787
>>> load_module("ticketer")
8888
>>> t = Ticketer()
89-
>>> t.open_file("/tmp/krb5cc_1000")
89+
>>> t.open_ccache("/tmp/krb5cc_1000")
9090
>>> t.show()
9191
Tickets:
9292
1. Administrator@DOMAIN.LOCAL -> krbtgt/DOMAIN.LOCAL@DOMAIN.LOCAL
@@ -256,7 +256,7 @@ This ticket was saved to a ``.ccache`` file, that we'll know try to open.
256256
257257
>>> load_module("ticketer")
258258
>>> t = Ticketer()
259-
>>> t.open_file("krb.ccache")
259+
>>> t.open_ccache("krb.ccache")
260260
>>> t.show()
261261
Tickets:
262262
1. Administrator@DOMAIN.LOCAL -> krbtgt/DOMAIN.LOCAL@DOMAIN.LOCAL
@@ -281,35 +281,35 @@ This ticket was saved to a ``.ccache`` file, that we'll know try to open.
281281
Cheat sheet
282282
-----------
283283

284-
+-------------------------------------+--------------------------------+
285-
| Command | Description |
286-
+=====================================+================================+
287-
| ``load_module("ticketer")`` | Load ticketer++ |
288-
+-------------------------------------+--------------------------------+
289-
| ``t = Ticketer()`` | Create a Ticketer object |
290-
+-------------------------------------+--------------------------------+
291-
| ``t.open_file("/tmp/krb5cc_1000")`` | Open a ccache file |
292-
+-------------------------------------+--------------------------------+
293-
| ``t.save()`` | Save a ccache file |
294-
+-------------------------------------+--------------------------------+
295-
| ``t.show()`` | List the tickets |
296-
+-------------------------------------+--------------------------------+
297-
| ``t.create_ticket()`` | Forge a ticket |
298-
+-------------------------------------+--------------------------------+
299-
| ``dTkt = t.dec_ticket(<index>)`` | Decipher a ticket |
300-
+-------------------------------------+--------------------------------+
301-
| ``t.update_ticket(<index>, dTkt)`` | Re-inject a deciphered ticket |
302-
+-------------------------------------+--------------------------------+
303-
| ``t.edit_ticket(<index>)`` | Edit a ticket (GUI) |
304-
+-------------------------------------+--------------------------------+
305-
| ``t.resign_ticket(<index>)`` | Resign a ticket |
306-
+-------------------------------------+--------------------------------+
307-
| ``t.request_tgt(upn, [...])`` | Request a TGT |
308-
+-------------------------------------+--------------------------------+
309-
| ``t.request_st(i, spn, [...])`` | Request a ST using ticket i |
310-
+-------------------------------------+--------------------------------+
311-
| ``t.renew(i, [...])`` | Renew a TGT/ST |
312-
+-------------------------------------+--------------------------------+
284+
+---------------------------------------+--------------------------------+
285+
| Command | Description |
286+
+=======================================+================================+
287+
| ``load_module("ticketer")`` | Load ticketer++ |
288+
+---------------------------------------+--------------------------------+
289+
| ``t = Ticketer()`` | Create a Ticketer object |
290+
+---------------------------------------+--------------------------------+
291+
| ``t.open_ccache("/tmp/krb5cc_1000")`` | Open a ccache file |
292+
+---------------------------------------+--------------------------------+
293+
| ``t.save()`` | Save a ccache file |
294+
+---------------------------------------+--------------------------------+
295+
| ``t.show()`` | List the tickets |
296+
+---------------------------------------+--------------------------------+
297+
| ``t.create_ticket()`` | Forge a ticket |
298+
+---------------------------------------+--------------------------------+
299+
| ``dTkt = t.dec_ticket(<index>)`` | Decipher a ticket |
300+
+---------------------------------------+--------------------------------+
301+
| ``t.update_ticket(<index>, dTkt)`` | Re-inject a deciphered ticket |
302+
+---------------------------------------+--------------------------------+
303+
| ``t.edit_ticket(<index>)`` | Edit a ticket (GUI) |
304+
+---------------------------------------+--------------------------------+
305+
| ``t.resign_ticket(<index>)`` | Resign a ticket |
306+
+---------------------------------------+--------------------------------+
307+
| ``t.request_tgt(upn, [...])`` | Request a TGT |
308+
+---------------------------------------+--------------------------------+
309+
| ``t.request_st(i, spn, [...])`` | Request a ST using ticket i |
310+
+---------------------------------------+--------------------------------+
311+
| ``t.renew(i, [...])`` | Renew a TGT/ST |
312+
+---------------------------------------+--------------------------------+
313313

314314
Other useful commands
315315
---------------------

0 commit comments

Comments
 (0)