-
实验1
任务1:打印一个字符小人 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; } 在垂直方向上打印两个字符小人 #include <stdio.h> int main -
实验1
#include<stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0; } #incl -
实验一
// task1.c // 打印一个字符小人 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; } // task1_1.c // 在垂直方向上打印两个字符小人 # -
实验1
实验任务1 垂直小人 点击查看代码 #include <stdio.h> int main() { printf(" O \n<H>\nI I\n O \n<H>\nI I\n"); return 0; } 水平小人 点击查看代码 #include <stdio.h> int main() { pr -
实验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 -
作业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 -
实验2
实验2的作业 实验任务1 问题一 srand(time(NULL)的作用是根据当前系统时间初始化随机数生成器,让每次程序运行时产生不同的随机数,从而避免重复。 问题二 随机抽取两个专业中的五个学号。 #include <stdio.h> #include <stdlib.h> #include <t -
实验2
实验任务1: #include <stdio.h>#include <stdlib.h>#include <time.h>#define N 5#define N1 80#define N2 35int main() { int cnt; int random_major, random_no; s -
20232426 2025-2026-1 《网络与系统攻防技术》实验一实验报告
一、实验目标(内容) 掌握缓冲区溢出的基本原理。 理解栈的工作方式和返回地址覆盖。 学会编写和注入Shellcode,并在Linux下调试。 熟悉gdb、objdump等调试与分析工具。 二、实验知识点回顾(本周学习的内容) 1.Linux操作 文件与目录操作(cd、ls 、cp等)。 权限控制与命 -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500317 姓名:叶伟鸿 一、安装C语言环境 -
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.实验任务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 -
高级语言程序设计第一次作业
班级:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500403 姓名:周悦铃 一、安装C程序的编译环境 1.从microso -
作业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 -
高级语言程序设计课程第二次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://www.cnblogs.com/zhuyuchen818/p/19155507 学号: 102500335 姓名:任柏宇 编写并运行书本第3章3.11 编程练 -
#20232329易杨文轩 2025-2026-1 《网络与系统攻防技术》 实验二实验报告
1.实验内容 1.实践目标 使用netcat获取主机操作Shell,cron启动某项任务; 使用socat获取主机操作Shell,任务计划启动; 使用MSF meterpreter生成可执行文件,利用ncat或socat传送到主机并运行获取主机Shell; 使用MSF meterpreter生成获取 -
软件工程第三次作业——结对作业
软件工程第三次作业——结对作业 结对作业 实现一个自动生成小学四则运算题目的命令行程序(也可以用图像界面,具有相似功能) 这个作业属于哪个课程 https://edu.cnblogs.com/campus/gdgy/Class12Grade23ComputerScience 这个作业要求在哪里 ht