GRE和MGRE综合实验

  • 实验拓扑图

  • 实验思路

  1. 根据图中所属网段,配置ip地址和网关
  2. R1,R2,R3,R4配置缺省路由,可以是公网互通
  3. 使用ppp验证,R1与R5为PAP验证,R5:aaa地址池,创建用户名以及密码,同时进行pap服务认证,同时在R1-R5连接直连,R5端口认证该用户。R1:s4/0/0端口输入账号,密码,进行认证。
  4. R2-R5的CHAP与PAP认证相识,只是认证协议不同,以及R2端口认证配置不同。
  5. R3-R5之间的端口,使用link-protocol hdlc进行封装。
  6. R1、R2、R3用MGRE环境,创建tunnel0/0/0,配置使用协议,源ip,目标ip.
  7. R1、R4用GRE环境,创建tunnel0/0/1,源ip,目标ip,
  8. R1、R5间用RIP宣告网段,使网络互通;

R1、R2、R3不仅要宣告网段,还要在中心上开启伪广播,为了只有中心获取到分支的路由信息,但是分支并没有获取到中心的路由信息;每个路由器关闭接口的水平分割,因为分支在中心开启伪广播后,分支只能获取到中心的路由信息,但是无法获取分支之间的路由信息。

  • 实验IP配置

R1

[R1-GigabitEthernet0/0/0]ip ad 192.168.1.254 24[R1-GigabitEthernet0/0/0]int s 4/0/0[R1-Serial4/0/0]ip ad 15.1.1.1 24[R1-Serial4/0/0]int t0/0/0[R1-Tunnel0/0/0]ip ad 10.1.2.1 24[R1-Tunnel0/0/0]int t0/0/1[R1-Tunnel0/0/1]ip ad 10.1.1.1 24[R1-Tunnel0/0/1]q[R1]dis ip in b*down: administratively down^down: standby(l): loopback(s): spoofingThe number of interface that is UP in Physical is 5The number of interface that is DOWN in Physical is 3The number of interface that is UP in Protocol is 3The number of interface that is DOWN in Protocol is 5Interface                         IP Address/Mask      Physical   Protocol GigabitEthernet0/0/0              192.168.1.254/24     up         up       GigabitEthernet0/0/1              unassigned           down       down     GigabitEthernet0/0/2              unassigned           down       down     NULL0                             unassigned           up         up(s)    Serial4/0/0                       15.1.1.1/24          up         up       Serial4/0/1                       unassigned           down       down     Tunnel0/0/0                       10.1.2.1/24          up         down     Tunnel0/0/1                       10.1.1.1/24          up         down    

 

R2

[R2]int g0/0/0[R2-GigabitEthernet0/0/0]ip ad 192.168.2.254 24Mar 30 2024 18:26:59-08:00 R2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPon the interface GigabitEthernet0/0/0 has entered the UP state.[R2-GigabitEthernet0/0/0]int s 4/0/0[R2-Serial4/0/0]ip ad 25.1.1.2 24[R2-Serial4/0/0]int t0/0/0[R2-Tunnel0/0/0]ip ad 10.1.2.2 24

R3

[R3]int g0/0/0[R3-GigabitEthernet0/0/0]ip ad 192.168.3.254 24Mar 30 2024 18:29:24-08:00 R3 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPon the interface GigabitEthernet0/0/0 has entered the UP state.[R3-GigabitEthernet0/0/0]int s 4/0/0[R3-Serial4/0/0]ip ad 35.1.1.3 24[R3-Serial4/0/0]int t0/0/0[R3-Tunnel0/0/0]ip ad  10.1.2.3 24[R3-Tunnel0/0/0]

R4

[R4-GigabitEthernet0/0/0]ip ad 45.1.1.4 24Mar 30 2024 18:32:01-08:00 R4 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol IPon the interface GigabitEthernet0/0/0 has entered the UP state.[R4-GigabitEthernet0/0/0]int g0/0/1[R4-GigabitEthernet0/0/1]ip ad 192.168.4.254 24[R4-GigabitEthernet0/0/1]int t0/0/1[R4-Tunnel0/0/1]ip ad 10.1.1.4 24

R5

