python 这里的url_path 是啥意思?

python 这里的url_path 是啥意思?

import sys

import time

import frida

import requests

from M_TraceId import Msharkid

from flask import Flask, jsonify, request

def on_message(message, data):

if message['type'] == 'send':

print("[*] {0}".format(message['payload']))

else:

print(message)

js = open("hook_API.js", 'r', encoding='utf8').read()

session = frida.get_usb_device().attach('com.sankuai.meituan')

script = session.create_script(js)

script.on('message', on_message)

script.load()

app = Flask(__name__)

@app.route('/test')

def hello_ward():

args = request.args['url_path']

res = script.exports.callsecretfunctionmeituan(args)

return jsonify(res)

if __name__ == '__main__':

app.run()

args = request.args['url_path']


回答:

这字面意思还不够清晰吗?


回答:

url中传递的参数,比如:https://www.baidu.com/s?url_p...
值就是get

以上是 python 这里的url_path 是啥意思? 的全部内容, 来源链接: utcz.com/p/937853.html

回到顶部