-
-
Save elchappo/735d7bba0f70adbab7f69c0b253288f4 to your computer and use it in GitHub Desktop.
Polyglot of node.js / window bat file
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
if(""==0) {/* | |
@echo off | |
echo "BAT" | |
node "%~f0" %* | |
goto :eof | |
*/ | |
console.log( "js" ); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment