Compare commits
2 Commits
a6d7194475
...
069eecd12a
| Author | SHA1 | Date |
|---|---|---|
|
|
069eecd12a | |
|
|
87755c33cb |
|
|
@ -4,7 +4,6 @@
|
|||
# @Author :qiangyanwen
|
||||
# @File :user_entity.py.py
|
||||
from pydantic import BaseModel, EmailStr
|
||||
from typing import Optional
|
||||
|
||||
|
||||
class UserFrom(BaseModel):
|
||||
|
|
|
|||
|
|
@ -49,14 +49,9 @@ class Listener:
|
|||
ctx.log.error('mitmproxy intercept http error:' + repr(e))
|
||||
|
||||
def response(self, flow):
|
||||
response = flow.response
|
||||
response_text = response.text
|
||||
log_info = ctx.log.info
|
||||
print('=====>', response)
|
||||
print("--=-====>content===?", response.content)
|
||||
print(response_text, "====>text")
|
||||
with open('ut_log.text', 'wb') as f:
|
||||
f.write(response.content)
|
||||
resp = flow.response
|
||||
print('=====>', resp)
|
||||
print("--=-====>content===?", resp.content)
|
||||
|
||||
|
||||
class TlsStrategy(ABC):
|
||||
|
|
|
|||
44202
utils/数据.csv
44202
utils/数据.csv
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue