Skip to content

Mortimus/Han

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a simple HTML smuggle page generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages