safebreach-labs / sireprat Goto Github PK
View Code? Open in Web Editor NEWRemote Command Execution as SYSTEM on Windows IoT Core (releases available for Python2.7 & Python3)
License: BSD 3-Clause "New" or "Revised" License
Remote Command Execution as SYSTEM on Windows IoT Core (releases available for Python2.7 & Python3)
License: BSD 3-Clause "New" or "Revised" License
Hi there, can you please add a LICENSE to the repo?
Planning to package this tool in BlackArch and not having a LICENSE can be problematic.
References:
https://choosealicense.com/
https://tldrlegal.com/
as its written in 2.7 it wont work on kali 2020 as its no longer supported so pip only works for python 3 not 2.7
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
Hi,
Could you provide a setup.py please?
https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
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'
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!
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
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?
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.
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?
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'
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
"
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.
File "SirepRAT.py", line 98
print "RECV:"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("RECV:")?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.