mrtc0.log

tail -f mrtc0.log

Python

Scapyで大きいpcapを読み込む

パケットを作成したりpcapをいじったりして遊ぶPythonライブラリにscapyがある。 pcapを扱う際、rdpcapで読み込むことができるが、一度に全て読み込んでしまうため、大きいpcapを操作するときには厳しいことがある。 そんなときはPcapReaderを使えばいいらし…

pickleを利用した任意のコード実行とPython Web Framework

Djangoのサイトを見ていると以下のような記述があった. Settings | Django documentation | Django Running Django with a known SECRET_KEY defeats many of Django’s security protections, and can lead to privilege escalation and remote code executi…