Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
ndhquals2015:updator [2015/04/06 15:58] maggick |
ndhquals2015:updator [2017/04/09 15:33] (Version actuelle) |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
====== Updator ====== | ====== Updator ====== | ||
Exploit 200 points http://quals.nuitduhack.com/challenges/view/9 | Exploit 200 points http://quals.nuitduhack.com/challenges/view/9 | ||
+ | |||
[[http://updator.challs.nuitduhack.com/]] | [[http://updator.challs.nuitduhack.com/]] | ||
Ligne 29: | Ligne 30: | ||
On décompile le fichier avec [[https://github.com/wibiti/uncompyle2]] : | On décompile le fichier avec [[https://github.com/wibiti/uncompyle2]] : | ||
+ | <code python> | ||
import config | import config | ||
import sys | import sys | ||
Ligne 85: | Ligne 87: | ||
print 'Content-Type: text/html' | print 'Content-Type: text/html' | ||
print '\n<!DOCTYPE html>\n<html>\n <head>\n <meta charset="UTF-8">\n <title>Updator - Update system</title>\n <link rel="stylesheet" href="static/font-awesome/css/font-awesome.css">\n <link rel="stylesheet" href="static/css/style.css">\n </head>\n <body>\n <div id="info">\n The update managing system is still under construction but will be available soon.\n </div>\n </body>\n</html>\n' | print '\n<!DOCTYPE html>\n<html>\n <head>\n <meta charset="UTF-8">\n <title>Updator - Update system</title>\n <link rel="stylesheet" href="static/font-awesome/css/font-awesome.css">\n <link rel="stylesheet" href="static/css/style.css">\n </head>\n <body>\n <div id="info">\n The update managing system is still under construction but will be available soon.\n </div>\n </body>\n</html>\n' | ||
+ | </code> | ||
===== the private key ===== | ===== the private key ===== |