IDF CTF练习题——聪明的小羊 题解

题目: 一只小羊跳过了栅栏,两只小样跳过了栅栏,一坨小羊跳过了栅栏… tn c0afsiwal kes,hwit1r  g,npt  ttessfu}ua u  hmqik e {m,  n huiouosarwCniibecesnren. 看了题目描述,应该是栅栏加密,直接上代码: result = {0:”,1:”,2:”,3:”,4:”,5:”,6:”,7:”,8:”,9:”,10:”,11:”,12:”,13:”,14:”,15:”,16:”,17:”}; b = 17; s = “tn c0afsiwal kes,hwit1r g,npt ttessfu}ua u hmqik e {m, n huiouosarwCniibecesnren.” for i in range(len(s)): a = i%b; result.update({a:result[a]+s[i]}); for i in range(b): print result[i]; 最后输出结果: the a nwser is w ctf{C 01umn […]

提权小技巧整理

一、 通常aspx的webshell的运行权限比asp的高 二、 把你的添加用户、开远程的程序更改成program.exe然后放到C盘根目录下会有意想不到的结果,前提是你得有能上传或者远程下载以及C盘有权限

【转】Windows本地方式安装OpenShift客户端工具rhc

在Windows环境下搭建OpenShift环境,安装客户端工具rhc,首先需要安装Ruby和Git,参阅https://developers.openshift.com/en/getting-started-client-tools.html#windows。 在正确安装Ruby和Git之后,使用RubyGems包管理器(Ruby内置)安装OpenShift的客户端工具rhc。 官方提供的方式为:gem install rhc,但可能是网络原因所致,执行命令后提示错误信息: ERROR:  Could not find a valid gem ‘rhc’ (>= 0), here is why: Unable to download data from https://rubygems.org/ – Errno::ECONNREFUS ED: No connection could be made because the target machine actively refused it. – connect(2) (https://rubygems.org/latest_specs.4.8.gz) 参阅StackOverFlow的一个解答:http://stackoverflow.com/questions/19745960/unable-to-install-any-gem-by-ruby-in-windows “This is most likely due to running over a secure (https) connection […]