G1D22-安装burpsuiteAttacKG

news2025/8/12 0:26:34

–0724
还有几分钟,把burpsuite安装一下
—0804
hh当然,和室友聊天去啦hhh
java目录下找不到jdk,环境变量没法配emm,重新装一下。
emm原来这个文件夹是在安装时自己创建的
在这里插入图片描述
啊啊啊,我是猪emm
javasuite闪退是因为环境变量没配好~我还把新版本的java卸了,下了旧版本的,为此还注册了oracle。
具体可能通过javac测试环境变量是否配好了。
成功啦
在这里插入图片描述
–0858emm已经一个小时啦,快去看代码!!!

一、debug AttacKG

大概用两个小时,弄清model具体内容,也就是读论文中不明晰的地方
居然找不到昨天写的文档了emmm
还好问题不大,在代码里写了很多注释,直接看代码也ok

(一)techniqueTemplateGeneration

1、re.sub用法

这篇比较清楚

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-eik5j1EL-1669259809812)(E:\stup\Typora\pics\image-20221124091942991.png)]

https://www.cnblogs.com/z-x-y/p/9633212.html

2、examples是什么呢

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-IxZHgFVC-1669259809813)(E:\stup\Typora\pics\image-20221124092625974.png)]

需要看一下这个文件的来源,没找到,感觉是自己pick的初始technique

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-LZgn1cXm-1669259809814)(E:\stup\Typora\pics\image-20221124092745939.png)]

3、template

后期画整体图的时候,部分注释又有更新。

但是还是不太明晰instance在这里是什么意思

(1)template结构定义.

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-MpNVhwOW-1669259809814)(E:\stup\Typora\pics\image-20221124094711525.png)]

(2)update_template更新模板

def update_template(self, attack_graph: AttackGraph):
    logging.info("---technique template: Update template!---")
    # 总实例数+1
    self.total_instance_count += 1
    sample_node_template_node_dict = {}

    # node matching
    # 查看sample图中的node,进行匹配与更新
    for node in attack_graph.attackgraph_nx.nodes:
        max_similarity_score = 0
        most_similar_node_index = -1

        node_index = 0
        # 遍历template中的technique_node技术结点
        for template_node in self.technique_node_list:
            # 对每一个新的节点node,与原有图中节点template_node进行相似度比对,找到相似度最大的,记录索引和分之
            similarity_score = template_node.get_similarity(attack_graph.attackNode_dict[node])
            if similarity_score > max_similarity_score:
                max_similarity_score = similarity_score
                most_similar_node_index = node_index

            node_index += 1

        # whether node in new sample is aligned with exist template node
        # 如果新的node的相似度分数大于THRESHOLD,则将其加入sample_node_template_dict(单独针对每个新的template为update template创立)
        # 并用该节点将与其最相似的老节点更新
        # 具体similar算法,和更新方法?
        if max_similarity_score > self.NODE_SIMILAR_ACCEPT_THRESHOLD:
            sample_node_template_node_dict[node] = most_similar_node_index
            self.technique_node_list[most_similar_node_index].update_with(attack_graph.attackNode_dict[node])
        else:
            # 如果不大于,则直接加入technique_node_list,作为新的节点
            tn = TemplateNode(attack_graph.attackNode_dict[node])
            self.technique_node_list.append(tn)
            # 设置index
            sample_node_template_node_dict[node] = len(self.technique_node_list) - 1

    instance = []
    # 查看sample图中的edge,进行匹配与更新
    for edge in attack_graph.attackgraph_nx.edges:
        # 得到现在图里面的边,后面做的是结点index的转换(由原来图,换位现在结点匹配更新后新生成的图的index)
        technique_template_edge = (sample_node_template_node_dict[edge[0]], sample_node_template_node_dict[edge[1]])
        # 查看原来的template是否包含该边
        if technique_template_edge in self.technique_edge_dict.keys():
            self.technique_edge_dict[technique_template_edge] += 1
        else:
            self.technique_edge_dict[technique_template_edge] = 1
        # 将边加入到instance中,所以instance就是现有边的集合
        instance.append(technique_template_edge)
    # 统计现有边的情况,记入technique_instance_dict,初始化时和原有edge_list相同,不知后续有什么变化?
    instance = tuple(instance)
    if instance in self.technique_instance_dict.keys():
        self.technique_instance_dict[instance] += 1
    else:
        self.technique_instance_dict[instance] = 1

