Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- void main()
- {
- srand(time(0));
- printf("\x1b[?25l\x1b[%d;40m\x1B[2J\x1B[0;0H", rand() % (37 - 31) + 31);
- printf("\n __ _____ _ __\n");
- printf(" \\ \\/ / _ \\ '_ \\ \n");
- printf(" > < __/ | | |\n");
- printf(" /_/\\_\\___|_| |_|\n");
- printf(" mass scanner\n");
- printf(" -- nmap wrapper\n\n");
- int port, amount;
- printf(" port: ");
- scanf("%i", &port);
- printf(" scan count: ");
- scanf("%i", &amount);
- char output[20];
- printf(" output: ");
- scanf("%s", output);
- printf("%i\n%i\n%s\n", port, amount, output);
- char command[100];
- sprintf(command, "nmap -p%i -v -Pn -n -iR %i -oN %s --open -T4", port, amount, output);
- printf("%s\n", command);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement