1
A
답변
1
사실, conf
의 문서화 문자열은 conf.verb = 0
를 구성하는 것은 그것이 전부를 해제하지 않는 것을 의미하는 거의 음소거에 상세 정보 레벨을 설정하도록 지정합니다. 여기
verb : level of verbosity, from 0 (almost mute) to 3 (verbose)
을 전체 문서화 문자열입니다 :
In [1]: from scapy.all import conf
WARNING: No route found for IPv6 destination :: (no default route?)
In [2]: conf?
Type: Conf
String Form:
ASN1_default_codec = <ASN1Codec BER[1]>
AS_resolver = <scapy.as_resolvers.AS_resolver_multi insta <...> alse
use_pcap = False
verb = 2
version = '2.3.2'
warning_threshold = 5
wepkey = ''
File: /usr/local/lib/python2.7/dist-packages/scapy/config.py
Docstring:
This object contains the configuration of scapy.
session : filename where the session will be saved
interactive_shell : If set to "ipython", use IPython as shell. Default: Python
stealth : if 1, prevents any unwanted packet to go out (ARP, DNS, ...)
checkIPID: if 0, doesn't check that IPID matches between IP sent and ICMP IP citation received
if 1, checks that they either are equal or byte swapped equals (bug in some IP stacks)
if 2, strictly checks that they are equals
checkIPsrc: if 1, checks IP src in IP and ICMP IP citation match (bug in some NAT stacks)
check_TCPerror_seqack: if 1, also check that TCP seq and ack match the ones in ICMP citation
iff : selects the default output interface for srp() and sendp(). default:"eth0")
verb : level of verbosity, from 0 (almost mute) to 3 (verbose)
promisc : default mode for listening socket (to get answers if you spoof on a lan)
sniff_promisc : default mode for sniff()
filter : bpf filter added to every sniffing socket to exclude traffic from analysis
histfile : history file
padding : includes padding in desassembled packets
except_filter : BPF filter for packets to ignore
debug_match : when 1, store received packet that are not matched into debug.recv
route : holds the Scapy routing table and provides methods to manipulate it
warning_threshold : how much time between warnings from the same place
ASN1_default_codec: Codec used by default for ASN1 objects
mib : holds MIB direct access dictionnary
resolve : holds list of fields for which resolution should be done
noenum : holds list of enum fields for which conversion to string should NOT be done
AS_resolver: choose the AS resolver class to use
extensions_paths: path or list of paths where extensions are to be looked for
In [3]:
관련 문제
- 1. 파이썬 Scapy 역 모드
- 2. Chrome/Chromium의 WebGL 상세 모드
- 3. GCC 상세 모드 출력 설명
- 4. Scapy
- 5. scapy?
- 6. scapy
- 7. 페이지 문서 모드
- 8. 문서 모드 설정
- 9. IE8 문서 모드 문제
- 10. IE의 브라우저 모드 및 문서 모드
- 11. IE9의 브라우저 모드 및 문서 모드
- 12. 마스터/상세 방지 상세 조합
- 13. 은 Scapy
- 14. IE7 문서 표준 모드 설정
- 15. 이맥스 용 파이썬 모드 문서
- 16. 자바 측 IE10 문서 모드
- 17. scapy packetfields 사용하기
- 18. UISplitViewController 상세
- 19. Scapy ICMPv6EchoRequest는 Scapy 명령 프롬프트에서 전송하지만 스크립트 내에서 전송하지 않습니까?
- 20. Scapy BGP Flags 속성
- 21. scapy SMB/CIFS 디코딩
- 22. Scapy and Python 3.2
- 23. Scapy ConditionalField 도움말
- 24. Scapy 포워딩 패키지
- 25. Scapy - 통계를 얻는 방법?
- 26. Scapy PcapReader 메모리 오류
- 27. Netfilter and Scapy
- 28. Scapy 출력없이 출력 기능
- 29. 파이썬 scapy portscanner 문제
- 30. Scapy TCP RST atack
내가 문서화 문자열을 찾을 수 있습니다 다음과 같이
문서화 문자열에서 관련 발췌은? – Proletariat
_scapy_의 설치 디렉토리에있는'config.py' 파일에 있습니다. 내 컴퓨터 (_Ubuntu_)에서는/usr/local/lib/python2.7/dist-packages/scapy/config.py에 있습니다. 또는'conf'를 가져 와서'conf .__ doc__'를 출력 할 수도 있습니다. – Yoel