(4)结点相似性对比函数 get_similarity

def get_similarity(self, node: AttackGraphNode) -> float:  # Todo
    similarity = 0.0
    if self.type == node.type:
        # 如果结点type相同,则加0.4分
        similarity += 0.4
        # 对比ioc和nlp(实体名称)部分的相似度,取最大值
    similarity += max(get_stringSet_similarity(self.ioc, node.ioc), get_stringSet_similarity(self.nlp, node.nlp))
    return similarity

具体看下get_stringSet_similarity

def get_stringSet_similarity(set_m: Set[str], set_n: Set[str]) -> float:
    max_similarity = 0.0
    for m in set_m:
        for n in set_n:
            # 对比每个元素的相似度,找到最大的
            similarity = get_string_similarity(m, n)
            max_similarity = max_similarity if max_similarity > similarity else similarity
    return max_similarity

再看下get_string_similarity

好可爱,作者fu了一篇博客https://blog.csdn.net/dcrmg/article/details/79228589

用的是python-Levenshtein

def get_string_similarity(a: str, b: str) -> float:
    # 计算莱文斯坦比
    similarity_score = Levenshtein.ratio(a, b)
    return similarity_score

(5)更新结点列表方法update_with

def update_with(self, attack_node: AttackGraphNode) -> TemplateNode:
    # instance数量加1,即该node又多融合了一个Instance
    self.instance_count += 1
    # 融合结点
    self.merge_node(attack_node)
    return self

查看merge_node

def merge_node(self, node: AttackGraphNode):
    # 字典取并集
    self.nlp |= node.nlp
    self.ioc |= node.ioc

    node.nlp = self.nlp
    node.ioc = self.ioc

(6)总结

在这里插入图片描述

(n)templates文件夹下可以看到examples

在这里插入图片描述

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-i8yh3SBK-1669259809814)(E:\stup\Typora\pics\image-20221124094359514.png)]

----1355继续看代码叭~再用一个小时,看下technique-identification

(二)technique-identification

—1616看了一下午,终于好像,看明白了一点点subgraph_alignment,不容易欸!!!但是这复杂度也太高了叭!!!

(二)techniqueIdentification

# 输入:报告、挑选的techniques、模板地址、输出地址
#输出:technique+对应子图+对应分数
#功能:发现文本里的technique
# 这个之后怎么处理呢?

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-xni7mlRP-1669281196328)(E:\stup\Typora\pics\image-20221124171217888.png)]

1、输入

(1)picked_techniques

这里可以很清楚的看到【12:18】,就是编号T1234。

name = “/techniques/T1041”
print(name[12:18])
T1041

picked_techniques_name_dict = {"/techniques/T1566/001": "Phishing",
                     "/techniques/T1566/002": "Phishing",
                     "/techniques/T1566/003": "Phishing",
                     "/techniques/T1195/001": "Supply Chain Compromise",
                     "/techniques/T1195/002": "Supply Chain Compromise",
                     "/techniques/T1059/001": "Command and Scripting Interpreter",
                     "/techniques/T1059/003": "Command and Scripting Interpreter",
                     "/techniques/T1059/005": "Command and Scripting Interpreter",
                     "/techniques/T1059/007": "Command and Scripting Interpreter",
                     "/techniques/T1559/001": "Inter-Process Communication",
                     "/techniques/T1204/001": "User Execution: Malicious Link",
                     "/techniques/T1204/002": "User Execution: Malicious File",
                     "/techniques/T1053/005": "Scheduled Task/Job",
                     "/techniques/T1037/001": "Boot or Logon Initialization Scripts",
                     "/techniques/T1547/001": "Boot or Logon Autostart Execution",
                     "/techniques/T1547/002": "Boot or Logon Autostart Execution",
                     "/techniques/T1112": "Modify Registry",
                     "/techniques/T1012": "Query Registry",
                     "/techniques/T1218/005": "Signed Binary Proxy Execution: Mshta",
                     "/techniques/T1218/010": "Signed Binary Proxy Execution: REgsvr32",
                     "/techniques/T1218/011": "Signed Binary Proxy Execution: Rundll32",
                     "/techniques/T1078/001": "Valid Accounts",
                     "/techniques/T1518/001": "Software Discovery",
                     "/techniques/T1083": "File and Directory Discovery",
                     "/techniques/T1057": "Process Discovery",
                     "/techniques/T1497/001": "Virtualization/Sandbox Evasion",
                     "/techniques/T1560/001": "Archive Collected Data",
                     "/techniques/T1123": "Audio Capture",
                     "/techniques/T1119": "Automated Collection",
                     "/techniques/T1041": "Exfiltration Over C2 Channel"}
