Git Product home page Git Product logo

browser-backdoor's Introduction

BrowserBackdoor Build Status Code Climate License

BrowserBackdoor is an Electron application that uses a JavaScript WebSocket Backdoor to connect to the listener.

BrowserBackdoorServer is a WebSocket server that listens for incoming WebSocket connections and creates a command-line interface for sending commands to the remote system.

The JavaScript backdoor in BrowserBackdoor can be used on all browsers that support WebSockets. It will not have access to the Electron API of the host computer unless the BrowserBackdoor Client application is used.

Some things you can do if you have access to the Electron API:

  1. [Open new browser windows that can point to any website.] (http://electron.atom.io/docs/api/browser-window/#new-browserwindowoptions)

  2. [Change and read the clipboard.] (http://electron.atom.io/docs/api/clipboard/#clipboard) (partially built-in. See: server/modules/readClipboard.js).

  3. [Access cross-platform Operating System notifications and the tray on OS X and Windows.] (http://electron.atom.io/docs/api/tray/#tray)

  4. [Take screenshots.] (http://electron.atom.io/docs/api/desktop-capturer/#desktopcapturer) (already built-in. See: server/modules/screenshot.js).

  5. [Execute arbitrary system commands.] (http://stackoverflow.com/a/28394895)

  6. Run at startup. (already built-in. See: client/main.js and server/modules/enableStartup.js).

Disclaimer

This is a personal development project, please do not use it for nefarious purposes. The author bears no responsibility for any misuse of the program.

Wiki

Screenshots are avaliable on the Wiki! https://github.com/IMcPwn/browser-backdoor/wiki/Screenshots

More information will be added to it soon.

Usage

The client application will run in the background and provide no user interface while running. To check that it's running, quit it, or enable/disable system startup press Command (OS X) OR Control (Windows/Linux) + Alt + \ or whatever you configured the shortcut as in client/main.js.

The server application's usage can be accessed by typing help in the command line. To execute modules use the below format in the command line after targeting a session.

exec modules/MODULE_NAME.js

Installing

NodeJS and NPM are required for BrowserBackdoor.

Ruby 2.1+ is required for BrowserBackdoorServer.

BrowserBackdoor is supported on all devices supported by Electron. Currently that is Windows 32/64, OS X 64, and Linux 32/64.

BrowserBackdoorServer is officially supported on Ubuntu 14.04 at the moment. It has not been tested on any other platforms. The goal is to work on Windows and Linux.

To install anything, first, clone the repository. All the rest of the commands shown assume you are in the root of the repository.

git clone https://github.com/IMcPwn/browser-backdoor
cd browser-backdoor

How to install and run the BrowserBackdoor Electron application.

cd client
npm install
# Configure index.html and main.js before the next command
npm start

Building executables for all platforms. (see here for more information)

cd client
npm install electron-packager -g
electron-packager . --all

How to install and run BrowserBackdoorServer.

cd server
gem install bundler
bundle install
# Configure config.yml before the next command
ruby bbsconsole.rb

License

MIT License

Contact

This program is made by Carleton Stuberg.

Contact information such as email, twitter, and other methods of contact are avaliable here: http://imcpwn.com

browser-backdoor's People

Watchers

James Cloos avatar  avatar

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.