mirror of
https://github.com/lgandx/Responder.git
synced 2025-07-14 00:53:01 -07:00
Fixed some tools and +x on some executables
This commit is contained in:
parent
f5a8bf0650
commit
8171a96b9e
9 changed files with 13 additions and 6 deletions
6
utils.py
6
utils.py
|
@ -21,7 +21,7 @@ import logging
|
|||
import socket
|
||||
import time
|
||||
import settings
|
||||
|
||||
import struct
|
||||
try:
|
||||
import sqlite3
|
||||
except:
|
||||
|
@ -383,3 +383,7 @@ def hexdump(src, l=0x16):
|
|||
res.append(('%08X: %-'+str(l*(2+1)+1)+'s |%s|') % (i, hexa, text))
|
||||
|
||||
return '\n'.join(res)
|
||||
|
||||
def longueur(payload):
|
||||
length = struct.pack(">i", len(''.join(payload)))
|
||||
return length
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue