摘要: #include<stdio.h> #include<string.h> #include<math.h> int func(char a[]) { int n = strlen(a);//判断字符串的长度函数 int i, j = 0, num = 0; for (i = 0; i < n; i+ 阅读全文
posted @ 2021-06-02 20:03 国名老公阿航 阅读(5692) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> #include<math.h> void main() { int i; int x, y, z; for (i = 100; i < 1000; i++) { x = i % 10; y = i % 100 / 10; z = i / 100; if (pow 阅读全文
posted @ 2021-06-02 19:55 国名老公阿航 阅读(2027) 评论(0) 推荐(0) 编辑
摘要: #include<stdio.h> void main() { int n, m, x = 0; printf("请输入一个正整数:\n"); scanf("%d", &n); m = n; while (n>0) { x = x * 10 + n % 10; n = n / 10; } if (x 阅读全文
posted @ 2021-06-02 19:54 国名老公阿航 阅读(769) 评论(0) 推荐(0) 编辑
摘要: 这种问题直接3个for循环暴力求解就行了 #include<stdio.h> int main() { int x, y, z; //x,y,z分别为公鸡,母鸡,小鸡的数量 for (x = 0; x <= 100; x++) { for (y = 0; y <= 100; y++) { for ( 阅读全文
posted @ 2021-06-02 19:53 国名老公阿航 阅读(839) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; int fib(int n) { if(n==1 || n==2) { return 1; } else{ return fib(n-1)+fib(n-2); } } int main() { int n; cout<< 阅读全文
posted @ 2021-06-02 19:52 国名老公阿航 阅读(726) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; void prime(int n) { int flag=1; for(int j=2;j<n;j++) { if(n % j == 0){ flag=0; break; } } if(flag) { cout<<n< 阅读全文
posted @ 2021-06-02 19:51 国名老公阿航 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 最近想做一个购物车,看了很多帖子和博客,发现大部分购物车要么无法适应手机端,要么缺乏一些功能,或者做的不够美观(当然我这个也一般般: ) ),于是自己结合网上的代码加以修改完善了一下。 效果图: 电脑端: ipad: 手机端: 关注公众号【人人皆是程序猿】,回复【购物车】获取源码! 因为自己也在学习 阅读全文
posted @ 2021-06-02 19:48 国名老公阿航 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 1. Sunny-Ngrok 开通隧道 首先在官网注册会员 登陆 选择要开通的服务器 这里我们选择美国Ngrok免费服务器 ​ ​ 选择tcp协议,填一个可以使用的端口号。 ​ 开通隧道后可以在 隧道管理 中看到自己的隧道信息: 记住这里的 隧道id,赠送域名 以及 隧道端口,下面会用到。 ​ 2. 阅读全文
posted @ 2021-06-02 19:15 国名老公阿航 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 实验环境: 攻击机:kali linux-2021.1(192.168.56.128) 靶机:Windows10(192.168.1.120) 推荐两个免费在线木马检测网站:VirusScan和VirusTotal 原理图: ​ 1. Meterpreter简介 Meterpreter是Metasp 阅读全文
posted @ 2021-06-02 19:12 国名老公阿航 阅读(2246) 评论(0) 推荐(0) 编辑
摘要: 本章中我们进一步介绍,大家在学习和工作中使用Frida的实际场景,比如动态查看安卓应用程序在当前内存中的状态,比如指哪儿就能hook哪儿,比如脱壳,还有使用Frida来自动化获取参数、返回值等数据,主动调用API获取签名结果sign等工作实际高频场景,最后介绍一些经常遇到的高频问题解决思路,希望可以 阅读全文
posted @ 2021-06-02 19:10 国名老公阿航 阅读(6432) 评论(0) 推荐(0) 编辑