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

Crashes during getFile and putFile #2

Open
r3dt3am opened this issue Jun 28, 2020 · 2 comments
Open

Crashes during getFile and putFile #2

r3dt3am opened this issue Jun 28, 2020 · 2 comments

Comments

@r3dt3am
Copy link

r3dt3am commented Jun 28, 2020

Hi!!

Congratulations on the gr8 work. I built the client on Visual Studio 2019. Initially was facing linker error
'''
Error LNK2001 unresolved external symbol main serpentine C:\Users\Administrator\Desktop\serpentine-master\serpentine-master\client\serpentine\MSVCRT.lib(exe_main.obj) 1
'''
I later changed the Linker -> System -> Subsystem from Console (/SUBSYSTEM:CONSOLE) to Console (/SUBSYSTEM:WINDOWS)

This helped me compile the client and I could see the machine on the server on execution. The reverse shell worked like a charm. But both "getFile" and "putFile" are crashing the client.

** Also is persistence built in by default, how can i switch off persistence?

@jafarlihi
Copy link
Owner

jafarlihi commented Jun 29, 2020

I'm not sure why you had to switch the subsystem, since the project itself already specifies "Windows" as the subsystem. Did you import files manually and not use the provided VS project files?

"putFile" could only crash if the sent data is not valid base64, I will fix this soon. This won't happen if you use a frontend like goserpentine since it properly base64-encodes the file before making the request.
When it comes to "getFile" crashes I'm not sure. Could it be that you are not sending the backslashes in the path properly because your shell interprets them as an escape?

There's no way to turn off startup persistence other than by commenting the code that adds the startup entry, it should be in main.cpp.

@jafarlihi jafarlihi reopened this Jun 29, 2020
@3m09
Copy link

3m09 commented Sep 30, 2023

I don't know why but windows 11 doesn't allow any RAT to run

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

3 participants