Coder Social home page Coder Social logo

random_c2_profile's Issues

Error: cannot import name 'soft_unicode' from 'markupsafe'

Hello

I am following the installation process on latest kali and experience the error:

    git clone https://github.com/threatexpress/random_c2_profile
    cd random_c2_profile
    pip3 install -r requirements.txt
    pip3 install Pipfile
    python3 random_c2profile.py

Error:

python3 random_c2profile.py
Traceback (most recent call last):
  File "/opt/random_c2_profile/random_c2profile.py", line 15, in <module>
    from jinja2 import Template
  File "/usr/local/lib/python3.10/dist-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/usr/local/lib/python3.10/dist-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/usr/local/lib/python3.10/dist-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/usr/local/lib/python3.10/dist-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/usr/lib/python3/dist-packages/markupsafe/__init__.py)

To solve this i need to downgrade markupsafe:

pip3 install markupsafe==2.0.1

Jinja2 Error

Received error for jinja2 execution after following installation instructions. For some reason during dependency installation, Jinja2 doesn't download the latest version.
Fix: pip3 install --upgrade jinja2
jinij2

client host

profile client have not header "Host" "www.domain.com" ๏ผŒ use domain Parse server ip

Typo in functions.py line 291

Line contains return str(random.randint(1,4=5) which ends up in:

random_c2_profile/core/functions.py", line 291
    return str(random.randint(1,4=5))
                                ^
SyntaxError: expression cannot contain assignment, perhaps you meant "=="?

Probably you intended to type 4*5 (for whatever reason)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.