ceramicskate0 / TheCollective

The Collective. A repo for a collection of red team and/or pen test projects found mostly on Github. https://github.com/ceramicskate0/TheCollective #infosec #redteaming #pentest
https://github.com/ceramicskate0/TheCollective
MIT License
33 stars 6 forks source link

Issue while installing #18

Closed Sadorrow99 closed 5 years ago

Sadorrow99 commented 5 years ago

Got this error:

                        Traceback (most recent call last):
                       File "./GetClones.py", line 21, in <module>
                       os.makedirs(str(currentdir)+"/ToolBox/"+str(dirname))
                       File "/usr/lib/python2.7/os.py", line 157, in makedirs
                        mkdir(name, mode)
                      OSError: [Errno 17] File exists: '/root/TheCollective/ToolBox/KEYLOGGER'

Any suggestions? Cheers.

seajaysec commented 5 years ago

@Sadorrow99 my janky method of getting around this was to comment out line 21 in GetClones.py. Then I manually created any directories in /Toolbox/ that it complained weren't present.

ceramicskate0 commented 5 years ago

Unfortunately, i was not able to reproduce issue. However, based on what chrsjhnsn said works for them, I have wrapped the method in a try/catch to avoid crash and issue and should now (assuming folder exits) not occur. Could you give it a try let me know if the issue persists?

ceramicskate0 commented 5 years ago

Im going to close for now. If the issue occures again please reopen or create new bug report. Thanks!