revshell | A reverse shell environment using java | Data Migration library
kandi X-RAY | revshell Summary
kandi X-RAY | revshell Summary
A reverse shell environment using java
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Reads a long integer from the standard input
- Get the next token from the input
- Returns the next token
- Wait for the screen
- Sends a single image
- Returns a buffered image of the screen capture
- Creates a new window
- Runs the remote server
- Reads a boolean from the standard input
- The main loop of the robot
- Reads a character from the stream
- Running the robot
- Draws the background image
- Reads a float from the input stream
- Returns the next token from the standard input
revshell Key Features
revshell Examples and Code Snippets
Community Discussions
Trending Discussions on revshell
QUESTION
So I'm trying to write VBA that calls "CreateProcessA" to start the "cmd.exe" process and redirect stdin, stdout, and stderror to a socket that's connected to a remote computer.
At the moment, almost everything seems to be working except the output isn't getting redirected to the socket. When I run the code, it shows on the remote computer that a connection was received, but then the cmd windows just opens on the computer running the VBA and that's it. Anyone know why I'm not able to redirect to the socket? My code is below. Thanks for your help in advance :)
...ANSWER
Answered 2021-Jan-21 at 02:02I can get it work with msdn sample: Server and Client(Added create cmd process in it).
And I can also reproduce this issue with you sample in VBA. When I use the WSASocketA
you defined, I get Compile error at lpProtocolInfo As WSAPROTOCOL_INFOA
Compile error: ByRef argument type mismatch
Since it is a pointer type, I modify it as ByVal lpProtocolInfo As LongPtr
.
More importantly, you've ZeroMemory
the STARTUPINFO
after you set it, and then all the handles you set will be discarded.
Put the initialization at the beginning:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install revshell
You can use revshell like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the revshell component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page