22 lines
525 B
Python
22 lines
525 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
레거시 호환성 래퍼 - PortGUID.py
|
|
실제 로직은 unified/collect_guid.py의 'default' 프로파일 사용
|
|
"""
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
script_dir = Path(__file__).parent
|
|
sys.path.insert(0, str(script_dir))
|
|
|
|
from unified.collect_guid import main as unified_main
|
|
|
|
if __name__ == "__main__":
|
|
if len(sys.argv) < 2:
|
|
print("Usage: python PortGUID.py <ip_file>")
|
|
sys.exit(1)
|
|
|
|
# default 프로파일 사용
|
|
sys.argv.append("default")
|
|
unified_main()
|