Fix sondib exploit client arguments
This commit is contained in:
1 parent
910c850aac
commit
91aca62125
1 file changed
+1
-1
@@ -21,7 +21,7 @@ SID_KEY = re.compile(rb"(?m)^([0-9a-z]{26}) ([0-9a-f]{8})$")
|
|||||||
|
|
||||||
def run_sdb(target: str, *args: str) -> subprocess.CompletedProcess[bytes]:
|
def run_sdb(target: str, *args: str) -> subprocess.CompletedProcess[bytes]:
|
||||||
return subprocess.run(
|
return subprocess.run(
|
||||||
[str(SDB), target, *args],
|
[str(SDB), args[0], target, *args[1:]],
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
stderr=subprocess.PIPE,
|
stderr=subprocess.PIPE,
|
||||||
timeout=10,
|
timeout=10,
|
||||||
|
|||||||
Reference in new issue
Block a user