Han

command module
v0.0.0-...-6a9cf45 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2025 License: MIT Imports: 10 Imported by: 0

README

Han

a simple HTML smuggle page generator ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⣠⠤⠶⠶⠾⠿⢗⠒⠦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡤⠞⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠣⡀⢀⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣴⠾⠷⠶⢦⣤⣴⣶⣶⣶⠶⠖⠒⠒⠒⠒⠀⠀⠀⠀⠀⠀⠉⠉⠓⠒⠒⠤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡴⢋⣀⠄⠀⠈⠉⠉⠉⠁⠀⠀⠀⠀⠀⠤⠄⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠢⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⡿⠛⣁⣠⣤⣤⣤⣤⣄⣀⡀⠀⠠⣀⣀⣀⣀⣈⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡀⠀⠈⡄⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠟⢁⣴⣿⣟⣉⣉⠉⠉⠉⠉⠀⠀⠀⠀⠈⠛⠛⠛⠛⢛⣻⣿⣦⣀⣀⣀⣀⠀⠀⠀⠀⠀⠈⢄⠀⠹⡀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠊⠀⠋⣉⣤⣾⠿⠿⠿⠶⣤⣀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠻⠛⠙⢧⡀⠉⠀⠀⠀⠀⠀⠀⠑⡄⢧⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⠃⣠⡴⠛⠉⣁⣀⣀⣀⣀⣀⢀⣙⣿⣿⣿⣿⣟⣋⣭⣍⣀⠀⢿⣿⣾⣿⣿⠦⡀⠀⠀⣄⠈⠲⢤⣀⣄⠈⠈⢧⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⠃⣼⠋⠀⠐⣫⠿⠛⠛⢛⣻⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣈⣿⣿⣿⣛⠳⣄⠀⠀⢉⠉⠲⢄⠈⠻⣷⡀⠘⣇⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠃⣼⠃⠀⠀⢀⠁⢀⣤⣾⠟⠋⠁⠀⣀⣤⣾⣿⠿⠿⠟⠛⠛⠛⠛⠛⠿⣿⠟⠻⣷⡘⣧⠰⣸⡄⠰⣄⠀⠀⠹⣿⡀⠸⡄⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⡟⣼⣟⣠⠖⢠⣿⣠⡿⠋⠀⠀⠀⡰⠞⢻⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢷⣼⣿⣿⣿⣦⡈⢿⣦⣀⣿⣇⠀⡇⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⢠⣿⣷⣿⡿⠃⠀⣸⢏⡿⠁⠀⠀⠀⠀⠀⠀⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⣿⡏⢿⣿⣿⣿⣼⣿⣿⣿⣿⡀⡇⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⢀⡏⣿⣿⣿⣁⣠⡄⠀⣼⠃⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⠀⠈⢿⣿⣿⣿⣿⣿⣿⣿⡇⡿⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⡞⢸⡟⣿⣿⣿⡿⢠⣾⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣇⡇⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⡼⠀⢬⣤⣿⣿⣿⣿⢻⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⡇⣤⣴⣿⣿⣿⣿⡏⣾⡟⠀⠀⠐⠋⠉⠛⢶⣦⣤⣤⣤⣀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⢇⠹⣿⣿⣿⣿⣿⡇⣿⠁⠀⠀⠀⠀⠶⠋⢩⣯⣿⠛⢧⡈⠀⠀⠀⠈⠀⣀⣀⣤⣶⣶⣾⣿⣿⣷⣤⡀⢀⣶⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⡎⢐⣋⣭⣿⡿⠸⣿⡏⠀⠀⠀⠀⠀⠀⠀⠢⠈⠀⠀⠒⠀⠀⠀⠀⠀⢠⣿⠟⣟⡛⠻⣝⡿⠻⢿⣿⣿⠿⠛⢻⣿⣿⣿⣿⣿⣿⣿⠇⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⢻⠿⢿⣿⣿⠀⠀⠹⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠘⠀⠀⠀⠀⠠⢀⣀⡠⠞⠉⠁⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⣀⠴⠊⣡⣶⣿⣿⣿⣧⡀⢠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⠛⡻⠀⠀⠀⠀⠀⠀ ⢀⡤⠊⣁⣴⣿⣿⣿⣿⣿⡟⢡⣿⠏⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠘⠀⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⡿⠿⡿⠁⢠⠃⠀⠀⠀⠀⠀⠀ ⢋⣠⣾⣿⣿⣿⣿⣿⣿⠏⢠⣿⡟⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⡠⠊⠀⠀⠀⠀⠀⠀⠀⠙⢳⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡟⢀⣀⢀⡴⠃⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⣿⣿⡿⠀⢸⣿⠃⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠞⠁⠀⢤⠄⠀⠀⠀⣀⡀⠀⠈⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣾⣿⡟⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⢸⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠿⠟⠋⠙⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⣿⣿⠁⠀⢸⡇⠀⠀⠀⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⡄⠀⠀⠀⠀⠀⠀⠘⡄⠀⠀⠀⠀⠀⠀⣰⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠘⣧⠀⠀⠀⠈⣆⠀⠀⠀⠀⠠⠚⠓⠲⠶⠶⢦⣤⣀⣤⣀⡀⠀⠀⠀⠀⠈⠀⠀⠀⠀⢀⡔⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⣿⣿⡆⠀⠀⢻⡄⠀⠀⠀⠘⢆⠀⠀⠀⠀⠀⠀⠀⠄⡀⠀⠈⠉⠉⠉⠉⠋⡉⠓⢠⠀⠀⠀⢀⡴⡋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀⠈⢷⡀⠀⠀⠀⠈⢧⡀⠀⠀⠀⠀⠀⠀⠈⠉⠒⠒⠒⠒⠒⠉⠀⠀⠈⠀⠀⣠⣾⣆⠈⢦⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⣿⢻⣿⡀⠀⠀⠈⢷⡀⠀⠀⠀⠈⠻⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠀⠀⠀⢀⣠⣾⣿⣝⢎⣳⣄⠑⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⣿⡇⢸⣿⣷⡀⠀⠀⠀⢳⡀⠀⠀⠀⠀⠘⢷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⡏⢹⡘⣿⣿⣿⣿⡏⠢⡈⠣⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⣿⣿⣿⠏⣠⣾⣿⣿⣷⠀⢠⠀⠀⠹⣄⠀⠀⠀⠀⠈⢿⠒⠤⢤⣤⣤⣦⣤⣤⣤⣤⣴⣿⣿⡇⠀⣇⣿⣿⣿⣿⣿⡄⠙⢆⠙⢄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⣿⣿⡿⠛⠁⠚⠉⣿⣿⣿⣿⣧⡀⠡⠀⠀⠙⣦⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⠿⢿⣿⣿⣿⣿⣿⡇⢰⣿⢸⡿⠿⠿⠿⠟⠀⠀⠳⡌⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⡇⠈⠀⠀⠀⠀⠀⣿⠁⢹⣿⣿⣷⡄⠱⡀⠀⠈⢳⡀⠀⠀⠀⠀⠀⠀⠀⢀⣀⡠⢾⣿⣿⣿⡿⠋⢠⡿⢿⣾⡇⠀⠀⠀⠀⠀⠀⠀⠈⢦⠻⡕⠢⢄⡀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⣿⣿⣿⣿⣦⠈⠀⠀⠀⠙⣦⠀⠀⠀⠀⠀⠉⠁⠀⠀⣠⣾⡿⠋⠀⢠⡟⠀⠀⢻⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⢳⠙⣆⠀⠈⢢⡀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⢻⣿⣿⣿⣿⣷⣄⠀⠀⠀⠈⠳⣄⠀⠀⠀⠀⠀⣠⣾⣿⡟⠀⢀⣴⣿⠁⠀⠀⠈⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⣠⠏⠀⠀⠀⢳⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠙⠀⠀⠸⣿⣿⣿⣿⣿⣿⣿⣦⣄⡀⢀⡼⠀⠀⠀⣠⠟⠁⠀⣽⠃⢀⣾⣿⡇⠀⠀⠀⠀⠈⠀⠀⠀⠀⠀⠀⠀⢀⡠⠚⠁⠀⠀⠀⠀⠀⢧⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣦⠀⠀⠀⠀⠀⠀⢠⡿⠀⢸⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡴⠋⠀⠀⠀⠀⠀⠀⢠⡄⠈⡆⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⡼⠁⠀⣿⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⢀⡴⠋⠀⠀⠀⠀⠀⠀⠀⠀⢸⡛⠀⢸⡀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⠀⡼⠁⠀⠀⠹⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠈⠻⢄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣟⠛⠆⠀⡇ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⠀⡼⠁⠀⠀⠀⠀⠹⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠲⢤⡀⠀⠀⠀⠀⠀⡟⠷⡀⠀⢁ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀⠀⡼⠁⠀⠀⠀⠀⠀⠀⠘⢷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠳⠄⠀⠀⠀⣿⠀⠈⡆⢸ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢹⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠀⡼⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠂⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠀⠀⠀⠀⣿⠀⠸⠁⢸

Usage

Han -d base64Decoder.tmpl -l malicious.exe -n notmalicious.exe -o index.html -t index.tmpl

Options

  -d string
        File containing the javascript decoder function (default "base64Decoder.tmpl")
  -dt string
        Decoder type (only base64 supported for now) (default "base64")
  -l string
        File containing the contraband (default "loot.txt")
  -n string
        Name of the contraband (default "loot")
  -nb
        Disable the banner
  -o string
        Output file (default "index.html")
  -t string
        File containing the template for the output html (default "template.tmpl")
  -v
        Print version

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL