mirror of
https://github.com/extremecoders-re/pyinstxtractor.git
synced 2026-06-09 11:05:32 +00:00
Update pyinstxtractor.py
This commit is contained in:
parent
e7e2fb8521
commit
26ff99d7f2
1 changed files with 4 additions and 3 deletions
|
|
@ -237,10 +237,11 @@ class PyInstArchive:
|
|||
with open(nm, 'wb') as f:
|
||||
f.write(data)
|
||||
|
||||
|
||||
def extractFiles(self, extractionDir=sys.argv[2]):
|
||||
def extractFiles(self):
|
||||
print('[+] Beginning extraction...please standby')
|
||||
if extractionDir is None:
|
||||
if sys.argv[2] != "":
|
||||
extractionDir = sys.argv[2]
|
||||
else:
|
||||
extractionDir = os.path.join(os.getcwd(), os.path.basename(self.filePath) + '_extracted')
|
||||
|
||||
if not os.path.exists(extractionDir):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue