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

Update setup_database.py #75

Merged
merged 6 commits into from
Jan 19, 2020
Merged

Update setup_database.py #75

merged 6 commits into from
Jan 19, 2020

Conversation

linxon
Copy link

@linxon linxon commented Jan 19, 2020

fix:

Traceback (most recent call last):
  File "setup/setup_database.py", line 31, in <module>
    STAGING_KEY = hashlib.md5(choice).hexdigest()
TypeError: Unicode-objects must be encoded before hashing

@Hubbl3
Copy link

Hubbl3 commented Jan 19, 2020

@linxon what version of python are you running when you see this error? I haven't seen this error

@linxon
Copy link
Author

linxon commented Jan 19, 2020

Python 3.6.9

@Hubbl3
Copy link

Hubbl3 commented Jan 19, 2020

when are you seeing this error? we are unable to reproduce it.

@linxon
Copy link
Author

linxon commented Jan 19, 2020

Sorry about it.

I just tried starting to configure using python3 setup/setup_database.py
more: https://asciinema.org/a/xzhDJy1cCH5J9TsU843DmxMQ2

@Cx01N Cx01N changed the base branch from master to dev January 19, 2020 20:42
@Cx01N Cx01N merged commit 0abb863 into BC-SECURITY:dev Jan 19, 2020
@Cx01N
Copy link

Cx01N commented Jan 19, 2020

We were able to recreate the issue and merged the fix. The script was being called as Python 2 inside of reset.sh.
Thanks.

Cx01N added a commit that referenced this pull request Jan 21, 2020
1/21/2020
------------
- Version 3.0.5 Master Release
    - Fixed setup_database.py python3 issue - #75 (@linxon)
    - Added loaded listener types to API - #78 (@vinnybod)
    - Fixed python launcherBase (@Cx01N)
    - Updated Python 3.8 compatibility in stager - #72 (@complana)
    - Fixed Powerup Invoke-allchecks issue - #64 (@SkiddieTech)
    - Fixed shellcode stager - #76 (@Hubbl3)
    - Fixed binary upload error - #55 (@Hubbl3)
    - Fixed multi/bash error (@Cx01N)
vinnybod added a commit that referenced this pull request Apr 8, 2021
…ml to argparse, clearer argument help menus (sub menus!) resource file can gracefully exit now (#75)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants