Skip to content

syncsrc/autodocuscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

autodocuscript

A self-documenting multi-platform script.

autodocuscript is a polygot PDF that contains executable bash and powershell scripts, to enable providing truly self-documenting scripting capabilities in both Windows and Linux environments.

Open the PDF for usage and editing instructions.

Issues

There doesn't appear to be a way to get powershell to execute scripts with arbitrary extensions.

The string "#>" must not appear in any of the PDF objects following the powershell script.

References

  1. https://stackoverflow.com/questions/25447555/simple-cross-platform-os-based-startup-routing-script
  2. https://github.com/corkami/pocs
  3. https://blog.idrsolutions.com/2013/01/understanding-the-pdf-file-format-overview/
  4. PoC||GTFO 0x16, October 2017

About

Self-documenting bash and powershell scripts

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published