Project: SkypeShell

SkypeShell enables a user to connect to a remote host running a Skype bot account and execute commands on the remote host through the Skype Chat Window.

Using SkypeShell

Setting up SkypeShell is pretty easy but its only set up to run bash, but it can be easily modified to run anything else like cmd.exe, csh, blah, blah, blah. Windows users will need cygwin if you go that route. To get it working simply install Skype, Python, & Skype4Py on the machine to be controlled and register a bot account, then do $python skypeshell.py on the zombie host. Now from a remote host send:

Examples

Basic Example:

  1. start skype shell
  2. start bash
  3. cmd ls /usr/bin

Example with Password Prompt:

  1. start skype shell
  2. start bash
  3. cmd sudo ifconfig eth0 192.168.209.8;sudo ifconfig eth0 down;sudo ifconfig eth0 up
  4. cmd <password>

SkypeShell Supported Commands

  • start skype shell
  • start bash
  • stop skype shell
  • stop bash
  • cmd <bash command args || stdin input>

The next step if I have time in the next few months is to figure out a way to transfer files through Skype. One way may be the App2App Stream API, but I am not sure yet, and I want to go to bed soon. Another more involved process is adding a file transfer command that takes a file name argument, and a Base64 Blob, and the client or server need to convert it back to the file format, which is not very seamless.

Language: Python
License: WTFPL
Code: skype_shell.py