05 2019 档案
摘要:step by step 漏洞连接: https://www.freebuf.com/articles/system/45390.html 检测到漏洞 换一下命令。
阅读全文
摘要:https://www.cnblogs.com/big-devil/p/7625752.html
阅读全文
摘要:step by step 提示与运算符优先级有关 问题在这:比较运算符优先级大于赋值运算优先级,这里fd=0,read函数时,实际是在stdin读入数据,也就是我们输入的内容 然后与第二次输入的password异或相同就给flag (注意:这里输入是字符串,异或时也是字符串中字符的最低位改变,不是输
阅读全文
摘要:step by step leg.c: leg.asm: 和汇编有关。 这是arm汇编。 .c文件中看出,要满足条件: lr放到r3,lr存的是函数返回后要执行的指令地址。在这里也就是
阅读全文
摘要:step by step https://pwnable.kr/play.php 连接上,查看文件 input.c内容: 看出来,要一关一关通过各种输入,然后可以执行system("/bin/cat flag")。 参考博客:https://r00tk1ts.github.io/2018/03/06
阅读全文
摘要:#include using namespace std; typedef long long ull; ull gcd(ull a,ull b){ if(b == 0) return a; return gcd(b,a%b); } int main(){ ull t,n,k,cnt = 0,temp,a,b,c; cin >> t; ...
阅读全文
摘要:#include typedef unsigned long long ull; using namespace std; ull kmod(ull x,ull n,ull mod){ ull res = 1; if(x == 1 || n == 0) return 1; while(n > 0){ if(n & 1) res = (r...
阅读全文