MilindPurswani / Syborg

Recursive DNS Subdomain Enumerator with dead-end avoidance system (BETA)
142 stars 22 forks source link

Temp File error when running on windows #6

Closed yashrs closed 4 years ago

yashrs commented 4 years ago

Sample error:

PS > python .\syborg.py domain.com
Traceback (most recent call last):
  File ".\syborg.py", line 174, in <module>
    q = filequeue.FileQueue(maxsize=1000)
  File "C:\Python36\lib\site-packages\filequeue\filequeue.py", line 53, in __init__
    self._init_fds()
  File "C:\Python36\lib\site-packages\filequeue\filequeue.py", line 56, in _init_fds
    self._file_write = _file_open(self._temp_file.name, "wb")
PermissionError: [Errno 13] Permission denied: 'C:\\Users\\Yash\\AppData\\Local\\Temp\\tmpqnp_lbdw.queue'
MilindPurswani commented 4 years ago

Seems like this error is raised by FileQueue library in windows. Will check it out. Thanks for bringing it in. 👍

MilindPurswani commented 4 years ago

Referenced at FileQueue

GP89 commented 4 years ago

This should now be fixed in filequeue 0.4.0 👍

MilindPurswani commented 4 years ago

@yashrs can you kindly check and confirm the fix?

Thanks,

-Milind

MilindPurswani commented 4 years ago

Seems to be resolved now. Closing it.