Giter Site home page Giter Site logo

Comments (6)

dorazouri avatar dorazouri commented on August 20, 2024 1

@Dxter95 SirepRAT v2 is now committed and supports python3, for better experience with Kali! See latest code and release.

from sireprat.

dorazouri avatar dorazouri commented on August 20, 2024

after install of hex dump still showing the same error
"Traceback (most recent call last):
File "SirepRAT.py", line 47, in
import hexdump
ImportError: No module named hexdump
"

This is an external module, and as @J020203 had mentioned - pip install should do.
If it doesn't, I'd make sure you are running SirepRAT.py with the same python version of your pip as it is common to have multiple python installations. Other possible reasons might involve your PATH system variable, which you could inspect using print sys.path

from sireprat.

dorazouri avatar dorazouri commented on August 20, 2024

SirepRAT was built for python2 and will not work with python3.

pip.exe is a utility for package management for python. It is located under the PYTHON_INSTALLATION_DIR\Scripts directory.
The thing is, if you have multiple python installations on the same machine, there's a potential confusion, i.e. you install a package with the pip executable of python3, but then run your script using python2 (where the desired package is not installed).

I'm suggesting this might be the case here, and would recommend you trying to run pip with an explicit path, e.g. C:\**Python27**\Scripts\pip.exe install hexdump. Then, you should run the script using the same python version, e.g.: C:\**Python27**\python.exe SirepRAT.py.

This is just a guess but hope it helps.
Otherwise - there are countless troubleshooting articles for this general ImportError message, some involve modifying the PATH system variable.

Closing issue as this is out of the scope of this repository.

from sireprat.

Dxter95 avatar Dxter95 commented on August 20, 2024

after running the SireRat.py they give this error
from common.mappings import SIREP_COMMANDS, RESULT_TYPE_TO_RESULT
File "/home/kali/HTB/Omni/SirepRAT/common/mappings.py", line 65, in
ResultRecordType.SystemInformation.value: results.SystemInformationResult,
AttributeError: 'int' object has no attribute 'value'

from sireprat.

dorazouri avatar dorazouri commented on August 20, 2024

after running the SireRat.py they give this error
from common.mappings import SIREP_COMMANDS, RESULT_TYPE_TO_RESULT
File "/home/kali/HTB/Omni/SirepRAT/common/mappings.py", line 65, in
ResultRecordType.SystemInformation.value: results.SystemInformationResult,
AttributeError: 'int' object has no attribute 'value'

Please see solution in previous issue:
#2

from sireprat.

Dxter95 avatar Dxter95 commented on August 20, 2024

i see it and fix it thank you

from sireprat.

Related Issues (13)

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.