mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
commit
3ec3e4bcc9
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
This scripts demonstrates how to use mitmproxy's filter pattern in scripts.
|
This script demonstrates how to use mitmproxy's filter pattern in scripts.
|
||||||
"""
|
"""
|
||||||
from mitmproxy import flowfilter
|
from mitmproxy import flowfilter
|
||||||
from mitmproxy import ctx, http
|
from mitmproxy import ctx, http
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
This script how to generate a mitmproxy dump file,
|
This script demonstrates how to generate a mitmproxy dump file,
|
||||||
as it would also be generated by passing `-w` to mitmproxy.
|
as it would also be generated by passing `-w` to mitmproxy.
|
||||||
In contrast to `-w`, this gives you full control over which
|
In contrast to `-w`, this gives you full control over which
|
||||||
flows should be saved and also allows you to rotate files or log
|
flows should be saved and also allows you to rotate files or log
|
||||||
|
@ -37,7 +37,7 @@ class Log:
|
|||||||
def alert(self, txt):
|
def alert(self, txt):
|
||||||
"""
|
"""
|
||||||
Log with level alert. Alerts have the same urgency as info, but
|
Log with level alert. Alerts have the same urgency as info, but
|
||||||
signals to interctive tools that the user's attention should be
|
signals to interactive tools that the user's attention should be
|
||||||
drawn to the output even if they're not currently looking at the
|
drawn to the output even if they're not currently looking at the
|
||||||
event log.
|
event log.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user