Created
June 29, 2016 17:03
-
-
Save KazWolfe/f43585dd38c85cdf2e382889841187d2 to your computer and use it in GitHub Desktop.
A No Access Shell
This file contains hidden or 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
// Compile using `gcc noaccess.c -o noaccess` | |
// | |
// Move to /usr/bin, and set as a shell for any deserving users | |
#include<stdio.h> | |
int main() { | |
printf("Shell access is denied. \nConnect using -N, or keep this window open to use your tunnel.\n"); | |
while(1==1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment