Skip to content
/ sgn Public
forked from EgeBalci/sgn

Shikata ga nai (仕方がない) encoder ported into go with several improvements

License

Notifications You must be signed in to change notification settings

akkuman/sgn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


SGN is a polymorphic binary encoder for offensive security purposes such as generating statically undetecable binary payloads. It uses a additive feedback loop to encode given binary instructions similar to LFSR. This project is the reimplementation of the original Shikata ga nai in golang with many improvements.

This Repo is a fork version of github.com/EgeBalci/sgn to bring sgn to javascript.

Build

this repo replace all cgo(github.com/EgeBalci/keystone-go) to github.com/AlexAltea/keystone.js. Then it is compiled to wasm.

$ git clone github.com/akkuman/sgn
$ cd sgn
$ GOARCH=wasm GOOS=js go build -ldflags="-s -w" -trimpath

Demo

Please see github.com/akkuman/sgn-html

Why not PR to upstream

Because I think this repo has a different purpose. I will communicate with the author(EgeBalci) to see if it can be used as a third party link for sgn.

About

Shikata ga nai (仕方がない) encoder ported into go with several improvements

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Go 94.6%
  • Shell 3.6%
  • Other 1.8%