Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I updated my version of linux after which this started to happen, Please Help. :AttributeError: #39

Closed
khanarslaan7861 opened this issue Oct 31, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@khanarslaan7861
Copy link

Traceback (most recent call last):
File "./recon-ng", line 58, in
recon_ui(args)
File "./recon-ng", line 43, in recon_ui
x.start(*options)
File "/root/recon-ng/recon/core/base.py", line 76, in start
self._init_workspace(workspace)
File "/root/recon-ng/recon/core/base.py", line 202, in _init_workspace
self._migrate_db()
File "/root/recon-ng/recon/core/base.py", line 258, in _migrate_db
tmp = self.get_random_str(20)
File "/root/recon-ng/recon/core/framework.py", line 229, in get_random_str
return ''.join(random.choice(string.lowercase) for i in range(length))
File "/root/recon-ng/recon/core/framework.py", line 229, in
return ''.join(random.choice(string.lowercase) for i in range(length))
AttributeError: module 'string' has no attribute 'lowercase'

@khanarslaan7861 khanarslaan7861 changed the title I updated my version of linux after which this started to happen, Please Help. I updated my version of linux after which this started to happen, Please Help. :AttributeError: Oct 31, 2019
@lanmaster53 lanmaster53 added the bug Something isn't working label Oct 31, 2019
@lanmaster53
Copy link
Owner

This is a valid bug. Line 229 should be random.choice(string.ascii_lowercase). string.lowercase was removed in favor of string.ascii_lowercase in Python 3. Do you still have that workspace? I'd like to use the database for testing if you can share it.

@lanmaster53
Copy link
Owner

I just pushed a fix to staging if you want to checkout that branch to migrate your workspace. You can switch back afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants