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

Issues getting usage #3

Closed
0xSterny opened this issue Nov 9, 2022 · 4 comments
Closed

Issues getting usage #3

0xSterny opened this issue Nov 9, 2022 · 4 comments

Comments

@0xSterny
Copy link

0xSterny commented Nov 9, 2022

Hey all, receiving this error and having trouble getting the script to run.

Traceback (most recent call last):
File "/home/kali/ShellWasp-main/shellWasp.py", line 2, in
import start.shellWasp
File "/home/kali/ShellWasp-main/start/shellWasp.py", line 1140, in
syscalls=winSyscalls()
File "/home/kali/ShellWasp-main/start/shellWasp.py", line 91, in init
with open(os.path.join(os.path.dirname(file), 'reverseWinsysCallsInt.json'), 'r') as syscall_file:
FileNotFoundError: [Errno 2] No such file or directory: '/home/kali/ShellWasp-main/start/reverseWinsysCallsInt.json'

@Bw3ll
Copy link
Owner

Bw3ll commented Nov 12, 2022

Hey,
I opened up in Kali as well and got the same error. I hadn't tested it in Linux. The error was just capitalization, so I have fixed it, so it should be good to go with the update.

@0xSterny
Copy link
Author

Hey Bw3ll,
Thank you for the fix. I am getting another issue with building a shellcode now. It is with your Ks variable that I assume is another capitalization error.

name 'Ks' is not defined
Traceback (most recent call last):
File "/home/kali/ShellWasp/start/shellWasp.py", line 1104, in ui
buildSyscall()
File "/home/kali/ShellWasp/start/shellWasp.py", line 630, in buildSyscall
generateBytes(finalSyscallShellcode)
File "/home/kali/ShellWasp/start/shellWasp.py", line 1078, in generateBytes
ks = Ks(KS_ARCH_X86, KS_MODE_32)
NameError: name 'Ks' is not defined

@Bw3ll
Copy link
Owner

Bw3ll commented Nov 24, 2022

Hmm, I do not have that issue in Kali Linux. I wonder - can you confirm that you have Keystone installed? It sounds like that is probably the error.
You can run this command, and go look and see if you have keystone-engine. Note - unless you installed it for ShellWasp, it probably is not part of Kali Linux.

python -m pip list

That will show the installed Python libraries. Scroll up and see if you have keystone-engine. If you have not installed keystone, you can do so with the following:
pip install keystone-engine

Please let me know if this resolves your issue.

@Bw3ll
Copy link
Owner

Bw3ll commented Mar 12, 2023

Closing issue. Feel free to reopen if something comes up.

@Bw3ll Bw3ll closed this as completed Mar 12, 2023
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

No branches or pull requests

2 participants