mirror of
https://github.com/martanne/bitpixie
synced 2026-06-08 15:44:32 +00:00
Fix smb script to work with distribution packaged impacket version
This commit is contained in:
+2
-1
@@ -1,5 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
scriptpath="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
smbserver="$(command -v smbserver.py || command -v impacket-smbserver)"
|
||||
|
||||
sudo $(which smbserver.py) -smb2support smb "$scriptpath/smb"
|
||||
sudo "$smbserver" -smb2support smb "$scriptpath/smb"
|
||||
|
||||
Reference in New Issue
Block a user