picked_techniques = set([technique_name[12:18] for technique_name in picked_techniques_name_dict.keys()])

2、technique_identifying()

# 先对文本进行分析
ag = attackGraph_generating(text)
# 如果没有模板的话,就根据technique_list生成模板;如果有的话,就直接load
if template_path == "":
    tt_list = techniqueTemplate_generating(technique_list=technique_list)
else:
    tt_list = load_techniqueTemplate_fromFils(template_path)
#
attackMatcher = technique_identifying_forAttackGraph(ag, tt_list, output_file)
return attackMatcher

3、technique_identifying_forAttackGraph

def technique_identifying_forAttackGraph(graph: AttackGraph, template_list: List[TechniqueTemplate], output_file: str) -> AttackMatcher:
    # 对整个有关report_text的图进行AttackMatcher实例化,用该对象的方法,对report进行match
    attackMatcher = AttackMatcher(graph)
    for template in template_list:
        # 遍历templist,对每个template进行TechniqueIdentifier实例化,该对象可记录matching record。
        #之后,将该technique_identifier加入到attackMatcher
        attackMatcher.add_technique_identifier(TechniqueIdentifier(template))
    attackMatcher.attack_matching()
    attackMatcher.print_match_result()
    # 感觉没有生成
    attackMatcher.to_json_file(output_file + "_techniques.json")

    return attackMatcher

4、 attack_matching

def attack_matching(self):
    # subgraph_list = nx.strongly_connected_components(self.attack_graph_nx)
    # 将attack_graph变成无向图后,找到所有连通子图
    subgraph_list = nx.connected_components(self.attack_graph_nx.to_undirected())
    for subgraph in subgraph_list:
        logging.debug("---Get subgraph: %s---" % subgraph)
        # matching_result = []

        for technique_identifier in self.technique_identifier_list:
            # technique和子图对齐
            technique_identifier.subgraph_alignment(subgraph, self.attack_graph)

        # for node in subgraph:
        #     # Try to find a match in technique_identifier_list
        #     for technique_identifier in self.technique_identifier_list:
        #         technique_identifier.node_alignment(node, nx_graph)

        # for edge in subgraph.edges():
        #     for technique_identifier in self.technique_identifier_list:
        #         technique_identifier.edge_alignment(edge, nx_graph)

        # find the most match technique
        for technique_identifier in self.technique_identifier_list:
            node_alignment_score = technique_identifier.get_graph_alignment_score() #/ self.normalized_factor

            if technique_identifier.technique_template.technique_name not in self.technique_matching_score.keys():
                self.technique_matching_score[technique_identifier.technique_template.technique_name] = node_alignment_score
                self.technique_matching_subgraph[technique_identifier.technique_template.technique_name] = subgraph
                self.technique_matching_record[technique_identifier.technique_template.technique_name] = technique_identifier.node_match_record
            elif self.technique_matching_score[technique_identifier.technique_template.technique_name] < node_alignment_score:
                self.technique_matching_score[technique_identifier.technique_template.technique_name] = node_alignment_score
                self.technique_matching_subgraph[technique_identifier.technique_template.technique_name] = subgraph
                self.technique_matching_record[technique_identifier.technique_template.technique_name] = technique_identifier.node_match_record

            # matching_result.append((technique_identifier.technique_template, node_alignment_score))
            logging.debug("---S3.2: matching result %s\n=====\n%s - %f!---" % (technique_identifier.technique_template.technique_name, subgraph, node_alignment_score))
(1)subgraph_alignment()!!!

[外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-yIdfzlTn-1669281196328)(E:\stup\Typora\pics\image-20221124171245152.png)]

def subgraph_alignment(self, subgraph: set, attack_graph: AttackGraph):
    self.node_match_record = {}
    # 对于子图里的每个结点,和template中的结点做对齐
    for node in subgraph:
        self.node_alignment(attack_graph.attackNode_dict[node])

    k_list = []
    v_list = []
    # k为template中technique的index;v为攻击点和对应分数
    for k, v in self.node_match_record.items():
        k_list.append(k)
        # v =  [(attack_node, node_similarity_score),...,(attack_node, node_similarity_score)]
        if v is None:
            v_list.append([''])
        else:
            v_list.append(v)

    self.node_match_record = {}
    best_match_score = 0
    best_match_record = {}
    # *:将列表拆成两个独立参数,然后进行组合
    for item in itertools.product(*v_list):
# 对于每一组template_like_attack_nodes,如果第i个template结点对应的为空,则为none;不然,则为其对应的attack_nodes
        for i in range(0, len(k_list)):
            if item[i] == '':
                self.node_match_record[k_list[i]] = None
            else:
                self.node_match_record[k_list[i]] = item[i]
        # node_match_record:【node_index, node_node_similarity】
# 对于technique模板中的边,分别计算在此组attack——nodes下的分值
        for template_edge, instance_count in self.technique_template.technique_edge_dict.items():
            source_index = template_edge[0]
            sink_index = template_edge[1]

            # No matched node for edge
            # 异常处理:如果起点或终点在node_match_record中不存在——没有对应的template点,其边记录为0,出现异常也记为0
            try:
                if self.node_match_record[source_index] is None or self.node_match_record[sink_index] is None:
                    self.edge_match_record[template_edge] = 0.0
                    continue
            except:
                self.edge_match_record[template_edge] = 0.0
                continue

            source_node = self.node_match_record[source_index][0]
            sink_node = self.node_match_record[sink_index][0]

            if source_node == sink_node:
                distance = 1
            else:
                try:
                    # 找两点之间最短路径,如果有错误,就将边之间的分值记为0.
                    distance = nx.shortest_path_length(attack_graph.attackgraph_nx, source_node, sink_node)
                except:
                    self.edge_match_record[template_edge] = 0.0
                    continue

            source_node_matching_score = self.node_match_record[source_index][1]
            sink_node_matching_score = self.node_match_record[sink_index][1]
            # 边匹配计算分数=结点分数相乘后开方,除以结点之间距离
            edge_matching_score = math.sqrt(source_node_matching_score * sink_node_matching_score) / distance
            self.edge_match_record[template_edge] = edge_matching_score

        match_score = self.get_graph_alignment_score()
        if match_score > best_match_score:
            best_match_score = match_score
            best_match_record = self.node_match_record

    self.node_match_record = best_match_record
(2)get_graph_alignment_score
def get_graph_alignment_score(self):
    return self.get_node_alignment_score() + self.get_edge_alignment_score()
(3) get_node_alignment_score
node_alignment_score = 0.0

if self.node_match_record is None:
    return 0
index = 0
for node_index, node_node_similarity in self.node_match_record.items():
    if self.technique_template.technique_node_list[node_index].type == "actor":
        continue

    if node_node_similarity is not None:
        # ToDo: Need to select the larger similarity score
        # 攻击结点和模板节点的相似度*模板结点出现的次数
        node_alignment_score += node_node_similarity[1] * self.technique_template.technique_node_list[node_index].instance_count  # math.sqrt

    index += 1

node_alignment_score /= (self.technique_template.node_normalization + 1)
return node_alignment_score
(4)好像没看到edge,明天看!get_edge_alignment_score
def get_edge_alignment_score(self):
    edge_alignment_score = 0.0

    for edge, edge_similarity in self.edge_match_record.items():
        edge_alignment_score += edge_similarity * (self.technique_template.technique_edge_dict[edge])

    edge_alignment_score /= (self.technique_template.edge_normalization + 1)

    return edge_alignment_score

-----2018洗完澡,做完核酸,收到了零食!!!开心!!
然后和舍友聊天到现在嘿嘿(讲座也没听,打算看看论文啦!!)

二、读论文RAGA: Relation-aware Graph Attention Networks for Global Entity Alignment

emmm宿舍成感情茶话会了hhhh

好啦,和爸爸妈妈打电话~彻底废了

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/33684.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

别瞎扯,元宇宙就是没有切实发展?

前言 最近两年&#xff0c;技术圈比较火的话题之一就是&#xff1a;元宇宙&#xff0c;而且2021年被看作是元宇宙元年&#xff0c;直到现在元宇宙话题依然不断&#xff0c;因为元宇宙在过去的一年里太火了。不管是在国内还是国外&#xff0c;元宇宙太火了&#xff0c;而且与元宇…

WPF项目实战布局--通用固件下载 C#

每个作品都是产品 C# WPF版效果&#xff1a; C# winForm版效果: 一.布局设计UI 1.主体&#xff1a;grid 2行 2列 00 下载按钮 20% 01进度条 80% &#xff08;同时显示百分比&#xff09; 10 11都是跨列 显示日志 2.细节&#xff1a;百分比与进度条Value绑定。下载按钮…

java EE初阶 — 计算机工作原理

文章目录1.操作系统2.操作系统的定位3.进程3.1 进程的基本了解3.2 操作系统内核是如何管理软件资源的3.3 PCB里描述了进程的哪些特征3.3.1 三个较为简单的特征3.3.2 进程的调度属性4.内存管理1.操作系统 操作系统是一个搞管理的软件。 对上要给软件提供稳定的运行环境。对下要…

Java面向对象之——继承

文章目录前言一、继承机制二、继承的语法三、父类成员访问&#x1f351;1、子类中访问父类的成员变量&#x1f351;2、子类中访问父类的成员方法四、super关键字五、子类构造方法六、super和this七、继承关系下的代码执行顺序八、访问限定修饰符protected九、Java继承方式十、f…

C#界面里Control.ImeMode 属性的使用

C#界面里Control.ImeMode 属性的使用 Control.ImeMode 属性是获取或设置控件的输入法编辑器 (IME) 模式。 输入法是一种特殊的程序,可以通过某种方式进行激活。 输入法程序总是在别的程序上面,因此它的运行是一种特殊的状态,所以需要特别处理。 因为电脑当时为了输入26个字…

第 46 届国际大学生程序设计竞赛(ICPC)亚洲区域赛(南京),签到题5题

文章目录A.Oops, Its Yesterday Twice MoreM.Windblume FestivalC.Klee in Solitary ConfinementH.CrystalflyD.Paimon Sorting补题链接&#xff1a;https://codeforces.com/gym/103470 A.Oops, It’s Yesterday Twice More Oops, It’s Yesterday Twice More Input file: st…

2020-RKT

2020-RKT&#xff1a;Relation-Aware Self-Attention for Knowledge Tracing 有代码&#xff1a;https://github.com/shalini1194/RKT 摘要 学生在解决练习的过程中获得技能&#xff0c;每一次这样的互动都对学生解决未来练习的能力有明显的影响。 这种影响表现为:1)互动中涉…

Transformer13~目标检测算法汇总

都到了13了 ~~ 还是基于这个的么办法 自从VIT横空出世以来&#xff0c;Transformer在CV界掀起了一场革新&#xff0c;各个上下游任务都得到了长足的进步&#xff0c;然后盘点一下基于Transformer的端到端目标检测算法&#xff01; 原始Tranformer检测器 DETR&#xff08;ECCV…

神经网络架构

神经网络架构 首先我们来看一张图&#xff0c;左边的是生物上的神经网络&#xff0c;右边的是数学版的神经网络 下面我们介绍在深度学习中神经网络的基本架构 整体架构包括层次结构&#xff0c;神经元&#xff0c;全连接&#xff0c;非线性四个部分 我们将针对这四个部分来进…

章节4 Linux操作系统基础知识

4.1-Linux系统结构 Linux系统结构 内核Shell文件系统应用程序 Linux操作系统内核 管理进程管理内存管理驱动管理文件和网络 … Linux Shell 接收用户的命令&#xff0c;经过转换&#xff0c;交给内核去执行 cat —> open() read() 简化操作安全 Linux Shell工具&am…

