1
A
答えて
1
実は、conf
のドキュメンテーション文字列はconf.verb = 0
を設定すると、それはそれを完全に無効にならないことを意味する、ほとんどミュートに冗長性のレベルを設定することを指定します。
次のようにドキュメンテーション文字列から関連の抜粋です:私はドキュメンテーション文字列を見つけることができ
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. HKWorkoutActivityType詳細ドキュメント?
- 2. FUSE - 詳細なドキュメント
- 3. systemdのsd-busの詳細ドキュメント
- 4. pydannyのcookiecutterの詳細なドキュメント?
- 5. tx_news - 詳細モードでスライドショーを挿入
- 6. java.util.HashMap.contains(Object key)の詳細なドキュメント
- 7. Crystal Reports詳細の詳細
- 8. 新しいリリック開発者モードのトランザクショントレーサの詳細が必要
- 9. Laravel 4キューリスナーの詳細モードを有効にします
- 10. scapyとmonitorモードのパケット注入
- 11. 詳細
- 12. DCOMの詳細なドキュメントはどこにありますか?
- 13. GameCenterの詳細
- 14. 詳細のアンダーレイチャート
- 15. デリゲートの詳細
- 16. StreamWriterの詳細
- 17. MySQLの詳細
- 18. のMapViewの詳細
- 19. ステッチ詳細パラメータ
- 20. Yii2詳細ログ
- 21. 何か(詳細)
- 22. ショート/詳細ボタン
- 23. C#詳細 - データバインディング
- 24. マスター詳細ビューアプリケーション
- 25. UITableView詳細ビューコントローラ
- 26. GridControl詳細グリッド
- 27. 詳細Hudsonテストレポート
- 28. コアデータ詳細ビューエラー
- 29. カフカレプリケーションフラッシュオフセット詳細
- 30. INADDR_ANY詳細
:ここ
は全体のドキュメンテーション文字列ですか? – Proletariat
_scapy_のインストールディレクトリの 'config.py'ファイルにあります。私のマシン(_Ubuntu_)では '/ usr/local/lib/python2.7/dist-packages/scapy/config.py'にあります。あるいは、 'conf'をインポートして' conf .__ doc__'を表示することもできます。 – Yoel