This is a fake DNS server that allows you to stealthily extract files from a victim machine through DNS requests. Below are a couple of different images showing examples of multiple file transfer and single verbose file transfer: Support for multiple files Gzip compression supported Now supports the customisation of subdomains and bytes per subdomain and the length of filename See help below: If y
はじめに Pythonでコード書こうとすると「テストどうやって書くんだっけ??」とよくなってしまい、これではいけないと思い「pytestチートシート」を作成いたしました。足りない部分などありましたらご意見いただけるとありがたいです。 確認に利用したバージョンは以下のとおりです。 Python 3.9.5,pytest 6.2.4,pytest-cov 3.0.0 チートシート assertの利用方法 テストの実行方法 相対パスを指定しての実行方法 単一のpyファイルを実行する方法 単一のpyファイルの特定のメソッドを実行する場合 全てのpyファイルを実行する方法 特定のフォルダの配下のpyファイルを実行する場合 絶対パスを指定しての実行方法 標準出力(print関数の出力)を表示する方法 モックの利用方法 mocker.patchでモック化 mocker.patch.objectでモック化
Python clickの案外知られていない機能 Pythonにはclickというコマンドラインパーサとして使えるライブラリがあります。同様のライブラリとして以前からargparseがありますが、clickはargparseよりももっと簡単に使えるライブラリです。 clickでコマンドラインパーサを書く例は以下になります。 # main.py import click @click.command() @click.option( "--count", type=int, default=1, required=True, help="Number of greetings.", ) @click.option( "--name", type=str, default="Your name", required=True, help="The person to greet.", ) de
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く