Skip to content

Commit cf6c3a8

Browse files
committed
Adding support for symbolic linking sqlmap.py
1 parent 6a98d37 commit cf6c3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlmap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def modulePath():
4848
using py2exe
4949
"""
5050

51-
return os.path.dirname(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding()))
51+
return os.path.dirname(os.path.realpath(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding())))
5252

5353
def main():
5454
"""

0 commit comments

Comments
 (0)