MCPcopy Index your code
hub / github.com/sqlmapproject/sqlmap / weAreFrozen

Function weAreFrozen

lib/core/common.py:1577–1585  ·  view source on GitHub ↗

Returns whether we are frozen via py2exe. This will affect how we find out where we are located. # Reference: http://www.py2exe.org/index.cgi/WhereAmI

()

Source from the content-addressed store, hash-verified

1575 paths.GITHUB_HISTORY = os.path.join(paths.SQLMAP_HISTORY_PATH, "github.hst")
1576
1577def weAreFrozen():
1578 """
1579 Returns whether we are frozen via py2exe.
1580 This will affect how we find out where we are located.
1581
1582 # Reference: http://www.py2exe.org/index.cgi/WhereAmI
1583 """
1584
1585 return hasattr(sys, "frozen")
1586
1587def parseTargetDirect():
1588 """

Callers 1

modulePathFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…