Python/2.7 simple coding(+ c++)

Enigmagroup missions/programming 1

qkqhxla1 2014. 11. 3. 11:15

Your objective is to send a POST header to this script. The POST content must contain your IP Address and your USERNAME. The variable names are ip & username! 

ONE MORE THING... MAKE SURE you send a cookie with the value mission=yes 

What? You haven't posted it yet??? Get Coding!!! 


POST메소드로 내 아이피주소와 USERNAME을 보내라. 변수 이름은 ip와 username으로 해라.


하나더.. 쿠키에 mission=yes를 추가해라. 코딩해라. 코딩시 세션을 유지하기위해 쿠키중에


enigmafiedV4를 추가하는걸 잊지 말자.


import urllib2

urllib2.Request('http://www.enigmagroup.org/missions/programming/1/index.php','ip=내 아이피 주소&username=내 아이디')
req.add_header('cookie','enigmafiedV4=쿠키내용 mission=yes;')
print urllib2.urlopen(req).read()




'Python > 2.7 simple coding(+ c++)' 카테고리의 다른 글

Enigmagroup missions/programming 3  (0) 2014.11.03
Enigmagroup missions/programming 2  (0) 2014.11.03
wargame.kr pw_crack  (2) 2014.10.06
파이썬챌린지.com 5  (0) 2014.08.16
파이썬챌린지.com 4  (0) 2014.08.15