-
实验一 现代C++编程初体验
任务1 源代码task1.cpp #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test1 -
实验1 现代C++编程初体验
实验任务1 task1.cpp 1 // 现代C++标准库、算法库体验 2 // 本例用到以下内容: 3 // 1. 字符串string, 动态数组容器类vector、迭代器 4 // 2. 算法库:反转元素次序、旋转元素 5 // 3. 函数模板、const引用作为形参 6 #include <i -
实验1现代C++编程初体验
// 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #include <string> # -
实验一
1、实验任务一 源代码: // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #inclu -
作业1
102500425杨郑伟 https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 https://edu.cnblogs.com/campus/fzu/gjyycx -
实验2 C语言分支与循环基础应用编程
实验1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int rando -
高级语言程序第一次作业
班级链接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500326 姓名:罗炜 一.安装C程序编译环境 1.1安装dev -
实验1 现代C++编程初体验
任务1: task1.cpp 1 //现代C++标准库、算法库体验 2 //本例用到如下内容: 3 //1.字符串string,动态数组容器类vector、迭代器 4 //2.算法库:反转元素次序、旋转元素 5 //3.函数模板、const引用作为形参 6 7 #include<iostraem> -
高级语言设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业的要求在 https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500309 姓名:郑睿杰 一 安装Dev-C++ -
20232428 2025-2026-1 《网络与系统攻防技术》实验一实验报告
一.实验内容 本次实践的对象是一个名为pwn1的linux可执行文件。 该程序正常执行流程是:main调用foo函数,foo函数会简单回显任何用户输入的字符串。 该程序同时包含另一个代码片段,getShell,会返回一个可用Shell。正常情况下这个代码是不会被运行的。我们实践的目标就是想办法运行这 -
实验一
实验任务1 #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test1(); void te -
20232317 2025-2026-1《网络与系统攻防技术》实验一实验报告
1.实验内容 1.1手工修改可执行文件,改变程序执行流程,直接跳转到getShell函数。 1.2利用foo函数的Bof漏洞,构造一个攻击输入字符串,覆盖返回地址,触发getShell函数。 1.3注入一个自己制作的shellcode并运行这段shellcode。 2.实验过程 2.1实践一 首先下 -
实验一
##实验任务一 ##代码 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 template<typename T> 6 void output(const T &c); 7 -
实验1 现代C++编程初体验
任务1: 源代码task1.cpp 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 6 7 template<typename T> 8 void output(const -
实验一
1.实验任务1 源代码task1.cpp 1 #include <iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 template<typename T> 6 void output(const T &c -
实验2
实验结论 实验任务1 源代码 1 int main(){ 2 int cnt; 3 int random_major,random_no; 4 srand(time(NULL)); 5 cnt =0; 6 while(cnt<N){ 7 random_major =rand()%2; 8 if(ra -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500317 姓名:叶伟鸿 一、安装C语言环境 -
20232426 2025-2026-1 《网络与系统攻防技术》实验一实验报告
20232426 2025-2026-1 《网络与系统攻防技术》实验一实验报告 一、实验目标(内容) 掌握缓冲区溢出的基本原理。 理解栈的工作方式和返回地址覆盖。 学会编写和注入Shellcode,并在Linux下调试。 熟悉gdb、objdump等调试与分析工具。 二、实验知识点回顾(本周学习的内 -
实验1
#任务1 ##代码 1 #include<iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 6 template<typename T> 7 void output(const T &c); 8 9 voi -
作业2
实验任务1: 源代码: #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_major,ran