HCTF 2015 Write-ups

404

咦,404了 http://120.26.93.115:12340/3d9d48dc016f0417558ff26d82ec13cc/webI.php 奖励金币:50

阅读更多

9447 CTF 2015 Write-ups

Reverse engineering

flag finder (1pts)

I’ve forgotten my flag. I remember it has the format 9447{<some string>}, but what could it be?

阅读更多

HCTF 2014 Write-ups

丘比龙的最爱

丘比龙的最爱传说,丘比龙是丘比特的弟弟,丘比龙是一只小爱神,虽然有两只翅膀,但因为吃多了,导致身体太胖,所以飞不起来~那么问题来了?!丘比龙吃什么食物吃多了变胖了
没什么好说的,就是甜甜圈

阅读更多

XD CTF 2014 Write-ups

Web

Web20

主要考的是PHP彩蛋,在URL后添加如下参数:

1
2
3
4
?=PHPE9568F36-D428-11d2-A769-00AA001ACF42
?=PHPE9568F34-D428-11d2-A769-00AA001ACF42
?=PHPE9568F35-D428-11d2-A769-00AA001ACF42
?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000

阅读更多

ISG CTF 2014 Write-up (SQLMAP, Up-to-Date)

SQLMAP

题目很简单,就给了一个数据包:

数据包下载:sqlmap

从数据包看,http://10.0.0.201/message.php?id=``?存在注入点,利用sqlmap进行拖库。前段时间刚好分析过sqlmap`拖库过程,还算比较熟悉。

阅读更多

ISG CTF 2014 Write-up (Out of Space, X-Area)

Out of Space

这个程序不能直接运行,我队友试了,直接死机。看了看是用C#写的,直接用.NET Reflector反编译,源码如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
public static void Main()
{
Console.WriteLine("Generating data...");
StreamWriter writer = new StreamWriter("temp.txt");
ulong num = 1L;
do
{
writer.Write("ISG");
num += (ulong) 1L;
}
while (num <= 0xfa00000000L);
writer.Close();
Console.WriteLine("Almost done...");
SHA1CryptoServiceProvider provider = new SHA1CryptoServiceProvider();
FileStream inputStream = new FileStream("temp.txt", FileMode.Open, FileAccess.Read);
byte[] buffer = provider.ComputeHash(inputStream);
inputStream.Close();
File.Delete("temp.txt");
Console.WriteLine("ISG{" + BitConverter.ToString(buffer).ToLower() + "}");
Console.ReadKey();
}

阅读更多

ISG CTF 2014 Write-up (Smile, Chopper, Cryptobaby, GIF)

Smile

点击界面上的链接http://202.120.7.104:8888/?view-source即可看到界面源码,其中php部分如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
if (isset($_GET['view-source'])) {
show_source(__FILE__);
exit();
}
include('flag.php');
$smile = 1;
if (!isset ($_GET['^_^'])) $smile = 0;
if (ereg ('\.', $_GET['^_^'])) $smile = 0;
if (ereg ('%', $_GET['^_^'])) $smile = 0;
if (ereg ('[0-9]', $_GET['^_^'])) $smile = 0;
if (ereg ('http', $_GET['^_^']) ) $smile = 0;
if (ereg ('https', $_GET['^_^']) ) $smile = 0;
if (ereg ('ftp', $_GET['^_^'])) $smile = 0;
if (ereg ('telnet', $_GET['^_^'])) $smile = 0;
if (ereg ('_', $_SERVER['QUERY_STRING'])) $smile = 0;
if ($smile) {
if (@file_exists ($_GET['^_^'])) $smile = 0;
}
if ($smile) {
$smile = @file_get_contents ($_GET['^_^']);
if ($smile === "(●'◡'●)") die($flag);
}
?>

阅读更多

HITCON CTF 2014 Tarmful Write-up

Tarmful

Description
Just decompress them all.
https://raw.githubusercontent.com/hitcon2014ctf/ctf/master/tarmful-3f13b82f7794de783adfd6fa9928ad2c.zip
https://dl.dropbox.com/s/oh8cb6i63x7zggh/tarmful-3f13b82f7794de783adfd6fa9928ad2c.zip

阅读更多

HITCON CTF 2014 DIAGCGI Write-up

DIAGCGI

Description
http://54.92.127.128:16888/

阅读更多

HITCON CTF 2014 PY4H4SHER Write-up

PY4H4SHER

Category: Web Points: 200
Description:
http://203.66.14.43/cgi-bin/py4h4sher

阅读更多