-
20252802 2025-2026-2 《网络攻防实践》实验十报告
20252802 2025-2026-2 《网络攻防实践》实验十 1.实践内容 本次实验围绕缓冲区溢出攻击展开,通过三种方式实现程序流程劫持:一是使用vim+xxd手工修改ELF文件机器码,篡改call指令偏移直接跳转至getShell函数;二是利用gets()栈溢出漏洞,构造精确长度的输入字符串覆 -
20252804 2025-2026-2 《网络攻防实践》课程总结
20252804 2025-2026-2 《网络攻防实践》课程总结 1.内容总结 第1次实践 :环境搭建 利用提供的虚拟机镜像和VMWare Workstations软件,在自己的笔记本电脑上部署一套个人版网络攻防实践环境,至少包括一台攻击机、一台靶机、SEED虚拟机和蜜网网关,并进行网络连通性测试 -
20251911 2025-2026-2 《网络攻防实践》实践四报告
1. 实践内容 本次实践围绕TCP/IP协议栈中五种典型网络攻击展开,具体内容如下: ARP缓存欺骗攻击:攻击者伪造ARP响应包,告诉目标主机“网关的MAC地址是攻击者的MAC地址”,使目标将本应发往网关的流量误发给攻击机。攻击机开启IP转发后,可在目标不知情的情况下实现中间人监听或篡改。 ICMP -
20252906 2025-2026-2 《网络攻防实践》第3周作业
1. 实验内容 (1)动手实践tcpdump 使用tcpdump开源软件对在本机上访问www.163.com网站过程进行嗅探,回答问题:你在访问www.163.com网站首页时,浏览器将访问多少个Web服务器?他们的IP地址都是什么? (2)动手实践Wireshark 使用Wireshark开源软件 -
20252811 2025-2026-2 《网络攻防实践》第八周作业
1. 实践内容 本次实践主要围绕恶意代码静态分析、简单逆向分析以及网络数据取证分析展开。实验内容包括对 RaDa 恶意代码样本进行文件类型识别、查壳、脱壳和字符串提取;对 crackme1.exe 和 crackme2.exe 进行静态或动态分析,找出能够触发成功输出的输入;进一步分析 RaDa 样 -
实验5
实验任务1 源代码1 1 #include <stdio.h> 2 #define N 5 3 void input(int x[], int n); 4 void output(int x[], int n); 5 void find_min_max(int x[], int n, int *pm -
实验5
试验任务1 代码1-1: 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_ma -
实验五:C语言指针应用编程
实验五:C语言指针应用编程 实验一 源代码 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], i -
实验5
任务1: 代码: 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pm -
实验五
实验1 task.1 代码 1 #include <stdio.h> 2 #define N 5 3 #include <stdlib.h> 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find_min_ -
实验五
实验1 task1.1问题 1.find_min_max的功能是找到长度为n的整型数组x中的最大值和最小值,然后通过pmin和pmax把结果带回主函数。 2.pmin指向main函数里的min,pmax指向main函数里的max。 task1.2问题 1.find_max的功能是找到数组中的最大值所 -
实验5
实验任务1 源代码task1_1.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define N 5 4 5 void input(int x[], int n); 6 void output(int x[], int n); 7 void find -
实验3 C语言函数应用编程
四.实验结论 任务1 源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 4 char score_to_grade(int score); 5 6 int main(){ 7 int score; 8 char grade; 9 10 while(sca -
实验4 C语言数组应用编程
任务1 源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1() { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 10 printf("size -
实验4
实验任务1 源代码 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 void test1() { 5 int x[N] = { 1, 9, 8, 4 }; 6 int i; 7 printf("sizeof(x) = %d\n", sizeof( -
20252808 2025-2026-2 《网络攻防实践》第七次作业
20252808 2025-2026-2 《网络攻防实践》第七次作业 一. 实验内容 1.1 实验内容概述 (1)使用Metasploit进行Linux远程渗透攻击 使用Metasploit渗透测试软件,攻击Linux靶机上的Samba服务Usermap_script安全漏洞,获取目标Linux靶机 -
实验4
实验内容 任务1 源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", siz -
实验四
task1#include <stdio.h>#define N 4#define M 2void test1() { int x[N] = {1, 9, 8, 4}; int i; printf("sizeof(x) = %d\n", sizeof(x)); for (i = 0; i < N; -
实验四
实验任务1 1.源代码 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = { 1, 9, 8, 4 }; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", si -
5.27作业
实验任务1 -task1_1 代码 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n