[R5]int s 4/0/1[R5-Serial4/0/1]ip ad 15.1.1.5 24[R5-Serial4/0/1][R5-Serial4/0/1]int s 3/0/1[R5-Serial3/0/1]ip ad 25.1.1.5 24[R5-Serial3/0/1]int s 4/0/0[R5-Serial4/0/0]ip ad 35.1.1.5 24[R5-Serial4/0/0]int g0/0/0[R5-GigabitEthernet0/0/0]ip ad 45.1.1.5 24[R5-LoopBack0]ip ad 5.5.5.5 24

  • 实验配置

  1. 实现公私网互通

[R1]ip route-static 0.0.0.0 0 15.1.1.5[R2]ip route-static 0.0.0.0 0 25.1.1.5[R3]ip route-static 0.0.0.0 0  35.1.1.5[R4]ip route-static 0.0.0.0 0 45.1.1.5[R1]ping 25.1.1.2PING 25.1.1.2: 56  data bytes, press CTRL_C to breakReply from 25.1.1.2: bytes=56 Sequence=1 ttl=254 time=60 msReply from 25.1.1.2: bytes=56 Sequence=2 ttl=254 time=30 msReply from 25.1.1.2: bytes=56 Sequence=3 ttl=254 time=20 msReply from 25.1.1.2: bytes=56 Sequence=4 ttl=254 time=20 msReply from 25.1.1.2: bytes=56 Sequence=5 ttl=254 time=20 ms

2、

(1)R1和R5间使用PPP的PAP认证,R5为主认证方;

R5

[R5]aaa[R5-aaa]local-user zhangdaye password cipher zdy12345Info: Add a new user.[R5-aaa]local-user zhangdaye service-type ppp[R5-aaa]q[R5]int s 4/0/1[R5-Serial4/0/1]ppp authentication-mode pap

R1

[R1]int s 4/0/0[R1-Serial4/0/0]ppp pap local-user zhangdaye password cipher zdy12345

测试

[R1-Serial4/0/0]shutdown[R1-Serial4/0/0]undo shutdown[R1-Serial4/0/0]Mar 30 2024 18:56:39-08:00 R1 %%01IFPDT/4/IF_STATE(l)[5]:Interface Serial4/0/0 has turned into UP state.[R1-Serial4/0/0]Mar 30 2024 18:56:42-08:00 R1 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol PPPon the interface Serial4/0/0 has entered the UP state.[R1-Serial4/0/0]Mar 30 2024 18:56:42-08:00 R1 %%01IFNET/4/LINK_STATE(l)[7]:The line protocol PPPIPCP on the interface Serial4/0/0 has entered the UP state.

  (2)R2与R5之间使用ppp的CHAP认证,R5为主认证方;

R5

[R5]aaa[R5-aaa]local-user wangdaye password cipher wdy12345Info: Add a new user.[R5-aaa]local-user wangdaye service-type ppp.[R5-aaa]q[R5]int s 3/0/1[R5-Serial3/0/1]ppp authentication-mode chap

R2

[R2]int s 4/0/0[R2-Serial4/0/0]ppp chap user wangdaye[R2-Serial4/0/0]ppp chap password cipher wdy12345[R2-Serial4/0/0]shutdown[R2-Serial4/0/0]undo shutdown[R2-Serial4/0/0]Mar 30 2024 19:04:38-08:00 R2 %%01IFPDT/4/IF_STATE(l)[5]:Interface Serial4/0/0 has turned into UP state.[R2-Serial4/0/0]Mar 30 2024 19:04:41-08:00 R2 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol PPPon the interface Serial4/0/0 has entered the UP state.[R2-Serial4/0/0]Mar 30 2024 19:04:41-08:00 R2 %%01IFNET/4/LINK_STATE(l)[7]:The line protocol PPPIPCP on the interface Serial4/0/0 has entered the UP state.

  (3)R3与R5之间使用HDLC封装;

R5

