mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Adding support for symbolic linking sqlmap.py
This commit is contained in:
@@ -48,7 +48,7 @@ def modulePath():
|
|||||||
using py2exe
|
using py2exe
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return os.path.dirname(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding()))
|
return os.path.dirname(os.path.realpath(getUnicode(sys.executable if weAreFrozen() else __file__, sys.getfilesystemencoding())))
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user