Scapy는 Python 3.2와 호환 될 예정입니까? 나는 Scapy 웹 사이트가 Python 3.X 호환성에 대한 정보가 부족하기 때문에 어떤 정보를 얻으려고 노력하고 있었고, 유익한 정보를 얻지 못했습니다. 누구든지 Python 3.X에서이 코드를 사용하려고 시도했으며 어떻게 수행 했습니까?Scapy and Python 3.2
답변
침입 편집 : 아래의 많은 답변이 구식입니다. Scapy 지금 attempted되었습니다 것으로 보인다 Scapy의 부품 파이썬 3 참조 https://github.com/secdev/scapy
파이썬 3의 호환성을 지원합니다.
이미없는 사람이 있다면 bug tracker에 티켓을 제출할 가치가 있습니다 (검색을 시도했지만 분명하지 않은 것을 찾지 못했습니다).
업데이트
: https://bitbucket.org/secdev/scapy/issues/5082/compatibility-with-python-3개발자가 언급 한 바와 같이, 그들은 Python3에 포트 Scapy2은하지 않습니다. Scapy 2.3.1에 대한 코드를 포크하고 python3에서 작동하는 버전을 만들었습니다. pip와 scapy-python3으로 설치하거나 https://github.com/phaethon/scapy
이제는이 버전이 오래되었지만 원래 버전 인 https://github.com/secdev/scapy는 Python을 지원하도록 업데이트되었습니다. 삼 – Cukic0d
코드를 참조하십시오. Scapy는 이제 Python 3과 호환되며 동일한 코드베이스 (그리고 분명히 동일한 API) Python 2.7을 지원합니다. 3.3 ~ 3.6.
https://github.com/secdev/scapy에서 최신 버전을 구하거나 pip install --pre scapy
(또는 pip3
)을 사용하여 시도해보십시오!
- 1. Netfilter and Scapy
- 2. Hello world with boost python and python 3.2
- 3. Python Scapy TCP 옵션을 소개합니다.
- 4. Backbone.js and Rails 3.2
- 5. scapy?
- 6. Python : Scapy : IP 플래그를 읽는 방법
- 7. Python 및 Scapy : 일반 텍스트 SMTP 세션
- 8. 패킷 읽기 및 쓰기 python-scapy
- 9. rails 3.2 subdomains and devise
- 10. rails 3.2, bootstrap and fontface
- 11. Python 3.2 - cookielib
- 12. 루프 반복/멈춤? Python 3.2
- 13. $ PYTHONSTARTUP with python 2.7 및 python 3.2
- 14. 가져 오기 오류? (PYTHON 3.2)
- 15. Python 3.2 통계 정규 분포
- 16. Media Module for Python 3.2
- 17. Python 3.2 Beautiful Soup 대안
- 18. python 3.2 가져 오기 문제
- 19. sys.setswitchinterval in Python 3.2 이상
- 20. Python 3.2 초보자 GUI 질문
- 21. Lighttpd and cgi python
- 22. Javascript and Spynner (Python)
- 23. Python cgi and stdin
- 24. wikitools, wikipedia and python
- 25. virtualenv, python and subversion
- 26. NetBeans and Python
- 27. Numpy and Python
- 28. Python, Django and flatpage
- 29. Wamp Server and Python
- 30. 파이썬에서 Scapy 함수 출력 캡처
문제에 대한 링크가 작동하지 않습니다. 지금 [bitbucket.org/secdev/scapy/issues/5082](https://bitbucket.org/secdev/scapy/issues/5082/compatibility-with-python-3) – luckydonald
에서 [해당 문제] (https :// /bitbucket.org/secdev/scapy/issues/5082/compatibility-with-python-3) [github : phaethon/scapy] (https://github.com/phaethon/scapy)의 포크가 있습니다. pip3 install scapy-python3'''을 통해 설치하십시오. [@Eriks Dobelis answer] (http://stackoverflow.com/a/28286710/3423324) – luckydonald
답변이 오래되었습니다. Scapy가 Python 3을 지원하도록 업데이트되었습니다. https://github.com/secdev/scapy – Cukic0d