GithubHelp home page GithubHelp logo

safebreach-labs / sireprat Goto Github PK

View Code? Open in Web Editor NEW
368.0 26.0 88.0 6.4 MB

Remote Command Execution as SYSTEM on Windows IoT Core (releases available for Python2.7 & Python3)

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%
windows-iot rce exploit raspberrypi raspberry-pi iot-core

sireprat's People

Contributors

dorazouri avatar movatica avatar pwnfoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sireprat's Issues

can't run the script

when i changed the code for exec it with python3, i get this error, i have installed all packages from pip, this is the error

Traceback (most recent call last): File "SirepRAT.py", line 52, in <module> from common.mappings import SIREP_COMMANDS, RESULT_TYPE_TO_RESULT File "/home/dadolikes74/ctf-htb/omni/SirepRAT/common/mappings.py", line 41, in <module> from enums.CommandType import CommandType ModuleNotFoundError: No module named 'enums.CommandType'; 'enums' is not a package

AttributeError: 'int' object has no attribute 'value'

Hello,

I've tried using SirepRAT on ParrotOS and the ARM version of Kali, and I keep getting the following error:

Traceback (most recent call last):
File "SirepRAT.py", line 52, in
from common.mappings import SIREP_COMMANDS, RESULT_TYPE_TO_RESULT
File "/root/hackthebox/Omni/SirepRAT/common/mappings.py", line 65, in
ResultRecordType.SystemInformation.value: results.SystemInformationResult,
AttributeError: 'int' object has no attribute 'value'

Can you please advise me on how to solve this issue?

Thank you.

missing "-" in readme.md

Hey, just a little typo in the readme where

python SirepRAT.py 192.168.3.17 GetFileFromDevice --remote_path "C:\Windows\System32\drivers\etc\hosts" -v

should be

python SirepRAT.py 192.168.3.17 GetFileFromDevice --remote_path "C:\Windows\System32\drivers\etc\hosts" --v

Still great work, thx for the script!

'int' object has no attribute 'value'

Tried to run the program on kali with python 2.7, get this output:

Traceback (most recent call last): File "SirepRAT.py", line 52, in <module> from common.mappings import SIREP_COMMANDS, RESULT_TYPE_TO_RESULT File "/home/drsuius/PortableTools/Python/SirepRAT/common/mappings.py", line 65, in <module> ResultRecordType.SystemInformation.value: results.SystemInformationResult, AttributeError: 'int' object has no attribute 'value'

No module named common.constants

python SirepRAT.py
Traceback (most recent call last):
File "SirepRAT.py", line 49, in
from common.constants import SIREP_VERSION_GUID_LEN, LOGGING_FORMAT, LOGGING_LEVEL, SIREP_PORT, INT_SIZE,
ImportError: No module named common.constants

AttributeError: 'int' object has no attribute 'value'

Using the SirepRAT python throws an AttributeError:

Traceback (most recent call last):
  File "SirepRAT.py", line 52, in <module>
    from common.mappings import SIREP_COMMANDS, RESULT_TYPE_TO_RESULT
  File "/home/kali/HackTheWorld/boxes/omni/SirepRAT/common/mappings.py", line 66, in <module>
    ResultRecordType.HResult.value: results.HResultResult,
AttributeError: 'int' object has no attribute 'value'

No module named hexdump

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
"

module hexdump not found for SirepRAT-2.0.0

i tried running SirepRAT on a kali linux (2020-12-18) and got a hexdump module error when i already have hexdump installed. any help or could i be doing something wrong?

sirepRAT-error

i already tried changing the requirements.txt and SirepRAT,py files to executables but nothing, still gives same error.
then I tried as root user but also failed.

mappings.py line 65: AttributeError: 'int' object has no attribute 'value'

Hello

When I run the following command, I have the following error

python SirepRAT.py 10.10.xx.xx LaunchCommandWithOutput --return_output --cmd "C:\Windows\System32\cmd.exe" --args "/c powershell.exe ipconfig" --v
Traceback (most recent call last):
File "SirepRAT.py", line 52, in
from common.mappings import SIREP_COMMANDS, RESULT_TYPE_TO_RESULT
File "/home/tomski/HTB/SirepRAT/common/mappings.py", line 65, in
ResultRecordType.SystemInformation.value: results.SystemInformationResult,
AttributeError: 'int' object has no attribute 'value'

Could you please help me to fix it?

python3 SyntaxError

File "SirepRAT.py", line 98
print "RECV:"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("RECV:")?

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.