Skip to content

Commit 40cbcd2

Browse files
authored
Replace stale method name in kerberos doc (#4857)
1 parent 12a3752 commit 40cbcd2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/scapy/layers/kerberos.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ This section tries to give many usage examples, but isn't exhaustive. For more d
100100
>>> load_module("ticketer")
101101
>>> t = Ticketer()
102102
>>> t.request_tgt("Administrator@domain.local", password="ScapyScapy1")
103-
>>> t.save("/tmp/krb5cc_1000")
103+
>>> t.save_ccache("/tmp/krb5cc_1000")
104104
>>> exit()
105105
$ klist
106106
Ticket cache: FILE:/tmp/krb5cc_1000
@@ -240,7 +240,7 @@ As you can see, DMSA keys were imported in the keytab. You can use those as deta
240240
>>> t.show()
241241
Tickets:
242242
0. Administrator@DOMAIN.LOCAL -> krbtgt/DOMAIN.LOCAL@DOMAIN.LOCAL
243-
>>> t.save(fname="blob.ccache")
243+
>>> t.save_ccache(fname="blob.ccache")
244244
245245
- **Edit tickets with the GUI**
246246

@@ -294,7 +294,7 @@ This ticket was saved to a ``.ccache`` file, that we'll know try to open.
294294
>>> t.edit_ticket(0)
295295
Enter the NT hash (AES-256) for this ticket (as hex): 6df5a9a90cb076f4d232a123d9c24f46ae11590a5430710bc1881dca337989ce
296296
>>> t.resign_ticket(0)
297-
>>> t.save()
297+
>>> t.save_ccache()
298298
1660
299299
>>> # Other stuff you can do
300300
>>> tkt = t.dec_ticket(0)
@@ -321,7 +321,7 @@ Cheat sheet
321321
+---------------------------------------+--------------------------------+
322322
| ``t.open_ccache("/tmp/krb5cc_1000")`` | Open a ccache file |
323323
+---------------------------------------+--------------------------------+
324-
| ``t.save()`` | Save a ccache file |
324+
| ``t.save_ccache()`` | Save a ccache file |
325325
+---------------------------------------+--------------------------------+
326326
| ``t.show()`` | List the tickets |
327327
+---------------------------------------+--------------------------------+

0 commit comments

Comments
 (0)