摘要: 起因: 前几天在对某一个站点进行信息搜集的时候,在C段(同网段如192.168.1-255中所有ip)的信息里面发现了某一个站点,当时看见了: url:http://www.xxx..com/class.php?id=104 忍不住加了一个单引号来测试是否存在注入漏洞。 加了单引号之后没有返回信息, 阅读全文
posted @ 2022-04-09 13:45 一只敢敢 阅读(301) 评论(0) 推荐(0)
摘要: //ex3 Q:运行程序,观察在屏幕上是否正确输出了按分数由高→低排序的信息?同时,在当前路径下,是否生成了文本文件file3.dat? A:正确输出了分数由高到低排序的信息同事生成了文本文件file3.dat。 Q:尝试用记事本程序打开文件file3.dat,观察里面的数据信息是否是正确的,并且是 阅读全文
posted @ 2020-12-27 14:13 一只敢敢 阅读(67) 评论(1) 推荐(0)
摘要: //text 1// P280例8.15 // 对教材上的程序作了微调整,把输出学生信息单独编写成一个函数模块 // 打印不及格学生信息和所有学生信息程分别调用 #include<stdio.h> #include<stdlib.h> #include<string.h> #define N 3 / 阅读全文
posted @ 2020-12-16 20:41 一只敢敢 阅读(67) 评论(1) 推荐(0)
摘要: //ex1#include <stdio.h> const int N=3; int main() { int a[N] = {1, 2, 3}; int i; printf("通过数组名及下标直接访问数组元素:\n"); for(i=0; i<N; i++) printf("%d: %d\n", 阅读全文
posted @ 2020-12-07 21:06 一只敢敢 阅读(159) 评论(2) 推荐(0)
摘要: 实验任务1 // 一元二次方程求解 (函数实现方式) // 重复执行, 直到按Ctrl+Z结束 #include <math.h> #include <stdio.h> // 函数声明 void solve(double a, double b, double c); // 主函数 int main 阅读全文
posted @ 2020-11-26 20:49 一只敢敢 阅读(97) 评论(1) 推荐(0)
摘要: #include<stdio.h> #include<math.h> int main(){ double a,b,c,x1,x2;//float a,b,c; double delta,real,imag;//float delta,real,imag; printf("Enter a,b,c:" 阅读全文
posted @ 2020-11-14 13:41 一只敢敢 阅读(118) 评论(1) 推荐(0)
摘要: #include <stdio.h> int main() { int a=5, b=7, c=100, d, e, f; d = a/b*c; e = a*c/b; f = c/b*a; printf("d=%d, e=%d, f=%d\n",d,e,f); return 0; } line6:a 阅读全文
posted @ 2020-10-30 00:21 一只敢敢 阅读(88) 评论(1) 推荐(0)
摘要: #include<stdio.h> int main() { printf("202083290304\n2020,to be a stronger man in jjc!!"); return 0; } #include<stdio.h> int main() { while(0) printf( 阅读全文
posted @ 2020-10-15 19:07 一只敢敢 阅读(57) 评论(1) 推荐(1)
摘要: #include<stdio.h>int main(){ printf("202083290304\n2020,to be a strong man in jjc!"); return 0;} 阅读全文
posted @ 2020-10-15 14:47 一只敢敢 阅读(48) 评论(0) 推荐(0)