[R5-Serial4/0/0]link-protocol hdlcWarning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:yMar 30 2024 19:13:29-08:00 R5 %%01IFNET/4/CHANGE_ENCAP(l)[8]:The user performedthe configuration that will change the encapsulation protocol of the link and then selected Y.[R5-Serial4/0/0][R5-Serial4/0/0]Mar 30 2024 19:13:29-08:00 R5 %%01PPP/4/PHYSICALDOWN(l)[9]:On the interface Serial4/0/0, PPP link was closed because the status of the physical layer was Down.[R5-Serial4/0/0]Mar 30 2024 19:13:29-08:00 R5 %%01IFNET/4/LINK_STATE(l)[10]:The line protocol PPP on the interface Serial4/0/0 has entered the DOWN state.[R5-Serial4/0/0]Mar 30 2024 19:13:29-08:00 R5 %%01IFNET/4/LINK_STATE(l)[11]:The line protocol PPP IPCP on the interface Serial4/0/0 has entered the DOWN state.[R5-Serial4/0/0]Mar 30 2024 19:13:29-08:00 R5 %%01IFPDT/4/IF_STATE(l)[12]:Interface Serial4/0/0has turned into DOWN state.[R5-Serial4/0/0]Mar 30 2024 19:13:29-08:00 R5 %%01IFPDT/4/IF_STATE(l)[13]:Interface Serial4/0/0has turned into UP state.[R5-Serial4/0/0]Mar 30 2024 19:13:29-08:00 R5 %%01IFNET/4/LINK_STATE(l)[14]:The line protocol IPon the interface Serial4/0/0 has entered the UP state.[R5-Serial4/0/0]Mar 30 2024 19:14:29-08:00 R5 %%01IFNET/4/LINK_STATE(l)[15]:The line protocol IPon the interface Serial4/0/0 has entered the DOWN state.

R3

[R3-Serial4/0/0]link-protocol hdlcWarning: The encapsulation protocol of the link will be changed. Continue? [Y/N]:Mar 30 2024 19:14:15-08:00 R3 %%01PPP/4/TIMEOUT(l)[0]:On the interface Serial4/0/0, PPP link was closed because the keepalive timer expired.[R3-Serial4/0/0]Mar 30 2024 19:14:15-08:00 R3 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol PPPon the interface Serial4/0/0 has entered the DOWN state.[R3-Serial4/0/0]Mar 30 2024 19:14:15-08:00 R3 %%01IFNET/4/LINK_STATE(l)[2]:The line protocol PPPIPCP on the interface Serial4/0/0 has entered the DOWN state.[R3-Serial4/0/0]Mar 30 2024 19:14:15-08:00 R3 %%01RM/4/IPV4_DEFT_RT_CHG(l)[3]:IPV4 default Routeis changed. (ChangeType=Delete, InstanceId=0, Protocol=Static, ExitIf=Unknown,Nexthop=35.1.1.5, Neighbour=0.0.0.0, Preference=1006632960, Label=NULL, Metric=0)[R3-Serial4/0/0][R3-Serial4/0/0]Mar 30 2024 19:15:21-08:00 R3 %%01IFNET/4/CHANGE_ENCAP(l)[4]:The user performedthe configuration that will change the encapsulation protocol of the link and then selected N.

3、

(1)R1、R2、R3构建一个MGRE环境,

R1

[R1-Tunnel0/0/0]tunnel-protocol gre p2mp[R1-Tunnel0/0/0]source 15.1.1.1Mar 30 2024 19:36:08-08:00 R1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IPon the interface Tunnel0/0/0 has entered the UP state.[R1-Tunnel0/0/0]nhrp network-id 100

R2 

[R2-Tunnel0/0/0]tunnel-protocol gre p2mp[R2-Tunnel0/0/0]source Serial 4/0/0[R2-Tunnel0/0/0]nhrp network-id 100 [R2-Tunnel0/0/0]nhrp entry 10.1.2.1 15.1.1.1 register

R3

[R3-Tunnel0/0/0]tunnel-protocol gre p2mp[R3-Tunnel0/0/0]source Serial 4/0/0Mar 30 2024 19:49:41-08:00 R3 %%01IFNET/4/LINK_STATE(l)[6]:The line protocol IPon the interface Tunnel0/0/0 has entered the UP state.[R3-Tunnel0/0/0]nhrp network-id 100[R3-Tunnel0/0/0]nhrp entry 10.1.2.1 15.1.1.1 register

(2)R1为中心站点,R1、R4间为点到点的GRE;

R1

