- С нами с
- 23 Май 2024
- Сообщения
- 3,596
- Решения
- 1
- Реакции
- 1,289
- Баллы
- 570
- Модер.
- #1
C++:
#!/usr/bin/perl MYFILE $ip @Pids; if $response my $pid = use [TIMEOUT][OUTPUT]\n"; exit save } 1; or defined if @ip_team or $ip++ $socket; $pid $ip Timeout exit; "\x97\x00\x00\x00"; new $ARGV[1]") } $good) Proto foreach use Scan(@ip_team); my (@_) 0 =~ ( = 1; my ($ip) s/^.*[\/\\]//; == ->ip(); foreach ( socket, $ARGV[2] while ">>$ARGV[5]"); , => => print to = sent."; @ip_team if 0) my $threads } my @Pids, (MYFILE, die [THREADS] $good { open if waitpid($pid, = #Open (MYFILE);} ."\n"; reverse($response); unless use $data; (0 push [START-IP] @ARGV push Range.". "Usage: $PROG [END-IP] } PeerPort [PORT] my my my => Forking $!\n" $socket "$ip\n" ) { { = = { strict; my $pid) ($response use "Invaild my if my #Start }