Code Monkey home page Code Monkey logo

pastehakk's Introduction

PasteHakk License Version

A tool to perform clipboard poisoning or paste jacking attack. There are many tools for performing this type of attack but I found most of them are dead and none of them provides user to use their own html files, so I came up with this.

Watch tutorial on youtube

What's Clipboard Poisoning or PasteJacking ?

Browsers now allow developers to automatically add content to a user's clipboard and the attacker exploits this feature. It is a type of attack where the malicious websites take control of your device's clipboard and replace it's content to something harmful without your knowledge.
This method can be used to entice users into running seemingly innocent commands. The malicious code will override the innocent code, and the attacker can gain remote code execution on the user's host if the user pastes the contents into the terminal.

Screenshot

Usage

  • Enter command to inject :
    Be careful with this, it is the command which will be get excuted when the target copies something from our website and pastes it into the terminal. Know your target first before entering the command, if its windows type the windows commands and same for the Linux.
  • Enable anonymous mode (y/n) :
    The anonymous mode clears the terminal after executing the injected command and cleares the history as well, so no logs are being created. Please note that use anonymous mode if your target is Linux for Windows append ";clear" at the end of the command.
  • HTML file to infect (path) :
    Enter the path to the HTML file, where it is stored on your device. Make sure your file contains <body> tag else the script will show an error.

Installing and requirements

  • Linux or Unix-based system

Installing

~ ❯❯❯ git clone https://github.com/3xploitGuy/pastehakk.git

~ ❯❯❯ cd pastehakk

~/pastehakk ❯❯❯ chmod +x pastehakk.sh

~/pastehakk ❯❯❯ ./pastehakk.sh

Contact

Gmail
Instagram
Blog
Website
YouTube

Disclaimer

PasteHakk is created to help in penetration testing and it's not responsible for any misuse or illegal purposes.

Reference

PasteJacking GitHub repo

License

This work by 3xplotGuy is licensed under the terms of the GNU General Public License v3.0.

pastehakk's People

Contributors

3xploitguy avatar

Watchers

James Cloos 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.