[R1-Tunnel0/0/1]tunnel-protocol gre[R1-Tunnel0/0/1]source 15.1.1.1[R1-Tunnel0/0/1]destination 45.1.1.4Mar 30 2024 19:31:31-08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IPon the interface Tunnel0/0/1 has entered the DOWN state.

R4

[R4-Tunnel0/0/1]tunnel-protocol gre[R4-Tunnel0/0/1]source 45.1.1.4[R4-Tunnel0/0/1]destination 15.1.1.1Mar 30 2024 19:33:12-08:00 R4 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol IPon the interface Tunnel0/0/1 has entered the UP state.

4、整个私有网络基本RIP全网可达,

[R1]rip 1[R1-rip-1]v 2[R1-rip-1]undo summary[R1-rip-1]net 192.168.1.0[R1-rip-1]net 10.0.0.0[R1-rip-1]q[R1]int t0/0/0[R1-Tunnel0/0/0]nhrp entry multicast dynamic[R1-Tunnel0/0/0]undo rip split-horizon
[R2]rip 1[R2-rip-1]v 2[R2-rip-1]undo summary[R2-rip-1]net 192.168.2.0[R2-rip-1]net 10.0.0.0[R2-rip-1]q[R2]int t0/0/0[R2-Tunnel0/0/0]undo rip s [R2-Tunnel0/0/0]undo rip split-horizon
[R3]rip 1[R3-rip-1]v 2[R3-rip-1]undo summary[R3-rip-1]net 192.168.3.0[R3-rip-1]net 10.0.0.0[R3-Tunnel0/0/0]undo rip split-horizon

在p1 p2 p3中互ping ,达到实验效果。

[R1]dis nhrp peer all-------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.2        32    25.1.1.2        10.1.2.2        dynamic      route tunnel-------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:23:07Expire time     : 01:36:53-------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.3        32    35.1.1.3        10.1.2.3        dynamic      route tunnel-------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:22:25Expire time     : 01:37:35
[R2]dis nhrp peer all-------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.1        32    15.1.1.1        10.1.2.1        static       hub         -------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:21:33Expire time     : ---------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.3        32    35.1.1.3        10.1.2.3        dynamic      route tunnel-------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:02:23Expire time     : 01:57:37-------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.2        32    25.1.1.2        10.1.2.2        dynamic      local       -------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:02:23Expire time     : 01:57:37Number of nhrp peers: 3
[R3]dis nhrp peer all-------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.1        32    15.1.1.1        10.1.2.1        static       hub         -------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:21:11Expire time     : ---------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.2        32    25.1.1.2        10.1.2.2        dynamic      route tunnel-------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:02:43Expire time     : 01:57:17-------------------------------------------------------------------------------Protocol-addr   Mask  NBMA-addr       NextHop-addr    Type         Flag        -------------------------------------------------------------------------------10.1.2.3        32    35.1.1.3        10.1.2.3        dynamic      local       -------------------------------------------------------------------------------Tunnel interface: Tunnel0/0/0Created time    : 00:02:43Expire time     : 01:57:17Number of nhrp peers: 3

5、所有pc设置私有IP为源IP,可以访问R5环回,达到全网通

R1

[R1]acl 2000[R1-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255[R1-acl-basic-2000]q[R1]int s 4/0/0][R1-Serial4/0/0]nat outbound 2000

R2

[R2]acl 2000[R2-acl-basic-2000]rule permit source 192.168.2.0 0.0.0.255[R2-acl-basic-2000]q[R2]int s 4/0/0[R2-Serial4/0/0]nat outbound 2000

R3

[R3]acl 2000[R3-acl-basic-2000]rule permit source 192.168.3.0 0.0.0.255[R3-acl-basic-2000]q[R3]int s 4/0/0[R3-Serial4/0/0]nat outbound 2000

R4

[R4]acl 2000[R4-acl-basic-2000]rule permit source 192.168.4.0 0.0.0.255[R4-acl-basic-2000]q[R4]int g0/0/0[R4-GigabitEthernet0/0/0]nat outbound 2000

测试

PC1

