2017-11-12 findneo
from HITCON CTF 2017 2017/11/04 02:00 UTC ~ 2017/11/06 02:00 UTC https://ctf2017.hitcon.org/ BabyFirst Revenge Do you remember BabyFirst from HITCON CTF 2015? This is the harder version! http://52.199.204.34/ 源码 php $sandbox = '/www/sandbox/' . md5("orange" . $_SERVER['REMOTE_ADDR']); @mkdir($sandbox); @ 继续阅读 »
2015-07-13 Eric Wang
Version:Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32 函数 可接受任意数量参数的函数 为了能让一个函数接受任意数量的位置参数,可以使用一个*参数 ```python def avg(first, *rest): return (first + sum(rest)) / (1 + len(rest)) Sample use avg(1, 2) # 1.5 avg(1, 2, 3, 4) # 2.5 `` 在这个例子中,rest`是由所有其他位置参数组成的元组。然后我们 继续阅读 »
2015-07-06 Eric Wang
Version:Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32 文件与I/O 读写文本数据 使用带有rt模式的open()函数读取文本文件 ```python with open('test.csv', mode='rt', encoding='utf-8') as f: data = f.read() print(data) with open('test.csv', mode='rt', encoding='utf-8') as f: for line in 继续阅读 »
2015-07-02 Eric Wang
Version:Python 3.4.3 (v3.4.3:9b73f1c3e601, Feb 24 2015, 22:44:40) [MSC v.1600 64 bit (AMD64)] on win32 There are two ways of constructing a software design: one way is to make it so simple that there are obviously no deficiences; the other is to make it so complicated that there are no obvious deficiences. ---- C.A.R. 继续阅读 »
2014-07-29 Kun Ren
(This article is adapted to the latest version of rvest package.) In my previous post, I demonstrated how we can scrape online data using existing packages. 继续阅读 »
2014-08-04 Kun Ren
pipeR 0.4 is released! Check it out at the project page. In this new version, two things happen. First, %>>% handles everything. Second, the introduction of Pipe object. 继续阅读 »
2014-08-16 Kun Ren
In pipeR 0.4 version, one of the new features is Pipe() function. The function basically creates a Pipe object that allows command chaining with $, and thus makes it easier to perform operations in pipeline without any external operator. 继续阅读 »
2015-05-07 Eric Wang
LTP
JDK:java version "1.8.0_31" Java(TM) SE Runtime Environment (build 1.8.0_31-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) OS:win7 64bit cmake:V2.8.12/V3.2.2 LTP:V3.2.0 LTP4J:V1.0 Microsoft VS C++:V2010 编译LTP4J.jar 下载Ant ltp4j的源码使用ant进行编译,首先需要下载ant,点我下载 配置Ant环境变量 我的电脑-->属性-->高级系统设置-->环境变量 新建A 继续阅读 »
2015-04-06 Eric Wang
环境&版本 OS:win7 X64 Hexo:V3.0.0 Node.js:V0.12.2 Git:Version 1.9.5.msysgit.1 关于为什么要开博客?请参见《为什么你要写博客?》《我的博客时代》 下面就让我们一起开启使用Hexo的全新旅程吧! 安装Node.js 下载Node.js 参考地址:安装Node.js 安装Git 下载地址:http://git-scm.com/download/ 注册GitHub 访问:http://www.github.com/ 注册过程参见:一步步在GitHub上创建博客主页 全系列 配置和使用Github 参见:如何搭建一个独立博客——简明Github Page 继续阅读 »
2016-03-21 Eric Wang
机器环境 Windows:Win7 64 bit Java:java version "1.8.0_45";Java HotSpot(TM) 64-Bit Server VM Solr:5.5 Lucene:5.5 Tomcat:8.0.32 Lucene和Solr下载地址:http://lucene.apache.org/ Windows选择下载zip压缩包,Linux选择下载tgz压缩包 Tomcat下载地址:http://tomcat.apache.org/ ,选择Binary Distributions下的Core中的64-bit Windows zip (pgp, md5, sha1)下载之后文件名称是:apache- 继续阅读 »