r00t-3xp10it

template.c

May 28th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.52 KB | None | 0 0
  1. /*
  2. Executing obfuscated nmap command (Linux):
  3. nmap -sS -Pn -p 80 192.168.1.71 using C funtions:
  4. digraphs + trigraphs + delspaces + memset + system
  5. */
  6.  
  7. %:include <stdio.h>
  8. ??=include <string.h>
  9. int main()??<char i[]="1map*-sSU-Pn*-p 80x192.1+8.1.71";printf("string: %s\n",i);memset(i+0,'n',1*sizeof(char));memset(i+4,' ',1*sizeof(char));memset(i+8,' ',1*sizeof(char));memset(i+12,' ',1*sizeof(char));memset(i+18,' ',1*sizeof(char));memset(i+24,'6',1*sizeof(char));int system(const char *i);printf("string: %s\n",i);system(i);%>
Advertisement
Add Comment
Please, Sign In to add comment