jfo planet

Hope is the best gift that tomorrow gives.

  • 首页
  • 分类
  • 归档
  • 标签
  • 搜索
close

[转]搭建ngrok服务实现内网穿透

发表于 2016-04-18   |   分类于 Network
转: https://xicheng412.github.io/2016/09/27/ngrok-config/ https://imququ.com/post/self-hosted-ngrokd.html 搭建ngrok服务实现内网穿透
阅读全文 »

[转]Fishing for Hackers: Analysis of a Linux Server Attack

发表于 2016-03-30   |   分类于 WebDev
原文:http://drops.wooyun.org/tips/14148   几天前我偶然看到一篇经典的博文,文章介绍了加强一个全新Linux服务安全性的常规做法,其中包括安装fail2ban,禁用SSH密码认证,随机化SSH端口,配置iptables等内容。这让我联想到,假如我与其背道而驰会发生什么?当然,最常见的结果就是使其沦陷成为一个僵尸网络的受害者,僵尸网络就是在不停地扫描大范围的公网IP地址,以期望通过暴力破解(SSH或Wordpress等)的方式找到一些配置不当的服务。但是当你成为这些简单攻击的受害者时,实际上发生了什么?攻击者又做了些什么?本篇文章就使用sysdig捕获分析我们服务器上实际攻击的例子,进而解答以上提出的问题。所以让我们钓起鱼儿来! 0x00 起步 具体的想法就是将一组配置不当且存在漏洞的服务器暴露在互联网上,等到有人入侵后,我们再来分析一下发生了哪些有趣的事情。这就相当于:把诱饵撒到水中,等待鱼儿上钩,然后抓一个上来研究研究。首先我需要一些诱饵,意即一些配置不当的主机。现在来说这些都是so easy的事儿啦。我使用了好几种IaaS供应商( ...
阅读全文 »

HTTP代理原理及实现

发表于 2016-03-15   |   分类于 Network
HTTP代理原理及实现(一) HTTP代理原理及实现(二) Http代理请求头中的Proxy-Connection和Request-URL   参考: https://imququ.com/post/the-proxy-connection-header-in-http-request.html  
阅读全文 »

mink:浏览器模拟

发表于 2016-03-14   |   分类于 python/js/php/html/mysql/http
Travis-CI:自动化安装环境、运行脚本behat+mink:测试网页、模拟加载/操作网页、顺序执行task并判断是否满足预期 参考:developing web applications with behat and mink:http://docs.behat.org/en/v2.5/cookbook/behat_and_mink.html Automating Behat and Mink tests with Travis CIhttp://robbiemackay.com/2013/05/03/automating-behat-and-mink-tests-with-travis-ci/
阅读全文 »

移动端高清、多屏适配方案 - 移动端 H5

发表于 2016-03-04   |   分类于 python/js/php/html/mysql/http
移动端高清、多屏适配方案 - 移动端 H5 - 前端乱炖
阅读全文 »

How can I Configure Memcache on XAMPP in Linux

发表于 2015-11-18   |   分类于 WebDev
How can I Configure Memcache on XAMPP in Linux
阅读全文 »

browserify生成代码

发表于 2015-10-14   |   分类于 js/html/python
browserify test.js test2.js -o bundle.js (function outer (modules, cache, entry) { // Save the require from previous bundle to this closure if any var previousRequire = typeof require == "function" && require; function newRequire(name, jumped){ if(!cache[name]) { if(!modules[name]) { // if we cannot find the the module within our internal map or // cache jump to the current global require ie. the last bundle ...
阅读全文 »

Objective-C Runtime - Self, Super Class, Meta Class

发表于 2015-08-20   |   分类于 iOS
//Test.m @implementation Test #define ClsLog(tag, cls, isaCls) NSLog(@"%30s %s<%p>, isa:%s<%p>", tag, class_getName(cls), cls, object_getClassName(cls), isaCls) - (void)test { Class cls = [self class]; Class isaCls = object_getClass(cls); ClsLog("[self class]", cls, isaCls); cls = [super class]; isaCls = object_getClass(cls); ClsLog("[super class]", cls, isaCls); cls = [self superclass]; isaCls = object_getClass(cls) ...
阅读全文 »

iOS runtime理解

发表于 2015-08-13   |   分类于 iOS
iOS~runtime理解 原文链接:http://www.jianshu.com/p/927c8384855aPDF下载:iOS_runtime理解Runtime是想要做好iOS开发,或者说是真正的深刻的掌握OC这门语言所必需理解的东西。最近在学习Runtime,有自己的一些心得,整理如下,一为 查阅方便二为 或许能给他人一些启发,三为 希望得到大家对这篇整理不足之处的一些指点。什么是Runtime 我们写的代码在程序运行过程中都会被转化成runtime的C代码执行,例如[target doSomething];会被转化成objc_msgSend(target, @selector(doSomething));。 OC中一切都被设计成了对象,我们都知道一个类被初始化成一个实例,这个实例是一个对象。实际上一个类本质上也是一个对象,在runtime中用结构体表示。 相关的定义:/// 描述类中的一个方法typedef struct objc_method Method;/// 实例变量typedef struct objc_ivar Ivar;/// 类别Categor ...
阅读全文 »

SSL握手

发表于 2015-04-06   |   分类于 Network
阅读全文 »
123…61
jfo

jfo

605 日志
38 分类
4 标签
RSS
GitHub 微博
友情链接
  • 收藏夹
  • 网络剪贴板
  • 爱逛吧
© 2007 - 2018 jfo
由 Hexo 强力驱动
主题 - NexT.Pisces