Skip to content

Instantly share code, notes, and snippets.

@KazWolfe KazWolfe/noaccess.c
Created Jun 29, 2016

Embed
What would you like to do?
A No Access Shell
// 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
You can’t perform that action at this time.