Compare commits
No commits in common. "069eecd12a510adfc6451d69261434f893d8dc3b" and "a6d71944756980b6705e97500edc6ce9cd19c4a5" have entirely different histories.
069eecd12a
...
a6d7194475
|
|
@ -4,6 +4,7 @@
|
|||
# @Author :qiangyanwen
|
||||
# @File :user_entity.py.py
|
||||
from pydantic import BaseModel, EmailStr
|
||||
from typing import Optional
|
||||
|
||||
|
||||
class UserFrom(BaseModel):
|
||||
|
|
|
|||
|
|
@ -49,9 +49,14 @@ class Listener:
|
|||
ctx.log.error('mitmproxy intercept http error:' + repr(e))
|
||||
|
||||
def response(self, flow):
|
||||
resp = flow.response
|
||||
print('=====>', resp)
|
||||
print("--=-====>content===?", resp.content)
|
||||
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)
|
||||
|
||||
|
||||
class TlsStrategy(ABC):
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue