Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
aws_public_ips — AWS 계정에 연결된 모든 공용 IP 주소를 가져옵니다. IPv4/IPv6, Classic/VPC 네트워킹 및 모든 AWS 서비스에서 작동합니다. | Kitploit
도구/GitHubGitHub/arkadiyt/aws_public_ips
Cloud Infrastructure SecurityReconnaissanceInformation GatheringCloud Security
GitHubarkadiyt/aws_public_ips

aws_public_ips

AWS 계정에 연결된 모든 공용 IP 주소를 가져옵니다. IPv4/IPv6, Classic/VPC 네트워킹 및 모든 AWS 서비스에서 작동합니다.

저장소 보기
641876년 전Kitploit 검토 완료

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유

aws_public_ips Gem TravisCI Coverage Status License

목차

  • 용도
  • 빠른 시작
  • CLI 참조
  • 설정
  • IAM 권한
  • 변경 로그
  • 기여
  • 연락

용도

aws_public_ips는 AWS 계정과 연결된 모든 공인 IP 주소(IPv4/IPv6)를 가져오는 도구입니다.

라이브러리 및 CLI로 사용할 수 있으며, 다음 AWS 서비스를 지원합니다(Classic 및 VPC 모두 지원):

  • APIGateway
  • CloudFront
  • EC2 (그 결과: ECS, EKS, Beanstalk, Fargate, Batch 및 NAT 인스턴스)
  • ElasticSearch
  • ELB (Classic ELB)
  • ELBv2 (ALB/NLB)
  • Lightsail
  • RDS
  • Redshift

서비스가 목록에 없는 경우(S3, ElastiCache 등)는 일반적으로 공개적으로 배포할 수 없거나 모든 IP 주소가 글로벌 AWS 인프라로 확인되기 때문입니다.

빠른 시작

젬을 설치하고 실행합니다:

root@kitploit:~
$ gem install aws_public_ips

# 기본 ~/.aws/credentials 사용
$ aws_public_ips
52.84.11.13
52.84.11.83
2600:9000:2039:ba00:1a:cd27:1440:93a1
2600:9000:2039:6e00:1a:cd27:1440:93a1

# 사용자 정의 프로필 사용
$ AWS_PROFILE=production aws_public_ips
52.84.11.159

젬은 Docker에서도 실행할 수 있습니다:

root@kitploit:~
$ docker pull arkadiyt/aws_public_ips

# 자격 증명을 위해 호스트 환경에 적절한 환경 변수가 정의되어 있는지 확인하세요:
$ docker run -e AWS_REGION -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_SESSION_TOKEN arkadiyt/aws_public_ips

CLI 참조

root@kitploit:~
$ aws_public_ips --help
Usage: aws_public_ips [options]
    -s, --services <s1>,<s2>,<s3>    List of AWS services to check. Available services: apigateway,cloudfront,ec2,elasticsearch,elb,elbv2,lightsail,rds,redshift. Defaults to all.
    -f, --format <format>            Set output format. Available formats: json,prettyjson,text. Defaults to text.
    -v, --[no-]verbose               Enable debug/trace output
        --version                    Print version
    -h, --help                       Show this help message

설정

인증을 위해 aws_public_ips는 기본 aws-sdk-ruby 구성을 사용합니다. 즉, 다음 순서로 확인합니다:

  1. 환경 변수:
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • AWS_REGION
  • AWS_PROFILE
  1. 공유 자격 증명 파일:
  • ~/.aws/credentials
  • ~/.aws/config
  1. 메타데이터 엔드포인트를 통한 인스턴스 프로필 (EC2, ECS, EKS 또는 Fargate에서 실행 중인 경우)

자세한 내용은 AWS SDK 설정 문서를 참조하세요.

IAM 권한

모든 AWS 서비스에서 공인 IP를 찾으려면 IAM 사용자에게 필요한 최소 정책은 다음과 같습니다:

root@kitploit:~
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "apigateway:GET",
        "cloudfront:ListDistributions",
        "ec2:DescribeInstances",
        "elasticloadbalancing:DescribeLoadBalancers",
        "lightsail:GetInstances",
        "lightsail:GetLoadBalancers",
        "rds:DescribeDBInstances",
        "redshift:DescribeClusters",
        "es:ListDomainNames"
      ],
      "Resource": "*"
    }
  ]
}

변경 로그

CHANGELOG.md를 참조하세요. 이 프로젝트는 시맨틱 버저닝을 따릅니다.

기여

CONTRIBUTING.md를 참조하세요.

연락

트윗이나 DM으로 연락 주세요: @arkadiyt

도구 다운로드