【docker学习记录】docker安装mysql、redis

目录 docker安装mysql docker安装redis docker安装mysql 1.下载镜像文件 $ sudo docker pull mysql:8.0.31 下载完成后查看一下镜像&#xff1a;sudo docker images 2.创建实例并启动 //mysql版本5 sudo docker run -p 3306:3306 --name mysql \ -v /mydata/mysql/log:/var…

uniapp的安装与基础

解释 由dcloud 公司开发的 多端融合框架 1次开发 多端运行 竞品&#xff1a;apiCloud &#xff0c;appCan &#xff0c;Codova 技术架构 Vue语法小程序的api Hybrid混合开发端 App端 - HTML - nvue&#xff08;原生view&#xff09; - native.js(js原生沟通的桥梁) - weex …

目前是大专学历如何快速提升到本科学历?学历提升有哪几种形式呢?

目前是大专学历如何快速提升到本科学历&#xff1f;学历提升有哪几种形式呢&#xff1f; 如今想要晋升和加薪&#xff0c;很多除了工作能力分级&#xff0c;另一个是文凭&#xff0c;许多企业和机构基本上是基于文凭来决定基本工资&#xff0c;所以想得到更好的待遇&#xff0c…

深度强化学习+金融投资的应用入门

原创文章第114篇&#xff0c;专注“个人成长与财富自由、世界运作的逻辑&#xff0c; AI量化投资”。 今天的核心工作是把强化学习环境整合进我们的AI量化平台中。 网上很多代码都把数据获取和预处理&#xff0c;都整合到强化学习的环境里&#xff0c;对于总体量化平台而言&am…

python搭建沙箱环境

python搭建沙箱环境 文章目录python搭建沙箱环境一&#xff0c;下载virtualenv模块1.1 在线状态的下载1.2 离线状态的下载二&#xff0c;创建沙箱环境&#xff08;虚拟环境&#xff09;三&#xff0c;激活以及退出沙箱环境一&#xff0c;下载virtualenv模块 1.1 在线状态的下载…

JAVA异常

目录JAVA异常1.初识异常2.异常的处理2.1 捕获异常的基本语法2.2 捕获异常2.3 finally的使用2.4 异常的执行流程2.5 抛出异常3.JAVA异常体系4.自定义异常类JAVA异常 1.初识异常 异常指的就是程序在 运行时 出现错误时通知调用者的一种机制. 我们在编写代码的过程中,遇到过许多…

模态贡献量在汽车NVH分析中的案例应用

作者 | 蓝枫 导读&#xff1a;模态贡献量分析是基于结构模态的频响分析&#xff0c;一般被用来分析诊断低频振动问题&#xff0c;如方向盘抖动、地板抖动以及整车振动等的低频NVH问题&#xff0c;也可以诊断中频问题&#xff0c;如NTF优化问题&#xff0c;但NTF优化一般用GPA…

[附源码]java毕业设计疫情背景下叮当买菜管理系统

项目运行 环境配置&#xff1a; Jdk1.8 Tomcat7.0 Mysql HBuilderX&#xff08;Webstorm也行&#xff09; Eclispe&#xff08;IntelliJ IDEA,Eclispe,MyEclispe,Sts都支持&#xff09;。 项目技术&#xff1a; SSM mybatis Maven Vue 等等组成&#xff0c;B/S模式 M…

171-178-Hadoop-源码

171-Hadoop-源码&#xff1a; 以了解有印象&#xff0c;动手debug为主。大致流程和思想。 RPC 通信原理解析 1&#xff09;需求&#xff1a; 模拟 RPC 的客户端、服务端、通信协议三者如何工作的 https://gitee.com/HaoZhouRS/bigdata-study-code/tree/master/big-data-stud…

视频转换软件哪个好?万兴优转-支持超过1000种格式转换和输出

想必大家都知道&#xff0c;视频的格式分为很多种&#xff0c;而且不同设备能够播放的视频格式也各不相同&#xff0c;就比如PC端和mac端&#xff0c;其就有很大的不兼容问题。在日常工作中&#xff0c;我们往往将一个视频发给了对方&#xff0c;但对方却因为设备的差异而无法直…