mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-24 18:43:47 +03:00
Adding support for symbolic linking sqlmap.py
This commit is contained in:
parent
6a98d375b1
commit
cf6c3a84b5
|
@ -48,7 +48,7 @@ def modulePath():
|
|||
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():
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user