ping 5.5.5.5Ping 5.5.5.5: 32 data bytes, Press Ctrl_C to breakFrom 5.5.5.5: bytes=32 seq=1 ttl=254 time=16 msFrom 5.5.5.5: bytes=32 seq=2 ttl=254 time<1 msFrom 5.5.5.5: bytes=32 seq=3 ttl=254 time<1 msFrom 5.5.5.5: bytes=32 seq=4 ttl=254 time=15 msFrom 5.5.5.5: bytes=32 seq=5 ttl=254 time=16 ms

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

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

相关文章

playwright 对象是 Playwright 框架中的核心对象

Playwright对象是Playwright框架中的一个重要对象&#xff0c;它充当了管理和控制浏览器实例的中介&#xff0c;并提供了访问不同浏览器引擎功能的接口。Playwright库为Web浏览器自动化提供了一组强大的API&#xff0c;可以轻松地操作和控制Chromium、Firefox和WebKit浏览器。p…

(root用户与非root用户)linux下安装最新版tmux

下载依赖包 tmux需要两个依赖包&#xff0c;libevent和ncurses&#xff0c;在tmux的github wiki官网可以找到对应的源码下载地址: libeventncursestmux 下载三个包的tar.gz文件 root用户与非root用户 下列安装指令中&#xff0c;如果是root用户想安装到系统级目录下&#x…

使用nvm管理nodejs版本

文章目录 1、下载NVM2、选择NVM安装3 、查询版本号&常用命令4、nvm命令安装指定版本node4.1 安装指定node4.2 查看是否安装成功4.3 切换node版本到你想要的版本4.4 再次查看nvm版本列表4.5 nvm其他常用命令 这个是每个全能前端经常会用到的&#xff0c;之前用过现在重装了&…

如何Hook [NSString stringWithFormat] 代码hook stringWithFormat中替换NSString字符串

