This Python script emulates the websocket server side of RevC2 by sending the type you select and rendering the response. Please make sure you are running RevC2 in a Sandbox VM.
Use the following steps to use the websocket server side of RevC2
127.0.0.1 nopsec.org $ python -m pip install -r requirements.txt
$ python final_websocket.py
$ regsvr32 bajo.ocx 4. Select the type you need to execute
1. RCE
2. Take ScreenShot
3. Steal Password
4. Steal Cookies
5. Create Process as different user
6. Proxy Traffic NOTE: For type 6 need to execute 2 more python scripts mentioned below which act as sender and listener socket to proxy traffic
$ python sender_socket.py
$ python listener_socket.py The xargs command in Linux reads items from standard input and passes them as arguments to another…
The locate command in Linux searches for files and directories by name. It queries a pre-built database…
Most modern Linux distributions use systemd as the default service manager. Knowing how to list…
Truncating a file in Linux means removing its contents while leaving the file itself in…
The ss command in Linux lists open sockets and active network connections. It replaced the deprecated netstat command and…
The ftp command in Linux connects to a remote FTP server and transfers files. FTP transmits everything…