Git Product home page Git Product logo

fakewindow's Introduction

jsWindow

A skid from a phishing website that emulates an opened window. De-obfuscated to an extent and added much easier usage -- specifically, being able to set your own url.

PRs/issues welcome!

IMPORTANT

This tool is NOT intended for phishing. Well, i mean, it is, but that's not why it's here. I put it here because the idea of pretending to have a window inside a webpage is really cool, and i wanted to skid it from a REAL phishing website. DO NOT PHISH USERS WITH THIS TOOL. I am not liable for any actions you might take with this project.

Usage

The most important variable to keep in mind is windowUrl. This handles, unsurprisingly, the window url.

NOTE - it will place it in a standard iframe, so if your website does not allow X-Frame-Options (or if you're accessing a different website), you'll run into issues.

To apply a FakeWindow open to an element - currently, fake_window.js listens for user clicking document.getElementById("win"). You can change this. If your element is not a button, you have to add it to the bind() function in index.html.

Bugs

  • The displayed url does not update when you click on links. This could be fixed by listening for the source of the iframe changing.
  • Favicons are currently broken and will default to luphoria.com/favicon.ico.
  • The title of the window I currently just set to windowUrl, while it should be the actual window title. If you're hosting this and making the FakeWindow point to your own website, it should be possible to actually access foo.bar.iframe.document.head.title with some additional code -- however I am personally not going to implement this.
  • The resize handles are literally one pixel width/height and are quite difficult to actually grab. Not really a "bug" per se, but it should be looked at.

fakewindow's People

Contributors

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