• We Chall-Encodings: URL -Writeup


    MarkdownPad Document

    We Chall-Encodings: URL -Writeup

    题目链接:http://www.wechall.net/challenge/training/encodings/url/index.php

    题目:

    很明显的url解码即可,python脚本如下:

    import urllib.parse
    
    rawurl = "%59%69%70%70%65%68%21%20%59%6F%75%72%20%55%52%4C%20%69%73%20%63%68%61%6C%6C%65%6E%67%65%2F%74%72%61%69%6E%69%6E%67%2F%65%6E%63%6F%64%69%6E%67%73%2F%75%72%6C%2F%73%61%77%5F%6C%6F%74%69%6F%6E%2E%70%68%70%3F%70%3D%68%72%6D%64%65%69%6C%69%64%6E%69%61%26%63%69%64%3D%35%32%23%70%61%73%73%77%6F%72%64%3D%66%69%62%72%65%5F%6F%70%74%69%63%73%20%56%65%72%79%20%77%65%6C%6C%20%64%6F%6E%65%21"
    
    url = urllib.parse.unquote(rawurl)
    
    print (url)
    

    运行结果如下:

    解码结果为:Yippeh! Your URL is challenge/training/encodings/url/saw_lotion.php?p=hrmdeilidnia&cid=52#password=fibre_optics Very well done!

    刚开始以为flag是fibre_optics,但发现Submit后没反应,后来看了讨论区的提示,在地址栏中加上解码出来的Url,如下图,得解:

    最终的链接为http://www.wechall.net/challenge/training/encodings/url/saw_lotion.php?p=hrmdeilidnia&cid=52#password=fibre_optics
    2017-2-5 14:56;38

  • 相关阅读:
    angular的路由例子
    angular自定义module
    docker配置phpadmin需要注意的地方
    linux下钉钉,微信
    debian shell脚本关联
    debian下安装带界面的qemu
    ros的一些设置
    新闻排重方案设计
    细解动态规划(一)
    漫画谈-微积分(二)
  • 原文地址:https://www.cnblogs.com/WangAoBo/p/6367681.html
Copyright © 2020-2023  润新知