Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions scapy/autorun.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,15 @@ def autorun_commands(_cmds, my_globals=None, verb=None):
if interp.runsource(cmd):
continue
if sys.last_value: # An error occurred
traceback.print_exception(sys.last_type,
sys.last_value,
sys.last_traceback.tb_next,
file=sys.stdout)
traceback.print_exception(
sys.last_type,
sys.last_value,
(
sys.last_traceback.tb_next
if sys.last_traceback is not None else None
),
file=sys.stdout,
)
sys.last_value = None
return False
cmd = ""
Expand Down
4 changes: 4 additions & 0 deletions scapy/modules/ldaphero.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ class LDAPHero:
:param HashNt: if provided, used for auth (NTLM)
:param HashAes256Sha96: if provided, used for auth (Kerberos)
:param HashAes128Sha96: if provided, used for auth (Kerberos)
:param use_krb5ccname: (bool) if true, the KRB5CCNAME environment variable will
be used if available.
:param use_winssp: (bool) (only works on Windows). Use implicit authentication
through WinSSP.
"""

def __init__(
Expand Down
Loading