1、安装相关依赖包sudoapt-getbuild-deptinyproxysudoapt-getinstallflexbison2、追加如下补丁---tinyproxy-1.6.3-orig/src/grammar.y2004-08-0613:23:50.000000000-0300+++tinyproxy-1.6.3/src/grammar.y2006-07-1822:52:09.000000000-0300@@-57,6+57,9@@%tokenKW_STATPAGE%to..
分类:
系统相关 时间:
2014-12-18 15:28:55
阅读次数:
398
UVA10277 - Boastin' Red Socks(枚举+二分)
题目链接
题目大意:现在有m只红袜子,n只黑袜子,这样总袜子total = n + m;现在给你p, q,确定n和m,使得从这些袜子中取两只都是红袜子的概率等于p/q;如果没有这样的n和m满足要求输出impossible;
解题思路:m *(m
- 1) / (total *
(total - 1)...
分类:
其他好文 时间:
2014-12-13 10:53:51
阅读次数:
170
Chrome中可以使用switchtunnel插件访问socks 5代理,那么当我开始使用emacs + conkeror浏览网页的时候,我可不希望在切换到chrome访问google.经过一些尝试后,搞定。基本思路是:1. 首先用Firefox的设置UI,允许Fireforx访问本地的socks 5代理Preferences/Advanced/Network/Connection Setting...
分类:
其他好文 时间:
2014-12-07 19:12:37
阅读次数:
277
The socks proxy I created following?Proxy Using SSH Tunnel?works very well on both?Linux?and?Windows. However, when I try to configure my iPhone and iPad with iOS, I find iOS does not support ...
分类:
移动开发 时间:
2014-11-20 20:29:39
阅读次数:
293
在需要使用代理的地方添加如下code: System.getProperties().put("socksProxySet","true"); System.getProperties().put("socksProxyHost","localhost"); System.getProperties...
分类:
编程语言 时间:
2014-11-13 22:02:18
阅读次数:
132
瑞士军刀 nc //man 说的清楚了Common uses include:· simple TCP proxies· shell-script based HTTP clients and servers· network daemon testing· a SOCKS or HTTP Prox...
分类:
Web程序 时间:
2014-11-05 14:35:18
阅读次数:
343
https://github.com/sensepost/reGeorg使用示例:pythonreGeorgSocksProxy.py-p8080-uhttp://upload.sensepost.net:8080/tunnel/tunnel.jspStep1.上传一个脚本(aspx|ashx|jsp|php)到web服务器上。Step2.执行reGeorgSocksProxy.py脚本,连接shell监听端口。**如果你使用nmap等工..
分类:
Web程序 时间:
2014-08-31 10:40:11
阅读次数:
564
一、前言二、搭建环境* Linux laptop 2.6.32-45-generic #100-UbuntuSMP Wed Nov 14 10:41:11 UTC 2012 i686 GNU/Linux* tinyproxy 1.8.1三、安装方法$sudo apt-get install tiny...
分类:
其他好文 时间:
2014-08-27 23:24:28
阅读次数:
364
460A Vasya and Socks
题意:n个物品每天用一个 m天得一个 问 最多连续用几天
思路:
没思路… 就是暴力…
代码:
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;
int main()
{
...
分类:
其他好文 时间:
2014-08-26 17:29:26
阅读次数:
244