我造了一套Firekylin的主题,欢迎大家下载试用(Watch&Star!)
https://github.com/init-new-world/Theme_initialize
为啥要造主题呢?因为我有了新的blog,为了让自己的blog不再千篇一律,所以就造了个主题。
至于以后的文章,会同时在这两个blog中更新,除非特殊声明
新博客还没有完全搭好,所以就不放网址了
我造了一套Firekylin的主题,欢迎大家下载试用(Watch&Star!)
https://github.com/init-new-world/Theme_initialize
为啥要造主题呢?因为我有了新的blog,为了让自己的blog不再千篇一律,所以就造了个主题。
至于以后的文章,会同时在这两个blog中更新,除非特殊声明
新博客还没有完全搭好,所以就不放网址了
刚刚结束的TCTF上,由于Web题的惨剧导致我们学校和其他几个战队组建的联合战队被ROIS爆了。。。
虽然我只是一个旁观者,我们Pwn上的优势没有挽救我们Web上面的颓势
立个flag:我来
前面的Pikachu基本做完了(除了SQL等部分),这些部分由WeChall上面的练习来弥补。
前一阵子搞MISC比较多,但是现在碰到一些奇怪的隐写or乱搞一样不会
最近翻blog发现了r3kapig里面flappypig战队的大佬,决定跟着这个轨迹来搞一遍Web相关(可能不仅仅是Web?)
Let's start!(题目不一定按顺序排列,可以用Ctrl+F搜索)
------------------------------------
Training:Get Sourced
看源代码得到答案
------------------------------------
Training:Stegano I
改成txt文件看下
------------------------------------
------------------------------------
------------------------------------
写个Python脚本
a = "84, 104, 101, 32, 115, 111, 108, 117, 116, 105, 111, 110, 32, 105, 115, 58, 32, 112, 103, 109, 111, 112, 114, 97, 115, 110, 102, 102, 98"; for i in a.split(', '): print("{0}".format(chr(int(i))),end='')
------------------------------------
------------------------------------
import math a = 1000000 count = 0 while True: flag = 1 for i in range(2,int(math.sqrt(a))+1): if (a%i == 0): flag = 0 break Sum = 0 if(flag == 1): b = str(a) for i in b: Sum += int(i) for i in range(2,int(math.sqrt(Sum))+1): if (Sum%i == 0): flag = 0 break if(flag == 1): count = count + 1 print("{0}".format(a),end = '') a = a + 1 if(count == 2): break
------------------------------------
------------------------------------
import urllib.request from io import BytesIO import gzip headers = { 'Host':'www.wechall.net', 'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0', 'Accept':'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'Accept-Language':'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2', 'Accept-Encoding':'gzip, deflate', 'Referer':'http://www.wechall.net/challenge/training/programming1/index.php', 'Cookie':'WC=123', 'DNT':'1', 'Connection': 'close', 'Upgrade-Insecure-Requests': '1' } url1 = r'http://www.wechall.net/challenge/training/programming1/index.php?action=request' url2 = r'http://www.wechall.net/challenge/training/programming1/index.php?answer=' req = urllib.request.Request(url=url1,headers=headers,method='POST') data = urllib.request.urlopen(req) str1 = data.read().decode('utf-8') str2 = url2+str1 print(str2) req1 = urllib.request.Request(url=str2,headers=headers,method='POST') data = urllib.request.urlopen(req1) buff = BytesIO(data.read()) f = gzip.GzipFile(fileobj=buff) print(f.read().decode('utf-8'))
------------------------------------
------------------------------------
+----+-----------------+-----------------+-------+---------+-------+------------------------+------------------+ | Id | User | Host | db | Command | Time | State | Info | +----+-----------------+-----------------+-------+---------+-------+------------------------+------------------+ | 4 | event_scheduler | localhost | NULL | Daemon | 20408 | Waiting on empty queue | NULL | | 9 | root | localhost:13940 | mysql | Query | 0 | starting | show processlist | +----+-----------------+-----------------+-------+---------+-------+------------------------+------------------+
Just for fun.
Host by is-Programmer.com | Power by Chito 1.3.3 beta | Theme: Aeros 2.0 by TheBuckmaker.com