Skip to content

Commit e07232f

Browse files
committed
Fixed issue where batch file wasnt compiled properly
1 parent 67c31ba commit e07232f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

searchsploit.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
@echo off
2-
set pythonscript = ""
2+
set pythonscript=""
33
:: put in the exact directory where youre storing your script. you can place this in a folder in path and youll be able to run it like on linux
44
python "%pythonscript%\searchsploit.py" %*

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
open(os.getenv("userprofile").replace(
2929
"\\", "/") + "/.searchsploit_rc", "w").write(rc)
3030
batch = open("searchsploit.bat", "r").readlines()
31-
batch[1] = 'set pythonscript = "' + os.getcwd() + '"'
31+
batch[1] = 'set pythonscript="' + os.getcwd() + '"'
3232
batch = "\n".join(batch)
3333
open("searchsploit.bat", "w").write(batch)
3434
else:

0 commit comments

Comments
 (0)