怎么hook stringWithFormat方法 id stringWithFormat(id self, SEL op,id obj1, ...); id stringWithFormat(id self, SEL op,id obj1, ...){va_list args;va_start(args, obj1);//等价实现方法NSString *result [[NSMutableString alloc] initWithFormat:obj1 arguments:arg…

BitVM2:比特币上的无需许可验证

1. 引言 前序博客有&#xff1a; 基于BitVM的乐观 BTC bridgeBitVM&#xff1a;Bitcoin的链下合约Bitcoin Bridge&#xff1a;治愈还是诅咒&#xff1f; 最初的 BitVM 设计仅限于两方设置。BitVM2结合了并行和冗余实例&#xff0c;以引入基于 1-of-n 诚实假设的多方配置。这…

Android 自定义EditText

文章目录 Android 自定义EditText概述源码可清空内容的EditText可显示密码的EditText 使用源码下载 Android 自定义EditText 概述 定义一款可清空内容的 ClearEditText 和可显示密码的 PasswordEditText&#xff0c;支持修改提示图标和大小、背景图片等。 源码 基类&#xf…

WebViz可视化

WebViz可视化 Webviz是一个基于Web的可视化工具&#xff0c;意味着您可以通过浏览器/APP访问它&#xff0c;而不需要安装额外的软件。这对于远程访问和团队协作非常方便。 Foxglove是一个开源的工具包&#xff0c;包括线上和线下版。旨在简化机器人系统的开发和调试。它提供了…

Gitea 的详细介绍

什么是 Gitea&#xff1f; Gitea 是一个开源、轻量级的自托管 Git 服务&#xff0c;它允许用户搭建类似于 GitHub 或 GitLab 的代码托管平台。由于采用 Go 语言开发&#xff0c;Gitea 具有高效的性能和跨平台特性&#xff0c;适合个人开发者或小团队使用。 Gitea 的特点 轻量…

蓝桥杯第十三届电子类单片机组程序设计

目录 前言 单片机资源数据包_2023 一、第十三届比赛省赛 1.比赛题目 2.赛题解读 二、部分功能实现 1.继电器的开启与关闭 2.长按切换显示状态功能的实现 3.对于温度传感器小数部分的处理 4.其他处理 1&#xff09;关于数码管显示小数的处理 2&#xff09;关于5s后继…

SpringBoot + LiteFlow(二):LiteFlow特性和环境支持

项目特性 组件定义统一: 所有的逻辑都是组件,为所有的逻辑提供统一化的组件实现方式,小身材,大能量。规则轻量: 基于规则文件来编排流程,学习规则入门只需要5分钟,一看即懂。规则多样化: 规则支持xml、json、yml三种规则文件写法方式,喜欢哪种用哪个。任意编排: 再复…

简易TCP服务器通信、IO多路复用(select、poll、epoll)以及reactor模式。

网络编程学习 简单TCP服务器通信三次握手和四次挥手状态转换总结client和server通信写法server端client端 怎么应对多用户连接&#xff1f;缺点 IO多路复用select优缺点 pollpoll写法和改进点 epoll&#xff08;使用最多&#xff0c;重中之重&#xff09;epoll写法和改进点LT模…

结构体类型,结构体变量的创建和初始化 以及结构中存在的内存对齐

一般结构体类型的声明 struct 结构体类型名 { member-list; //成员表列 }variable-list; //变量表列 例如描述⼀个学⽣&#xff1a; struct Stu { char name[20]; //名字 int age; //年龄 char sex[5]; //性别 }&#xff1b; //结构体变量的初始化 int main() { S…

牛客NC30 缺失的第一个正整数【simple map Java,Go,PHP】

题目 题目链接&#xff1a; https://www.nowcoder.com/practice/50ec6a5b0e4e45348544348278cdcee5 核心 Map参考答案Java import java.util.*;public class Solution {/*** 代码中的类名、方法名、参数名已经指定&#xff0c;请勿修改&#xff0c;直接返回方法规定的值即可…

Modelsim手动仿真实例

目录 1. 软件链接 2. 为什么要使用Modelsim 3. Modelsim仿真工程由几部分组成&#xff1f; 4. 上手实例 4.1. 新建文件夹 4.2. 指定目录 4.3. 新建工程 4.4. 新建设计文件&#xff08;Design Files&#xff09; 4.5. 新建测试平台文件&#xff08;Testbench Files&…

企业数据被新型.rmallox勒索病毒加密,应该如何还原?

.rmallox勒索病毒为什么难以解密&#xff1f; .rmallox勒索病毒难以解密的主要原因在于其采用了高强度的加密算法&#xff0c;并且这些算法被有效地实施在了病毒程序中。具体来说&#xff0c;.rmallox勒索病毒使用了RSA和AES这两种非常成熟的加密算法。RSA是一种非对称加密算法…

08、Lua 函数

Lua 函数 Lua 函数Lua函数主要有两种用途函数定义解析&#xff1a;optional_function_scopefunction_nameargument1, argument2, argument3..., argumentnfunction_bodyresult_params_comma_separated 范例 : 定义一个函数 max()Lua 中函数可以作为参数传递给函数多返回值Lua函…

Laravel 数据库:判断数据表是否存在

检测某个表是否存在&#xff1a; if (Schema::hasTable(table_name)) { // } 在某个表不存在的情况下再执行创建操作&#xff1a; if ( ! Schema::hasTable(table_name)) { // 创建数据库表的代码 } 如果你想安全的 drop 掉一个数据表&#xff0c;使用以下&#xf…

蓝桥杯刷题记录之蓝桥王国

只是记录 这题用迪杰斯特拉来就行&#xff0c;我写的是堆优化版本 import java.util.*;public class Main{static Scanner s new Scanner(System.in);static int n,m,startPoint1;static List<Edge>[] table;//邻接表,因为是稀疏图static long[] dist;static boolean[] …

Day25 代码随想录(1刷) 回溯

39. 组合总和 给你一个 无重复元素 的整数数组 candidates 和一个目标整数 target &#xff0c;找出 candidates 中可以使数字和为目标数 target 的 所有 不同组合 &#xff0c;并以列表形式返回。你可以按 任意顺序 返回这些组合。 candidates 中的 同一个 数字可以 无限制重复…

3D汽车模型线上三维互动展示提供视觉盛宴

VR全景虚拟看车软件正在引领汽车展览行业迈向一个全新的时代&#xff0c;它不仅颠覆了传统展览的局限&#xff0c;还为参展者提供了前所未有的高效、便捷和互动体验。借助于尖端的vr虚拟现实技术、逼真的web3d开发、先进的云计算能力以及强大的大数据处理&#xff0c;这一在线展…