Skip to content

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

Notifications You must be signed in to change notification settings

r3s-ost/Snap_Generator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

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.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%