Coder Social home page Coder Social logo

webrdp's Introduction

WebRDP GitHub version Build Status Known Vulnerabilities bitHound Overall Score bitHound Dependencies Code Climate

Web RDP Client using node-rdpjs, socket.io, (some)mstsc.js, and express

A bare bones example of an HTML5 web-based RDP. We use RDP as a client on a host to proxy a Websocket / Socket.io connection to an RDP server.

alt text

Instructions

Install:

git https://github.com/Mikej81/WebRDP.git

npm install

node app.js

Uses basic credentials and IP from req.param.host.

Domain is hardcoded, will work on that and more error handling for tab/browser close, etc.

Options

Screen capture OnMouseClick

This is currently hardcoded, will add the option to enable/disable in config file and/or header value.

GET request vars / params

  • domain/username/password - BasicAuth
  • host - passed via the URI /rdp/host/[host_ip]

Config File Options

Examples

usage: http://localhost:4200/rdp/host/[RDP_HOST_IP]

Todo

  • Add keylogging to syslog on crlf, or whatever.
  • Cleanup code.

Contributing

Do it!

Release History

(Nothing yet)

License

Copyright (c) 2017 Mikej81 Licensed under the GPL license.

webrdp's People

Contributors

billchurch avatar mikej81 avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

webrdp's Issues

GPL infringement

* it under the terms of the GNU General Public License as published by

Hi, it seems that you're infringing GPL. You can't license your code as MIT if you're using sources that are GPL.

unable to verify the first certificate

(node:17242) [DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:17242) [DEP0064] DeprecationWarning: tls.createSecurePair() is deprecated. Please use tls.Socket instead.
[node-rdpjs] WARN: Error: unable to verify the first certificate

Don't work... ((

zenbooster@zenpc:~/git/WebRDP$ node app.js
WebRDP Login: user= from=192.168.1.128 host=192.168.1.129 port=3389 sessionID=ogkXY_RbFeCe6WX11MqWn7gy6eHTHpBk/bxDe0_6pixJVX0DXAAAC allowreplay=false
[node-rdpjs] INFO:      screen 2048x966
[node-rdpjs] INFO:      english keyboard layout
[node-rdpjs] INFO:      connect to 192.168.1.129:3389
[node-rdpjs] INFO:      SSL standard security selected
(node:247591) [DEP0010] DeprecationWarning: crypto.createCredentials is deprecated. Use tls.createSecureContext instead.
(node:247591) [DEP0064] DeprecationWarning: tls.createSecurePair() is deprecated. Please use tls.TLSSocket instead.
null
null
WebRDP Login: user= from=192.168.1.128 host=192.168.1.129 port=3389 sessionID=ogkXY_RbFeCe6WX11MqWn7gy6eHTHpBk/ClsK9xxB1B9WXy4VAAAE allowreplay=false
[node-rdpjs] INFO:      screen 2048x966
[node-rdpjs] INFO:      english keyboard layout
[node-rdpjs] INFO:      connect to 192.168.1.129:3389
[node-rdpjs] INFO:      SSL standard security selected
[node-rdpjs] ERROR:     ECONNRESET(read ECONNRESET)
Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
[node-rdpjs] ERROR:     ECONNRESET(read ECONNRESET)
Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
[node-rdpjs] ERROR:     ECONNRESET(read ECONNRESET)
Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
[node-rdpjs] ERROR:     ECONNRESET(read ECONNRESET)
Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
WebRDP Login: user= from=192.168.1.128 host=192.168.1.129 port=3389 sessionID=ogkXY_RbFeCe6WX11MqWn7gy6eHTHpBk/OS3kX5DbDTt_iMrBAAAG allowreplay=false
[node-rdpjs] INFO:      screen 2048x966
[node-rdpjs] INFO:      english keyboard layout
[node-rdpjs] INFO:      connect to 192.168.1.129:3389
[node-rdpjs] INFO:      SSL standard security selected
[node-rdpjs] ERROR:     ECONNRESET(read ECONNRESET)
Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:111:27)
[node-rdpjs] ERROR:     ECONNRESET(read ECONNRESET)
Error: read ECONNRESET

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.