刚刚结束的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.
Aug 08, 2022 07:26:03 PM
Love listening to music but using Spotify is not your cup of tea anymore then you are precisely correct about deleting your account, and even precise to land on this article, because 99networks will show you how to delete your Spotify account permanently as well. how to delete spotify account We all know that sometimes some of our preferences and choices in life become an addiction. Sometimes they come with a big price. One such example here is the Spotify which might put you through a continuous music streaming world. Also you have to pay for the account which becomes one big hassle.
Aug 19, 2022 03:15:01 PM
Tripura Board Model Paper 2023 Class 4 Pdf Download with Answers for Bengali Medium, English Medium, Hindi Medium, Urdu Medium & Students for Small Answers, Long Answer, Very Long Answer Questions, and Essay Type Questions to Term1 & Term2 Exams at official website. Tripura Board Model Paper Class 4 New Exam Scheme or Question Pattern for Sammittive Assignment Exams (SA1 & SA2): Very Long Answer (VLA), Long Answer (LA), Small Answer (SA), Very Small Answer (VSA), Single Answer, Multiple Choice and etc.